Examples of canDoOperation()


Examples of org.eclipse.jface.text.source.projection.ProjectionViewer.canDoOperation()

        if (isFoldingEnabled() && (fProjectionSupport == null)) {
          installProjectionSupport();
        }
        ProjectionViewer pv = (ProjectionViewer) getSourceViewer();
        if (pv.isProjectionMode() != isFoldingEnabled()) {
          if (pv.canDoOperation(ProjectionViewer.TOGGLE)) {
            pv.doOperation(ProjectionViewer.TOGGLE);
          }
        }
      }
    }
View Full Code Here

Examples of org.eclipse.jface.text.source.projection.ProjectionViewer.canDoOperation()

        if (isFoldingEnabled() && (fProjectionSupport == null)) {
          installProjectionSupport();
        }
        ProjectionViewer pv = (ProjectionViewer) getSourceViewer();
        if (pv.isProjectionMode() != isFoldingEnabled()) {
          if (pv.canDoOperation(ProjectionViewer.TOGGLE)) {
            pv.doOperation(ProjectionViewer.TOGGLE);
          }
        }
      }
    }
View Full Code Here

Examples of org.eclipse.jface.text.source.projection.ProjectionViewer.canDoOperation()

    if (getPreferenceStore().getBoolean(
        PreferenceConstants.EDITOR_FOLDING_ENABLED)) {
      ProjectionViewer viewer = (ProjectionViewer) getSourceViewer();
      if (!viewer.isProjectionMode()) {
        if (viewer.canDoOperation(ProjectionViewer.TOGGLE)) {
          viewer.doOperation(ProjectionViewer.TOGGLE);
        }
      }
    }
    installSematicHighlighting();
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.