|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
roneditor.ronview.commands.CreateHLArcCommand
public class CreateHLArcCommand
Command class for creation a HLArc
Field Summary | |
---|---|
private static java.lang.String |
ConnectionCommand_Description
|
private static java.lang.String |
ConnectionCommand_Label
|
protected ronmodel.HLArc |
hlArc
|
protected ronmodel.HLNode |
source
|
protected ronmodel.HLNode |
target
|
Constructor Summary | |
---|---|
CreateHLArcCommand()
Constructor. |
Method Summary | |
---|---|
boolean |
canExecute()
|
void |
execute()
Entry point for the command execution. |
ronmodel.HLArc |
getHlArc()
|
java.lang.String |
getLabel()
Returns the command label. |
ronmodel.HLNode |
getSource()
|
ronmodel.HLNode |
getTarget()
|
void |
redo()
Redo command execution. |
void |
setHlArc(ronmodel.HLArc hlArc)
|
void |
setSource(ronmodel.HLNode source)
|
void |
setTarget(ronmodel.HLNode target)
|
void |
undo()
Undo command execution. |
Methods inherited from class org.eclipse.gef.commands.Command |
---|
canUndo, chain, dispose, getDebugLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String ConnectionCommand_Label
private static final java.lang.String ConnectionCommand_Description
protected ronmodel.HLNode source
protected ronmodel.HLNode target
protected ronmodel.HLArc hlArc
Constructor Detail |
---|
public CreateHLArcCommand()
Method Detail |
---|
public boolean canExecute()
canExecute
in class org.eclipse.gef.commands.Command
HLArc
)public void execute()
HLArc
wird zwischen source und target eingefügt
execute
in class org.eclipse.gef.commands.Command
public java.lang.String getLabel()
getLabel
in class org.eclipse.gef.commands.Command
public void redo()
redo
in class org.eclipse.gef.commands.Command
public void undo()
undo
in class org.eclipse.gef.commands.Command
public ronmodel.HLArc getHlArc()
public void setHlArc(ronmodel.HLArc hlArc)
public ronmodel.HLNode getSource()
public void setSource(ronmodel.HLNode source)
public ronmodel.HLNode getTarget()
public void setTarget(ronmodel.HLNode target)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |