public class LockAction extends SRAction implements com.nomagic.magicdraw.annotation.AnnotationAction
Constructor and Description |
---|
LockAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
boolean recursive) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent actionEvent) |
boolean |
canExecute(java.util.Collection<com.nomagic.magicdraw.annotation.Annotation> annotations) |
void |
execute(java.util.Collection<com.nomagic.magicdraw.annotation.Annotation> annotations) |
disable, disable, enable, updateState
accept, addAction, addPropertyChangeListener, addShortcut, addShotcut, addWeakPropertyChangeListener, clone, compareTo, createMenuItem, equals, firePropertyChange, getActions, getCommandKey, getDescription, getGroup, getIcon, getID, getLargeIcon, getLargeOrSmallIcon, getMnemonicKey, getName, getPropertyChangeListeners, getShortcuts, getSmallIcon, getSmallOrLargeIcon, hashCode, isIDGenerated, removeAction, removePropertyChangeListener, removeShortcut, removeWeakPropertyChangeListener, setActions, setDescription, setGroup, setLargeIcon, setMnemonicKey, setName, setShortcuts, setSmallIcon, shallowClone, toString
public LockAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, boolean recursive)
public void execute(java.util.Collection<com.nomagic.magicdraw.annotation.Annotation> annotations)
execute
in interface com.nomagic.magicdraw.annotation.AnnotationAction
public boolean canExecute(java.util.Collection<com.nomagic.magicdraw.annotation.Annotation> annotations)
canExecute
in interface com.nomagic.magicdraw.annotation.AnnotationAction
public void actionPerformed(@CheckForNull java.awt.event.ActionEvent actionEvent)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class com.nomagic.magicdraw.actions.MDAction