Examples of RulerColumnRegistry


Examples of org.eclipse.ui.texteditor.rulers.RulerColumnRegistry

   
    RulerColumnPreferenceAdapter adapter= null;
    if (fPreferenceStore != null)
      adapter= new RulerColumnPreferenceAdapter(getPreferenceStore(), PREFERENCE_RULER_CONTRIBUTIONS);
   
    RulerColumnRegistry registry= RulerColumnRegistry.getDefault();
    List descriptors= registry.getColumnDescriptors();
    for (Iterator it= descriptors.iterator(); it.hasNext();) {
      final RulerColumnDescriptor descriptor= (RulerColumnDescriptor) it.next();
      support.setColumnVisible(descriptor, adapter == null || adapter.isEnabled(descriptor));
    }
  }
View Full Code Here

Examples of org.eclipse.ui.texteditor.rulers.RulerColumnRegistry

    RulerColumnPreferenceAdapter adapter= null;
    if (fPreferenceStore != null)
      adapter= new RulerColumnPreferenceAdapter(getPreferenceStore(), PREFERENCE_RULER_CONTRIBUTIONS);

    RulerColumnRegistry registry= RulerColumnRegistry.getDefault();
    List descriptors= registry.getColumnDescriptors();
    for (Iterator it= descriptors.iterator(); it.hasNext();) {
      final RulerColumnDescriptor descriptor= (RulerColumnDescriptor) it.next();
      support.setColumnVisible(descriptor, adapter == null || adapter.isEnabled(descriptor));
    }
  }
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.