|
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.creation.ClassifierCreationCommand
public class ClassifierCreationCommand
Command of creation of a Classifier in a given Package Creation 13 juin 06
Constructor Summary | |
---|---|
ClassifierCreationCommand(org.eclipse.uml2.uml.Package owningPackage,
org.eclipse.uml2.uml.Classifier classifier)
Constructor |
Method Summary | |
---|---|
void |
execute()
Just redo |
void |
redo()
Create the classifier into the owningPackage |
void |
undo()
Remove the classifier from the owningPackage |
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 ClassifierCreationCommand(org.eclipse.uml2.uml.Package owningPackage, org.eclipse.uml2.uml.Classifier classifier)
owningPackage
- the package owning the classifierclassifier
- the newly created classifierMethod Detail |
---|
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.