Package org.eclipse.ui.internal.texteditor

Examples of org.eclipse.ui.internal.texteditor.ICompoundEditListener


    fEditor= editor;
    fUpwards= upwards;
    fCopy= copy;
    String[] commandIds= copy ? new String[] {ITextEditorActionDefinitionIds.COPY_LINES_UP, ITextEditorActionDefinitionIds.COPY_LINES_DOWN } : new String[] {ITextEditorActionDefinitionIds.MOVE_LINES_UP, ITextEditorActionDefinitionIds.MOVE_LINES_DOWN };
    fStrategy= new CompoundEditExitStrategy(commandIds);
    fStrategy.addCompoundListener(new ICompoundEditListener() {
      public void endCompoundEdit() {
        MoveLinesAction.this.endCompoundEdit();
      }
    });
    update();
View Full Code Here


   *        <code>null</code> if none
   * @param editor the text editor
   */
  HippieCompleteAction(ResourceBundle bundle, String prefix, ITextEditor editor) {
    super(bundle, prefix, editor);
    fExitStrategy.addCompoundListener(new ICompoundEditListener() {
      public void endCompoundEdit() {
        clearState();
      }
    });
  }
View Full Code Here

    fTextViewer= textViewer;
    fUpwards= upwards;
    fCopy= copy;
    String[] commandIds= copy ? new String[] {ITextEditorActionDefinitionIds.COPY_LINES_UP, ITextEditorActionDefinitionIds.COPY_LINES_DOWN } : new String[] {ITextEditorActionDefinitionIds.MOVE_LINES_UP, ITextEditorActionDefinitionIds.MOVE_LINES_DOWN };
    fStrategy= new CompoundEditExitStrategy(commandIds);
    fStrategy.addCompoundListener(new ICompoundEditListener() {
      public void endCompoundEdit() {
        MoveLinesAction.this.endCompoundEdit();
      }
    });
    update();
View Full Code Here

   *        <code>null</code> if none
   * @param editor the text editor
   */
  HippieCompleteAction(ResourceBundle bundle, String prefix, ITextEditor editor) {
    super(bundle, prefix, editor);
    fExitStrategy.addCompoundListener(new ICompoundEditListener() {
      public void endCompoundEdit() {
        clearState();
      }
    });
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.texteditor.ICompoundEditListener

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.