Package org.eclipse.jface.text

Examples of org.eclipse.jface.text.ITextOperationTarget


      ((OverrideIndicatorManager.OverrideIndicator) fAnnotation).open();
      return;
    }

    if (fHasCorrection) {
      ITextOperationTarget operation = (ITextOperationTarget) fTextEditor
          .getAdapter(ITextOperationTarget.class);
      final int opCode = ISourceViewer.QUICK_ASSIST;
      if (operation != null && operation.canDoOperation(opCode)) {
        fTextEditor.selectAndReveal(fPosition.getOffset(),
            fPosition.getLength());
        operation.doOperation(opCode);
      }
      return;
    }

    super.run();
View Full Code Here

TOP

Related Classes of org.eclipse.jface.text.ITextOperationTarget

Copyright © 2018 www.massapicom. 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.