public class PasteLink extends CommonHandler
Modifier and Type | Field and Description |
---|---|
static String |
ID
The ID, same as class name.
|
selectionEnabler
Constructor and Description |
---|
PasteLink()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static CommandContributionItem |
create(IServiceLocator serviceLocator,
ImageRegistry ir)
Creates the Command Contribution item.
|
protected void |
doExecute()
Performs the operation.
|
static PasteLink |
getInstance()
Gets the instance of the handler.
|
static void |
run(ISelection selection,
IPropUndoRedo undoRedo)
Runs the handler.
|
protected void |
setEnabled(SelectionEnabler se)
Sets the enabled state for the selection.
|
execute, getCurrentSelection, getShell, getUndoContext, getUndoRedo, getUpdateStatesRunnable, isHandled, setEnabled
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, removeHandlerListener, setBaseEnabled
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public static final String ID
public static PasteLink getInstance()
public static CommandContributionItem create(IServiceLocator serviceLocator, ImageRegistry ir)
protected void setEnabled(SelectionEnabler se)
setEnabled
in class CommonHandler
protected void doExecute()
doExecute
in class CommonHandler
public static void run(ISelection selection, IPropUndoRedo undoRedo)
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.