public class CommitClientElementAction extends RuleViolationAction implements com.nomagic.magicdraw.annotation.AnnotationAction, IRuleViolationAction
annotation
Constructor and Description |
---|
CommitClientElementAction(java.lang.String elementID,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
com.fasterxml.jackson.databind.node.ObjectNode elementObjectNode,
com.nomagic.magicdraw.core.Project project) |
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) |
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element |
getElement() |
java.lang.String |
getElementID() |
com.fasterxml.jackson.databind.node.ObjectNode |
getElementObjectNode() |
doAction, doAfterSuccess, execute, executeMany, getAnnotation, removeViolationAndUpdateWindow, removeViolationsAndUpdateWindow, saySuccess, setAnnotation, setRuleViolationResult, setValidationWindowRun
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
getKeys, getValue, isEnabled, putValue, setEnabled
finalize, getClass, notify, notifyAll, wait, wait, wait
setAnnotation, setRuleViolationResult, setValidationWindowRun
public CommitClientElementAction(java.lang.String elementID, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.fasterxml.jackson.databind.node.ObjectNode elementObjectNode, com.nomagic.magicdraw.core.Project project)
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 java.lang.String getElementID()
public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element getElement()
public com.fasterxml.jackson.databind.node.ObjectNode getElementObjectNode()
public void actionPerformed(@CheckForNull java.awt.event.ActionEvent actionEvent)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class com.nomagic.magicdraw.actions.MDAction