public class AddLibraryCommand extends AddCommand implements CommandActionDelegate
AbstractCommand.NonDirtying
affectedObjects, collection, DESCRIPTION, DESCRIPTION_FOR_LIST, feature, index, LABEL, owner, ownerList
domain, overrideCommand
description, isExecutable, isPrepared, label
Constructor and Description |
---|
AddLibraryCommand(EditingDomain domain,
EList<?> list,
java.lang.Object value)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getImage()
This returns the decoration, if any, of the action.
|
java.lang.String |
getText()
This returns the menu text, if any, of the action.
|
java.lang.String |
getToolTipText()
This returns the tool tip text, if any, of the action.
|
create, create, create, create, doExecute, doGetAffectedObjects, doGetResult, doRedo, doUndo, getCollection, getFeature, getIndex, getOwner, getOwnerList, isUserElement, prepare, toString
canExecute, canUndo, dispose, doCanExecute, doCanUndo, doDispose, doGetChildrenToCopy, doGetDescription, doGetLabel, execute, getAffectedObjects, getChildrenToCopy, getDescription, getDomain, getLabel, getOverride, getOwnerList, getResult, redo, setOverride, undo, updateEMap
chain, setDescription, setLabel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canExecute, getDescription
public AddLibraryCommand(EditingDomain domain, EList<?> list, java.lang.Object value)
domain
- the editing domainlist
- the list to add tovalue
- the value to addpublic java.lang.Object getImage()
CommandActionDelegate
getImage
in interface CommandActionDelegate
public java.lang.String getText()
CommandActionDelegate
getText
in interface CommandActionDelegate
public java.lang.String getToolTipText()
CommandActionDelegate
getToolTipText
in interface CommandActionDelegate