Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.whiteboard.gef.actions.CopyRecordAction Class Reference

Inherits SelectionAction.

List of all members.

Public Member Functions

 CopyRecordAction (IWorkbenchPart part)
void run ()

Protected Member Functions

void init ()
boolean calculateEnabled ()

Detailed Description

Creates and executes a copy command that stores deep copies of the current selection to the clipboard.

We provide copies to the clipboard because else the copy would not be a snapshot of the current state but of the state when the copies are created.

This action uses a hierarchical list so that only the top-most records are added to the list of ElementRecords that will be put to the Clipboard.

Author:
jurke

Constructor & Destructor Documentation

de.fu_berlin.inf.dpp.whiteboard.gef.actions.CopyRecordAction.CopyRecordAction ( IWorkbenchPart  part)

Member Function Documentation

boolean de.fu_berlin.inf.dpp.whiteboard.gef.actions.CopyRecordAction.calculateEnabled ( ) [protected]
void de.fu_berlin.inf.dpp.whiteboard.gef.actions.CopyRecordAction.init ( ) [protected]
void de.fu_berlin.inf.dpp.whiteboard.gef.actions.CopyRecordAction.run ( )
 All Classes Namespaces Files Functions Variables Enumerations