org.nakedobjects.viewer.lightweight.options
Class CopyValueOption

java.lang.Object
  extended byorg.nakedobjects.viewer.lightweight.MenuOption
      extended byorg.nakedobjects.viewer.lightweight.options.CopyValueOption
All Implemented Interfaces:
UserAction

public class CopyValueOption
extends MenuOption


Constructor Summary
CopyValueOption()
           
 
Method Summary
 Permission disabled(Workspace frame, View view, Location location)
          Indicate that this action is disabled
 void execute(Workspace frame, View view, Location at)
          Invoke this action.
 java.lang.String toString()
           
 
Methods inherited from class org.nakedobjects.viewer.lightweight.MenuOption
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CopyValueOption

public CopyValueOption()
Method Detail

disabled

public Permission disabled(Workspace frame,
                           View view,
                           Location location)
Description copied from interface: UserAction
Indicate that this action is disabled

Specified by:
disabled in interface UserAction
Overrides:
disabled in class MenuOption

execute

public void execute(Workspace frame,
                    View view,
                    Location at)
Description copied from interface: UserAction
Invoke this action.

Specified by:
execute in interface UserAction
Specified by:
execute in class MenuOption

toString

public java.lang.String toString()
Overrides:
toString in class MenuOption