public class RemoveLibraryCommand extends RemoveCommand implements CommandActionDelegate
AbstractCommand.NonDirtying
affectedObjects, collection, DESCRIPTION, DESCRIPTION_FOR_LIST, feature, indices, LABEL, owner, ownerList
domain, overrideCommand
description, isExecutable, isPrepared, label
Constructor and Description |
---|
RemoveLibraryCommand(EditingDomain domain,
EList<?> list,
java.util.Collection<?> collection)
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.
|
contains, containsExact, create, create, create, create, doExecute, doGetAffectedObjects, doGetResult, doRedo, doUndo, getCollection, getFeature, getIndices, getOwner, getOwnerList, merge, prepare, removeExact, 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 RemoveLibraryCommand(EditingDomain domain, EList<?> list, java.util.Collection<?> collection)
domain
- the editing domainlist
- the list to modifycollection
- the objects to be removedpublic 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