|
Traceability | |||||||||
| 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.traceability.hmi.modeler.commands.DeleteCoverLinkCommand
public class DeleteCoverLinkCommand
The command to delete an Inheritance Link Creation : 19 may 2006
| Constructor Summary | |
|---|---|
DeleteCoverLinkCommand()
The Constructor |
|
| Method Summary | |
|---|---|
boolean |
canExecute()
Check if the command can be executed |
void |
execute()
Removes the connection |
GraphElement |
getSource()
Get the sourceNode of the link |
void |
redo()
|
org.eclipse.gef.commands.Command |
setPartToBeDeleted(java.lang.Object model)
Set the edit part that must be deleted |
void |
undo()
Restores the connection |
| Methods inherited from class org.eclipse.gef.commands.Command |
|---|
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 DeleteCoverLinkCommand()
| Method Detail |
|---|
public boolean canExecute()
canExecute in class org.eclipse.gef.commands.CommandCommand.canExecute()public void redo()
redo in class org.eclipse.gef.commands.CommandCommand.redo()public void execute()
execute in class org.eclipse.gef.commands.CommandCommand.execute()public void undo()
undo in class org.eclipse.gef.commands.CommandCommand.undo()public org.eclipse.gef.commands.Command setPartToBeDeleted(java.lang.Object model)
model - the graph object to be deleted
public GraphElement getSource()
|
Traceability | |||||||||
| 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.