Examples of doOperation()


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

      }
    });
    fProjectionSupport.install();

    if (isFoldingEnabled())
      projectionViewer.doOperation(ProjectionViewer.TOGGLE);
  }

  /**
   * Return whether document folding should be enabled according to the
   * preference store settings.
View Full Code Here

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

          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.doOperation()

      }
    });
    fProjectionSupport.install();

    if (isFoldingEnabled())
      projectionViewer.doOperation(ProjectionViewer.TOGGLE);
  }

  /**
   * Return whether document folding should be enabled according to the
   * preference store settings.
View Full Code Here

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

        control.setContent( editorComposite );

        ProjectionViewer projectionViewer = ( ProjectionViewer ) getSourceViewer();
        projectionSupport = new ProjectionSupport( projectionViewer, getAnnotationAccess(), getSharedColors() );
        projectionSupport.install();
        projectionViewer.doOperation( ProjectionViewer.TOGGLE );

    }


    /**
 
View Full Code Here

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

        control.setContent( editorComposite );

        ProjectionViewer projectionViewer = ( ProjectionViewer ) getSourceViewer();
        projectionSupport = new ProjectionSupport( projectionViewer, getAnnotationAccess(), getSharedColors() );
        projectionSupport.install();
        projectionViewer.doOperation( ProjectionViewer.TOGGLE );
    }


    /**
     * @see org.eclipse.ui.texteditor.AbstractDecoratedTextEditor#createSourceViewer(org.eclipse.swt.widgets.Composite, org.eclipse.jface.text.source.IVerticalRuler, int)
View Full Code Here

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

        control.setContent( editorComposite );

        ProjectionViewer projectionViewer = ( ProjectionViewer ) getSourceViewer();
        projectionSupport = new ProjectionSupport( projectionViewer, getAnnotationAccess(), getSharedColors() );
        projectionSupport.install();
        projectionViewer.doOperation( ProjectionViewer.TOGGLE );
    }


    /**
     * @see org.eclipse.ui.texteditor.AbstractDecoratedTextEditor#createSourceViewer(org.eclipse.swt.widgets.Composite, org.eclipse.jface.text.source.IVerticalRuler, int)
View Full Code Here

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

      //turn projection mode on
    ProjectionViewer viewer =(ProjectionViewer)getSourceViewer();
      projectionSupport = new ProjectionSupport(viewer,getAnnotationAccess(),getSharedColors());
      projectionSupport.install();
      viewer.doOperation(ProjectionViewer.TOGGLE);
  }
 
  @Override
  protected ISourceViewer createSourceViewer(Composite parent,
      IVerticalRuler ruler, int styles) {
View Full Code Here

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

        control.setContent( editorComposite );

        ProjectionViewer projectionViewer = ( ProjectionViewer ) getSourceViewer();
        projectionSupport = new ProjectionSupport( projectionViewer, getAnnotationAccess(), getSharedColors() );
        projectionSupport.install();
        projectionViewer.doOperation( ProjectionViewer.TOGGLE );

    }


    /**
 
View Full Code Here

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

    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

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

    super.createPartControl(parent);

    ProjectionViewer projectionViewer = (ProjectionViewer)getSourceViewer();
    fProjectionSupport = new ProjectionSupport(projectionViewer, getAnnotationAccess(), getSharedColors());
    fProjectionSupport.install();
    projectionViewer.doOperation(ProjectionViewer.TOGGLE);
  }

  /**
   * @see org.eclipse.ui.texteditor.AbstractDecoratedTextEditor#doSetInput(org.eclipse.ui.IEditorInput)
   */
 
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.