Package org.eclipse.swt.custom

Examples of org.eclipse.swt.custom.LineBackgroundListener


  private void initListeners() {
    PlatformUI.getWorkbench().getThemeManager()
        .addPropertyChangeListener(this.themeListener);
    EditorsUI.getPreferenceStore().addPropertyChangeListener(
        this.editorPrefListener);
    getTextWidget().addLineBackgroundListener(new LineBackgroundListener() {

      public void lineGetBackground(LineBackgroundEvent event) {
        StyledText text = getTextWidget();
        if (event.lineOffset < text.getCharCount()) {
          StyleRange style = text
View Full Code Here

TOP

Related Classes of org.eclipse.swt.custom.LineBackgroundListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.