Synergy Home Page

au.edu.swin.synergy.plugin.editmanager
Class BEditProxy

java.lang.Object
  |
  +--au.edu.swin.synergy.plugin.editmanager.BEditProxy

public class BEditProxy
extends Object

The edit proxy will enable other classes to communicate relatively directly to the edit manager without having to send command events across the network every time.

Calling methods on here results in methods being called in the edit manager in order to enable and disable the the cut, copy and paste methods in the edit manager.

Author:
Tristan Austin

Constructor Summary
protected BEditProxy(BEditManager editManager)
          Creates a new edit manager proxy to allow remote setting of the menu item states
 
Method Summary
 void setCutCopyEnabled(boolean cutEnabled)
          This will set the cut/copy combination of the edit menu to the enabled state specified.
 void setPasteEnabled(boolean pasteEnabled)
          This will set the paste menu item of the edit menu to the enabled state specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BEditProxy

protected BEditProxy(BEditManager editManager)
Creates a new edit manager proxy to allow remote setting of the menu item states
Parameters:
editManager - The edit manager to act as proxy for
Method Detail

setCutCopyEnabled

public void setCutCopyEnabled(boolean cutEnabled)
This will set the cut/copy combination of the edit menu to the enabled state specified.
Parameters:
cutEnabled - True to enable, false to disable

setPasteEnabled

public void setPasteEnabled(boolean pasteEnabled)
This will set the paste menu item of the edit menu to the enabled state specified.
Parameters:
pasteEnabled - True to enable, false to disable

Synergy Home Page