Package org.eclipse.ui.texteditor

Examples of org.eclipse.ui.texteditor.FindReplaceAction


        ResourceBundle bundle = BytecodeOutlinePlugin.getDefault()
            .getResourceBundle();

        setGlobalAction(
            actionBars, ActionFactory.FIND.getId(), new FindReplaceAction(
                bundle, NLS_PREFIX + "find_replace.", this)); //$NON-NLS-1$

        selectionActions.add(ActionFactory.COPY.getId());
        selectionActions.add(ActionFactory.FIND.getId());
View Full Code Here


        // setGlobalAction(actionBars, ActionFactory.COPY.getId(), action);

        // fClearOutputAction = new ClearOutputAction(fConsole);

        final ResourceBundle bundle = ConsoleResourceBundleMessages.getBundle();
        final FindReplaceAction fraction = new FindReplaceAction(bundle,
                "find_replace_action_", fConsoleView); //$NON-NLS-1$
        PlatformUI.getWorkbench().getHelpSystem()
                .setHelp(fraction, IConsoleHelpContextIds.CONSOLE_FIND_REPLACE_ACTION);
        setGlobalAction(actionBars, ActionFactory.FIND.getId(), fraction);
View Full Code Here

    {
        IActionBars actionBars = ((IViewSite) getSite()).getActionBars();
        ResourceBundle bundle = PerlDocViewMessages.getBundle();

        findReplaceAction =
            new FindReplaceAction(bundle, "find_replace_action_", this);
        actionBars.setGlobalActionHandler(
            ActionFactory.FIND.getId(),
            findReplaceAction);

        actionBars.updateActionBars();
View Full Code Here

    actSelectAll.configureAction(ConsoleMessages.TextConsolePage_SelectAllText, ConsoleMessages.TextConsolePage_SelectAllDescrip, ConsoleMessages.TextConsolePage_SelectAllDescrip);
    actSelectAll.setEnabled(true);
   
    // Find/Replace
    ResourceBundle bundle = ConsoleResourceBundleMessages.getBundle();
    actFind = new FindReplaceAction(bundle, "find_replace_action_", sharedView); //$NON-NLS-1$
    actFind.setAccelerator(SWT.CTRL | 'F');
    actFind.setEnabled(true)
  }
View Full Code Here

    actSelectAll.configureAction(ConsoleMessages.TextConsolePage_SelectAllText, ConsoleMessages.TextConsolePage_SelectAllDescrip, ConsoleMessages.TextConsolePage_SelectAllDescrip);
    actSelectAll.setEnabled(true);
   
    // Find/Replace
    ResourceBundle bundle = ConsoleResourceBundleMessages.getBundle();
    actFind = new FindReplaceAction(bundle, "find_replace_action_", sharedView); //$NON-NLS-1$
    actFind.setAccelerator(SWT.CTRL | 'F');
    actFind.setEnabled(true)
  }
View Full Code Here

    setGlobalAction(actionBars, ActionFactory.PASTE.getId(), action);
   
    fClearOutputAction = new ClearOutputAction(fConsole);
       
        ResourceBundle bundle = ConsoleResourceBundleMessages.getBundle();
        FindReplaceAction fraction = new FindReplaceAction(bundle, "find_replace_action_", fConsoleView); //$NON-NLS-1$
        PlatformUI.getWorkbench().getHelpSystem().setHelp(fraction, IConsoleHelpContextIds.CONSOLE_FIND_REPLACE_ACTION);
    setGlobalAction(actionBars, ActionFactory.FIND.getId(), fraction);

    fSelectionActions.add(ActionFactory.CUT.getId());
    fSelectionActions.add(ActionFactory.COPY.getId());
View Full Code Here

      if (next instanceof MergeViewerAction) {
        MergeViewerAction action = (MergeViewerAction) next;
        action.update();
      }
      if (next instanceof FindReplaceAction) {
        FindReplaceAction action = (FindReplaceAction) next;
        action.update();
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.texteditor.FindReplaceAction

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.