|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
org.topcased.modeler.uml.sequencediagram.commands.update.LifelineUpdateCommand
public class LifelineUpdateCommand
Command to update the lifeline parameters
Constructor Summary | |
---|---|
LifelineUpdateCommand(org.eclipse.uml2.uml.Lifeline life,
org.eclipse.uml2.uml.Classifier classif,
org.eclipse.gef.EditDomain domain)
Deprecated. Create a command for updating InstanceSpecification values |
Method Summary | |
---|---|
void |
execute()
Deprecated. just redo |
protected org.eclipse.uml2.uml.ConnectorEnd |
getConnectorEnd(org.eclipse.uml2.uml.Interaction interaction,
org.eclipse.uml2.uml.Property prop)
Deprecated. Return the connector end which has the correct property as role, owned by a connector int the interaction |
protected org.eclipse.uml2.uml.Property |
getProperty(org.eclipse.uml2.uml.Collaboration collaboration,
org.eclipse.uml2.uml.Classifier c)
Deprecated. use the getOwnedAttribute() method of the StructuredClassifier class defined in UML |
void |
redo()
Deprecated. Update the lifeline parameters |
void |
undo()
Deprecated. Undo the update |
Methods inherited from class org.eclipse.gef.commands.Command |
---|
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LifelineUpdateCommand(org.eclipse.uml2.uml.Lifeline life, org.eclipse.uml2.uml.Classifier classif, org.eclipse.gef.EditDomain domain)
life
- the current lifeline objectclassif
- the new classifier that represents the lifelinedomain
- the edit domainMethod Detail |
---|
protected org.eclipse.uml2.uml.Property getProperty(org.eclipse.uml2.uml.Collaboration collaboration, org.eclipse.uml2.uml.Classifier c)
collaboration
- the owning collaborationc
- the wanted classifer
protected org.eclipse.uml2.uml.ConnectorEnd getConnectorEnd(org.eclipse.uml2.uml.Interaction interaction, org.eclipse.uml2.uml.Property prop)
interaction
- the owning interactionprop
- the property
public void execute()
execute
in class org.eclipse.gef.commands.Command
Command.execute()
public void redo()
redo
in class org.eclipse.gef.commands.Command
Command.redo()
public void undo()
undo
in class org.eclipse.gef.commands.Command
Command.undo()
|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.