org.eclipse.swt.custom.LineBackgroundListener Java Examples

The following examples show how to use org.eclipse.swt.custom.LineBackgroundListener. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BidiLayout.java    From nebula with Eclipse Public License 2.0 4 votes vote down vote up
public void addLineBackgroundListener(LineBackgroundListener listener) {
	styledText.addLineBackgroundListener(listener);
}
 
Example #2
Source File: BidiLayout.java    From nebula with Eclipse Public License 2.0 4 votes vote down vote up
public void removeLineBackgroundListener(LineBackgroundListener listener) {
	styledText.removeLineBackgroundListener(listener);
}
 
Example #3
Source File: EmacsPlusConsole.java    From e4macs with Eclipse Public License 1.0 4 votes vote down vote up
public void addBackground(LineBackgroundListener listener) {
	if (getWidget() != null && !myWidget.isDisposed()) {
		myWidget.addLineBackgroundListener(listener);
		background = listener;
	}
}
 
Example #4
Source File: EmacsPlusConsole.java    From e4macs with Eclipse Public License 1.0 4 votes vote down vote up
public void removeBackground(LineBackgroundListener listener) {
	if (getWidget() != null && !myWidget.isDisposed()) {
		myWidget.removeLineBackgroundListener(listener);
	}
}