Class PasteAfter

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

public class PasteAfter extends CommonHandler
The Paste After property handler.
Author:
Christopher Mindus
  • Field Details

    • ID

      public static final String ID
      The ID, same as class name.
  • Constructor Details

    • PasteAfter

      public PasteAfter()
      Constructor.
  • Method Details

    • getInstance

      public static PasteAfter 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.