Package org.pdtextensions.core.ui.refactoring

Examples of org.pdtextensions.core.ui.refactoring.RenameSupport.preCheck()


    if (!ActionUtil.isProcessable(getShell(), element)) return;
    //XXX workaround bug 31998
    if (ActionUtil.mustDisableScriptModelAction(getShell(), element)) return;

    final RenameSupport support = createRenameSupport(element, null, RenameSupport.UPDATE_REFERENCES);
    if (support != null && support.preCheck().isOK()) {
      support.openDialog(getShell());
    }
  }

  private static boolean isRenameAvailable(IModelElement element) throws CoreException {
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.