Package org.eclipse.dltk.internal.ui.refactoring.actions

Examples of org.eclipse.dltk.internal.ui.refactoring.actions.RenameResourceAction


    super(site);

    setText(RefactoringMessages.RenameAction_text);
    renamePHPElementAction = new RenamePHPElementAction(site);
    renamePHPElementAction.setText(getText());
    renameResourceAction = new RenameResourceAction(site);
    renameResourceAction.setText(getText());
  }
View Full Code Here


      init();
      if (fRenamePHPElement == null) {
        IWorkbenchPage page = window.getActivePage();
        if (page != null) {
          if (page.getActivePart() != null)
            resourceAction = new RenameResourceAction(page
                .getActivePart().getSite());
        }
      } else {
        if (fRenamePHPElement instanceof IWorkbenchWindowActionDelegate) {
          ((IWorkbenchWindowActionDelegate) fRenamePHPElement)
View Full Code Here

    if (fRenamePHPElement == null) {
      init();
    }
    if (targetEditor != null && resourceAction == null
        && fRenamePHPElement == null) {
      resourceAction = new RenameResourceAction(targetEditor.getSite());
    }

    if (fRenamePHPElement instanceof IEditorActionDelegate) {
      ((IEditorActionDelegate) fRenamePHPElement).setActiveEditor(action,
          targetEditor);
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.internal.ui.refactoring.actions.RenameResourceAction

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.