Runtime

org.eclipse.gmf.runtime.diagram.ui.render.util
Class ImageClipboardContentsHelper

java.lang.Object
  extended byorg.eclipse.gmf.runtime.common.ui.action.actions.global.ClipboardContentsHelper
      extended byorg.eclipse.gmf.runtime.diagram.ui.render.util.ImageClipboardContentsHelper

public class ImageClipboardContentsHelper
extends ClipboardContentsHelper

A specialized ClipboardContentsHelper that supports images in the clipboard.

This is only supported on Windows AWTClipboardHelper.


Constructor Summary
protected ImageClipboardContentsHelper()
          Creates a new instance.
 
Method Summary
 java.lang.Object getClipboardContents(Transfer dataType)
          Returns the system clipboard contents with image support.
static ClipboardContentsHelper getInstance()
          Retrieves the singleton instance of ClipboardContentsHelper.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageClipboardContentsHelper

protected ImageClipboardContentsHelper()
Creates a new instance.

Method Detail

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 with image support.

Overrides:
getClipboardContents in class ClipboardContentsHelper
Parameters:
dataType - The transfer agent
Returns:
Object Data associated with the transfer agent

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.