Package com.iizigo.handler
Class PasteBefore
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com.iizigo.handler.CommonHandler
com.iizigo.handler.PasteBefore
The Paste Before property handler.
- Author:
- Christopher Mindus
- Field SummaryFields- Fields inherited from class com.iizigo.handler.CommonHandler- selectionEnabler
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- static CommandContributionItem- create- (IServiceLocator serviceLocator, ImageRegistry ir) Creates the Command Contribution item.- protected voidPerforms the operation.- static PasteBeforeGets the instance of the handler.- static void- run- (ISelection selection, IPropUndoRedo undoRedo) Runs the handler.- protected voidSets the enabled state for the selection.- Methods inherited from class com.iizigo.handler.CommonHandler- execute, getCurrentSelection, getShell, getUndoContext, getUndoRedo, getUpdateStatesRunnable, isHandled, setEnabled- Methods inherited from class org.eclipse.core.commands.AbstractHandler- addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, removeHandlerListener, setBaseEnabled- Methods inherited from class org.eclipse.core.commands.common.EventManager- addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject- Methods inherited from class java.lang.Object- clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait- Methods inherited from interface org.eclipse.core.commands.IHandler- getHandlerLabel
- Field Details- IDThe ID, same as class name.
 
- Constructor Details- PasteBeforepublic PasteBefore()Constructor.
 
- Method Details- getInstanceGets the instance of the handler.
- createCreates the Command Contribution item.
- setEnabledSets the enabled state for the selection.- Specified by:
- setEnabledin class- CommonHandler
 
- doExecuteprotected void doExecute()Performs the operation.- Specified by:
- doExecutein class- CommonHandler
 
- runRuns the handler.