Examples of RenameResourceAction


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

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

      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

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

    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

Examples of org.eclipse.ui.actions.RenameResourceAction

        mDeleteAction = new DeleteResourceAction(shell);

        mRetargetDeleteAction = ActionFactory.DELETE.create(window);

        // rename action
        mRenameAction = new RenameResourceAction(shell);

        mRetargetRenameAction = ActionFactory.RENAME.create(window);
    }
View Full Code Here

Examples of org.eclipse.ui.actions.RenameResourceAction

        mDeleteAction = new DeleteResourceAction(shell);

        mRetargetDeleteAction = ActionFactory.DELETE.create(window);

        // rename action
        mRenameAction = new RenameResourceAction(shell);

        mRetargetRenameAction = ActionFactory.RENAME.create(window);
    }
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.