Class PasteBefore

  • All Implemented Interfaces:
    org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

    public class PasteBefore
    extends CommonHandler
    The Paste Before property handler.
    Author:
    Christopher Mindus
    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringID
      The ID, same as class name.
    • Constructor Summary

      Constructors 
      ConstructorDescription
      PasteBefore()
      Constructor.
    • Field Detail

      • ID

        public static final java.lang.String ID
        The ID, same as class name.
    • Constructor Detail

      • PasteBefore

        public PasteBefore()
        Constructor.
    • Method Detail

      • getInstance

        public static PasteBefore 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.
      • run

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