public abstract class GenericRuleViolationAction extends RuleViolationAction implements com.nomagic.magicdraw.annotation.AnnotationAction, java.lang.Runnable
annotation
Constructor and Description |
---|
GenericRuleViolationAction(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
boolean |
canExecute(java.util.Collection<com.nomagic.magicdraw.annotation.Annotation> annotations) |
void |
execute(java.util.Collection<com.nomagic.magicdraw.annotation.Annotation> annotations) |
java.lang.String |
getName() |
java.lang.String |
getProgressDescription() |
java.lang.String |
getSessionName() |
void |
onStart() |
void |
onStop() |
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, 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
public GenericRuleViolationAction(java.lang.String name)
public java.lang.String getName()
getName
in class com.nomagic.actions.NMAction
public java.lang.String getSessionName()
public java.lang.String getProgressDescription()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class com.nomagic.magicdraw.actions.MDAction
public boolean canExecute(java.util.Collection<com.nomagic.magicdraw.annotation.Annotation> annotations)
canExecute
in interface com.nomagic.magicdraw.annotation.AnnotationAction
public void execute(java.util.Collection<com.nomagic.magicdraw.annotation.Annotation> annotations)
execute
in interface com.nomagic.magicdraw.annotation.AnnotationAction
public void onStart()
public void onStop()