Package org.eclipse.ui.internal.texteditor.rulers

Examples of org.eclipse.ui.internal.texteditor.rulers.RulerColumnTarget.matchesEditorId()


  public boolean matchesEditor(ITextEditor editor) {
    Assert.isLegal(editor != null);
    RulerColumnTarget target= getTarget();

    IWorkbenchPartSite site= editor.getSite();
    if (site != null && target.matchesEditorId(site.getId()))
      return true;
   
    if (target.matchesClass(editor.getClass()))
      return true;
View Full Code Here


  public boolean matchesEditor(ITextEditor editor) {
    Assert.isLegal(editor != null);
    RulerColumnTarget target= getTarget();

    IWorkbenchPartSite site= editor.getSite();
    if (site != null && target.matchesEditorId(site.getId()))
      return true;

    if (target.matchesClass(editor.getClass()))
      return true;
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.