org.mockcentral.editor.nodes
Interface IMockCentralClipboard


public interface IMockCentralClipboard

Interface for classes used for copying and pasting MockCentralNode instances within IMockCentralNodeGroupViewer controls.

Author:
David Hutchinson

Method Summary
 void clearContents()
          Clears the clipboard contents.
 void dispose()
          Disposes of any resources necessary.
 java.lang.Object getContents(IMockCentralNodeTransfer transfer)
          Returns the Object from the clipboard accessed using the supplied IMockCentralNodeTransfer.
 void setContents(java.lang.Object[] data, IMockCentralNodeTransfer[] transfers)
          Sets the clipboard contents.
 

Method Detail

setContents

void setContents(java.lang.Object[] data,
                 IMockCentralNodeTransfer[] transfers)
Sets the clipboard contents.

Parameters:
data - the data for the clipboard contents.
transfers - the IMockCentralNodeTransfer array used to set the contents.

getContents

java.lang.Object getContents(IMockCentralNodeTransfer transfer)
Returns the Object from the clipboard accessed using the supplied IMockCentralNodeTransfer.

Parameters:
transfer - the IMockCentralNodeTransfer.
Returns:
the Object from the clipboard accessed using the supplied IMockCentralNodeTransfer.

clearContents

void clearContents()
Clears the clipboard contents.


dispose

void dispose()
Disposes of any resources necessary.