|
||||||||||
| 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 Object |
newObject
|
private Connection |
targetConnection
|
private ConnectionDecorator |
targetConnectionDecorator
|
private ContainerShape |
targetContainer
|
| Constructor Summary | |
|---|---|
AddContext()
Creates a new AddContext. |
|
AddContext(IAreaContext context,
Object newObject)
Creates a new AddContext. |
|
| Method Summary | |
|---|---|
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(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. |
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 Object newObject
| Constructor Detail |
|---|
public AddContext()
AddContext.
public AddContext(IAreaContext context,
Object newObject)
AddContext.
context - the contextnewObject - the new object| Method Detail |
|---|
public Object getNewObject()
IAddContext
getNewObject in interface IAddContextpublic Connection getTargetConnection()
ITargetConnectionContext
getTargetConnection in interface ITargetConnectionContextpublic ConnectionDecorator getTargetConnectionDecorator()
ITargetConnectionDecoratorContext
getTargetConnectionDecorator in interface ITargetConnectionDecoratorContextpublic ContainerShape getTargetContainer()
ITargetContext
getTargetContainer in interface ITargetContextpublic void setNewObject(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 String toString()
toString in class AreaContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||