Class Rename

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com.iizigo.handler.CommonHandler
com.iizigo.handler.Rename
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

public class Rename extends CommonHandler
The Rename property handler.
Author:
Christopher Mindus
  • Field Details

  • Constructor Details

    • Rename

      public Rename()
      Constructor.
  • Method Details

    • getInstance

      public static Rename getInstance()
      Gets the instance of the handler.
    • create

      public static org.eclipse.ui.menus.CommandContributionItem create(org.eclipse.ui.services.IServiceLocator serviceLocator, ImageRegistry ir)
      Creates the Command Contribution item.
    • setEnabled

      protected void setEnabled(SelectionEnabler se)
      Sets the enabled state for the selection.
      Specified by:
      setEnabled in class CommonHandler
    • doExecute

      protected void doExecute()
      Performs the operation.
      Specified by:
      doExecute in class CommonHandler
    • run

      public static void run(org.eclipse.jface.viewers.ISelection selection, IPropUndoRedo undoRedo)
      Runs the handler.