|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.gef.Request | +--org.eclipse.gef.requests.CreateRequest | +--org.eclipse.gef.requests.CreateConnectionRequest
A Request to create a new Connection.
Constructor Summary | |
CreateConnectionRequest()
|
Method Summary | |
EditPart |
getSourceEditPart()
Returns the EditPart that the source end of the connection should be connected to. |
Command |
getStartCommand()
Returns the start command. |
EditPart |
getTargetEditPart()
Returns the EditPart that the target end of the connection should be connected to. |
void |
setSourceEditPart(EditPart part)
Sets the source of the Connection to the given EditPart. |
void |
setStartCommand(Command c)
Sets the start command. |
void |
setTargetEditPart(EditPart part)
Sets the target of the Connection to the given EditPart. |
Methods inherited from class org.eclipse.gef.requests.CreateRequest |
getFactory, getLocation, getNewObject, getNewObjectType, getSize, setFactory, setLocation, setSize |
Methods inherited from class org.eclipse.gef.Request |
getType, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CreateConnectionRequest()
Method Detail |
public EditPart getSourceEditPart()
public EditPart getTargetEditPart()
public Command getStartCommand()
public void setSourceEditPart(EditPart part)
part
- the source EditPartpublic void setTargetEditPart(EditPart part)
setTargetEditPart
in interface TargetRequest
part
- the target EditPartpublic void setStartCommand(Command c)
c
- the command
|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |