Package org.eclipse.jface.text.source

Examples of org.eclipse.jface.text.source.AnnotationRulerColumn.addAnnotationType()


        String key= preference.getVerticalRulerPreferenceKey();
        boolean showAnnotation= true;
        if (key != null && store.contains(key))
          showAnnotation= store.getBoolean(key);
        if (showAnnotation)
          column.addAnnotationType(preference.getAnnotationType());
      }
      column.addAnnotationType(Annotation.TYPE_UNKNOWN);
     
      // link to preference store
      fPropertyListener= new IPropertyChangeListener() {
View Full Code Here


        if (key != null && store.contains(key))
          showAnnotation= store.getBoolean(key);
        if (showAnnotation)
          column.addAnnotationType(preference.getAnnotationType());
      }
      column.addAnnotationType(Annotation.TYPE_UNKNOWN);
     
      // link to preference store
      fPropertyListener= new IPropertyChangeListener() {
        public void propertyChange(PropertyChangeEvent event) {
          String property= event.getProperty();
View Full Code Here

          String property= event.getProperty();
          AnnotationPreference annotationPreference= getVerticalRulerAnnotationPreference(property);
          if (annotationPreference != null && event.getNewValue() instanceof Boolean) {
            Object type= annotationPreference.getAnnotationType();
            if (((Boolean)event.getNewValue()).booleanValue())
              column.addAnnotationType(type);
            else
              column.removeAnnotationType(type);
            column.redraw();
          }
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.