public class CreateSlotsAction extends GenericRuleViolationAction
annotation
Constructor and Description |
---|
CreateSlotsAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance) |
CreateSlotsAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance,
boolean recurse,
boolean deleteSlots,
boolean deleteChildInstances) |
CreateSlotsAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance,
boolean recurse,
boolean deleteSlots,
boolean deleteChildInstances,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
static java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> |
collectSlottableProperties(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier classifier) |
static com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Slot |
createSlot(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property property,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance,
boolean recurse,
java.util.Map<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification> traveled) |
static java.util.Map<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Slot> |
createSlots(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance,
boolean recurse,
boolean deleteSlots,
boolean deleteChildInstances,
com.nomagic.task.ProgressStatus progressStatus) |
static java.util.Map<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Slot> |
createSlots(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance,
boolean recurse,
java.util.Map<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification> traveled) |
static com.nomagic.uml2.ext.magicdraw.classes.mdkernel.ValueSpecification |
createValueSpecification(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property property,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Slot slot,
boolean recurse,
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) |
static java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> |
flattenRedefinedProperties(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property property) |
static java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification> |
getChildInstancesRecursively(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Slot slot) |
java.lang.String |
getName() |
java.lang.String |
getSessionName() |
void |
run() |
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 CreateSlotsAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance)
public CreateSlotsAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance, boolean recurse, boolean deleteSlots, boolean deleteChildInstances)
public CreateSlotsAction(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance, boolean recurse, boolean deleteSlots, boolean deleteChildInstances, java.lang.String name)
public static java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification> getChildInstancesRecursively(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Slot slot)
public static java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> collectSlottableProperties(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier classifier)
public static java.util.Map<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Slot> createSlots(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance, boolean recurse, boolean deleteSlots, boolean deleteChildInstances, com.nomagic.task.ProgressStatus progressStatus)
public static java.util.Map<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Slot> createSlots(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance, boolean recurse, java.util.Map<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification> traveled)
public static java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property> flattenRedefinedProperties(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property property)
public static com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Slot createSlot(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property property, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance, boolean recurse, java.util.Map<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification> traveled)
public static com.nomagic.uml2.ext.magicdraw.classes.mdkernel.ValueSpecification createValueSpecification(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property property, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.InstanceSpecification instance, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Slot slot, boolean recurse, 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 actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class GenericRuleViolationAction
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