|
Eclipse GEF 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.ui.actions.Clipboard
A GEF clipboard for cut/copy/paste actions between GEF editors. It exists mainly for convenience and allows clients to add graphical objects to the system clipboard. It will not work between two instances of the workbench (but will work between multiple windows belonging to a single instance of the workbench). Setting the contents of the clipboard will erase the previous contents of the clipboard.
Constructor Summary | |
Clipboard()
Deprecated. As of 3.1, the GEF Clipboard synchronizes with the system clipboard. Multiple instances of this class should not be created. Use getDefault() .
This method will be removed in future releases. |
Method Summary | |
Object |
getContents()
Returns the current contents of the clipboard. |
static Clipboard |
getDefault()
Returns the default clipboard. |
void |
setContents(Object contents)
Sets the contents of the clipboard. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Clipboard()
getDefault()
.
This method will be removed in future releases.
Method Detail |
public static Clipboard getDefault()
public Object getContents()
public void setContents(Object contents)
contents
- the new contents
|
Eclipse GEF 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |