|
Eclipse GEF 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.dnd.Transfer
org.eclipse.swt.dnd.ByteArrayTransfer
org.eclipse.gef.dnd.SimpleObjectTransfer
org.eclipse.gef.dnd.TemplateTransfer
Transfer object used to transfer the template of a palette tool. It is used for drag-and-drop from the palette as well as copy/paste from the palette.
Method Summary | |
static TemplateTransfer |
getInstance()
Returns the singleton instance |
Object |
getTemplate()
Returns the template object. |
protected int[] |
getTypeIds()
|
protected String[] |
getTypeNames()
|
void |
setTemplate(Object template)
Sets the template Object. |
Methods inherited from class org.eclipse.gef.dnd.SimpleObjectTransfer |
getObject, javaToNative, nativeToJava, setObject |
Methods inherited from class org.eclipse.swt.dnd.ByteArrayTransfer |
getSupportedTypes, isSupportedType |
Methods inherited from class org.eclipse.swt.dnd.Transfer |
registerType, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static TemplateTransfer getInstance()
public Object getTemplate()
protected int[] getTypeIds()
Transfer.getTypeIds()
protected String[] getTypeNames()
Transfer.getTypeNames()
public void setTemplate(Object template)
template
- the template
|
Eclipse GEF 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |