public class CreateInstanceAction extends GenericRuleViolationAction
annotation
Constructor and Description |
---|
CreateInstanceAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier classifier,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element context,
boolean createSlots) |
CreateInstanceAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier classifier,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element context,
boolean createSlots,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification |
createInstance(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element instanceable,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element context,
boolean createSlots) |
static com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification |
createInstance(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element instanceable,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element context,
boolean createSlots,
java.util.Map<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification> traveled) |
void |
execute(java.util.Collection<com.nomagic.magicdraw.annotation.Annotation> annotations) |
java.lang.String |
getName() |
java.lang.String |
getSessionName() |
void |
run() |
actionPerformed, canExecute, getProgressDescription, onStart, 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
public CreateInstanceAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier classifier, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element context, boolean createSlots)
public CreateInstanceAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier classifier, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element context, boolean createSlots, java.lang.String name)
public static com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification createInstance(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element instanceable, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element context, boolean createSlots)
public static com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification createInstance(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element instanceable, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element context, boolean createSlots, java.util.Map<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification> traveled)
public void run()
public void execute(java.util.Collection<com.nomagic.magicdraw.annotation.Annotation> annotations)
execute
in interface com.nomagic.magicdraw.annotation.AnnotationAction
execute
in class GenericRuleViolationAction
public java.lang.String getName()
getName
in class GenericRuleViolationAction
public java.lang.String getSessionName()
getSessionName
in class GenericRuleViolationAction