|
Ecore | |||||||||
| 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.ecore.ediagram.commands.DeleteInheritanceLinkCommand
public class DeleteInheritanceLinkCommand
The command to delete an Inheritance Link Creation : 19 may 2006
| Constructor Summary | |
|---|---|
DeleteInheritanceLinkCommand()
The Constructor |
|
| Method Summary | |
|---|---|
boolean |
canExecute()
Check if the command can be executed |
void |
execute()
Removes the connection |
GraphNode |
getSource()
Get the sourceNode of the link |
void |
redo()
|
protected void |
redoModel()
Refresh the sourceModel Object attributes |
org.eclipse.gef.commands.Command |
setPartToBeDeleted(java.lang.Object model)
Set the edit part that must be deleted |
void |
undo()
Restores the connection |
protected void |
undoModel()
Refresh the sourceModel Object attributes |
| 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 DeleteInheritanceLinkCommand()
| 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()protected void redoModel()
public void execute()
execute in class org.eclipse.gef.commands.CommandCommand.execute()public void undo()
undo in class org.eclipse.gef.commands.CommandCommand.undo()protected void undoModel()
public org.eclipse.gef.commands.Command setPartToBeDeleted(java.lang.Object model)
model - the graph object to be deleted
public GraphNode getSource()
|
Ecore | |||||||||
| 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.