org.nakedobjects.viewer.lightweight.options
Class PrintOption

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

public class PrintOption
extends MenuOption


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

Constructor Detail

PrintOption

public PrintOption()
Method Detail

disabled

public Permission disabled(Workspace workspace,
                           View component,
                           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 workspace,
                    View view,
                    Location at)
Description copied from interface: UserAction
Invoke this action.

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