|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDefaultContext
org.eclipse.graphiti.features.context.impl.LocationContext
org.eclipse.graphiti.features.context.impl.AreaContext
org.eclipse.graphiti.features.context.impl.AddContext
public class AddContext
The Class AddContext.
Field Summary | |
---|---|
private java.lang.Object |
newObject
|
private Connection |
targetConnection
|
private ConnectionDecorator |
targetConnectionDecorator
|
private ContainerShape |
targetContainer
|
Constructor Summary | |
---|---|
AddContext()
Creates a new AddContext . |
|
AddContext(IAreaContext context,
java.lang.Object newObject)
Creates a new AddContext . |
Method Summary | |
---|---|
java.lang.Object |
getNewObject()
A pictogram element has to be added. |
Connection |
getTargetConnection()
Gets the target connection. |
ConnectionDecorator |
getTargetConnectionDecorator()
Gets the target connection decorator. |
ContainerShape |
getTargetContainer()
Gets the target container. |
void |
setNewObject(java.lang.Object newObject)
Sets the new object. |
void |
setTargetConnection(Connection targetConnection)
Sets the target connection. |
void |
setTargetConnectionDecorator(ConnectionDecorator targetConnectionDecorator)
Sets the target connection decorator. |
void |
setTargetContainer(ContainerShape targetContainer)
Sets the target container. |
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.graphiti.features.context.impl.AreaContext |
---|
getHeight, getWidth, setHeight, setSize, setWidth |
Methods inherited from class org.eclipse.graphiti.features.context.impl.LocationContext |
---|
getX, getY, setLocation, setX, setY |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.graphiti.features.context.IAreaContext |
---|
getHeight, getWidth |
Methods inherited from interface org.eclipse.graphiti.features.context.ILocationContext |
---|
getX, getY |
Methods inherited from interface org.eclipse.graphiti.IPropertyBag |
---|
getProperty, getPropertyKeys, putProperty |
Field Detail |
---|
private ContainerShape targetContainer
private Connection targetConnection
private ConnectionDecorator targetConnectionDecorator
private java.lang.Object newObject
Constructor Detail |
---|
public AddContext()
AddContext
.
public AddContext(IAreaContext context, java.lang.Object newObject)
AddContext
.
context
- the contextnewObject
- the new objectMethod Detail |
---|
public java.lang.Object getNewObject()
IAddContext
getNewObject
in interface IAddContext
public Connection getTargetConnection()
ITargetConnectionContext
getTargetConnection
in interface ITargetConnectionContext
public ConnectionDecorator getTargetConnectionDecorator()
ITargetConnectionDecoratorContext
getTargetConnectionDecorator
in interface ITargetConnectionDecoratorContext
public ContainerShape getTargetContainer()
ITargetContext
getTargetContainer
in interface ITargetContext
public void setNewObject(java.lang.Object newObject)
newObject
- the new objectpublic void setTargetContainer(ContainerShape targetContainer)
targetContainer
- The target container to set.public void setTargetConnection(Connection targetConnection)
targetConnection
- The target connection to set.public void setTargetConnectionDecorator(ConnectionDecorator targetConnectionDecorator)
targetConnectionDecorator
- The target connection decorator to set.public java.lang.String toString()
toString
in class AreaContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |