org.eclipse.gef.dnd
Class TemplateTransfer
java.lang.Object
|
+--org.eclipse.swt.dnd.Transfer
|
+--org.eclipse.swt.dnd.ByteArrayTransfer
|
+--org.eclipse.gef.dnd.SimpleObjectTransfer
|
+--org.eclipse.gef.dnd.TemplateTransfer
- public class TemplateTransfer
- extends SimpleObjectTransfer
- Since:
- 2.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static TemplateTransfer getInstance()
- Returns the singleton instance
- Returns:
- the singleton
getTemplate
public Object getTemplate()
- Returns the template object.
- Returns:
- the template
getTypeIds
protected int[] getTypeIds()
- Specified by:
getTypeIds
in class Transfer
- See Also:
Transfer.getTypeIds()
getTypeNames
protected String[] getTypeNames()
- Specified by:
getTypeNames
in class Transfer
- See Also:
Transfer.getTypeNames()
setTemplate
public void setTemplate(Object template)
- Sets the template Object.
- Parameters:
template
- the template
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.