org.eclipse.gmf.runtime.common.ui.action.actions.global
Class ClipboardContentsHelper
java.lang.Object
org.eclipse.gmf.runtime.common.ui.action.actions.global.ClipboardContentsHelper
-
public class ClipboardContentsHelper
- extends java.lang.Object
This class is responsible for getting the contents from the clipboard.
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
ClipboardContentsHelper
protected ClipboardContentsHelper()
- Creates a new instance.
getInstance
public static
ClipboardContentsHelper getInstance()
- Retrieves the singleton instance of
ClipboardContentsHelper
.
-
-
Returns:
- the singleton instance of
ClipboardContentsHelper
getClipboardContents
public java.lang.Object getClipboardContents(
Transfer dataType)
- Returns the system clipboard contents
-
-
Parameters:
-
dataType
- The transfer agent
-
Returns:
- Object Data associated with the transfer agent
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.