Class PasteLink

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

public class PasteLink extends CommonHandler
The Paste-Link property handler.
Author:
Christopher Mindus
  • Field Details

    • ID

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

    • PasteLink

      public PasteLink()
      Constructor.
  • Method Details

    • getInstance

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