|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPictogramElementsContext
org.eclipse.graphiti.features.context.impl.PasteContext
public class PasteContext
The Class PasteContext.
| Field Summary | |
|---|---|
(package private) LocationContext |
locationContext
|
| Constructor Summary | |
|---|---|
PasteContext(PictogramElement[] pictogramElements)
Creates a new PasteContext. |
|
PasteContext(PictogramElement[] pictogramElements,
int pasteLocationX,
int pasteLocationY)
Creates a new PasteContext. |
|
| Method Summary | |
|---|---|
int |
getX()
Gets the x location to paste to |
int |
getY()
Gets the y location to paste to |
void |
setLocation(int x,
int y)
Sets the location to paste to |
void |
setX(int x)
Sets the x location to paste to |
void |
setY(int y)
Sets the y location to paste to |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.graphiti.features.context.IPictogramElementsContext |
|---|
getPictogramElements, setPictogramElements |
| Methods inherited from interface org.eclipse.graphiti.IPropertyBag |
|---|
getProperty, getPropertyKeys, putProperty |
| Field Detail |
|---|
LocationContext locationContext
| Constructor Detail |
|---|
public PasteContext(PictogramElement[] pictogramElements)
PasteContext.
pictogramElements - the pictogram elements
public PasteContext(PictogramElement[] pictogramElements,
int pasteLocationX,
int pasteLocationY)
PasteContext.
pictogramElements - the pictogram elementspasteLocationX - the x location to paste topasteLocationY - the y location to paste to| Method Detail |
|---|
public int getX()
getX in interface ILocationContextpublic void setX(int x)
x - an integer representing the x locationpublic int getY()
getY in interface ILocationContextpublic void setY(int y)
y - an integer representing the y location
public void setLocation(int x,
int y)
x - an integer representing the x locationy - an integer representing the y location
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||