public class MoveConnectionDecoratorContext extends LocationContext implements IMoveConnectionDecoratorContext
Constructor and Description |
---|
MoveConnectionDecoratorContext(ConnectionDecorator connectionDecorator,
int x,
int y,
boolean executeAllowed)
Creates a new
MoveConnectionDecoratorContext . |
Modifier and Type | Method and Description |
---|---|
ConnectionDecorator |
getConnectionDecorator()
Gets the connection decorator.
|
boolean |
isExecuteAllowed()
Checks if execute is allowed.
|
java.lang.String |
toString() |
getX, getY, setLocation, setX, setY
getProperty, getPropertyKeys, putProperty
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getX, getY
getProperty, getPropertyKeys, putProperty
public MoveConnectionDecoratorContext(ConnectionDecorator connectionDecorator, int x, int y, boolean executeAllowed)
MoveConnectionDecoratorContext
.connectionDecorator
- the connection decoratorx
- the xy
- the yexecuteAllowed
- the execute allowedpublic ConnectionDecorator getConnectionDecorator()
IMoveConnectionDecoratorContext
getConnectionDecorator
in interface IMoveConnectionDecoratorContext
public boolean isExecuteAllowed()
IMoveConnectionDecoratorContext
isExecuteAllowed
in interface IMoveConnectionDecoratorContext
public java.lang.String toString()
toString
in class LocationContext