org.nakedobjects.viewer.lightweight.options
Class OpenViewOption

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

public class OpenViewOption
extends AbstractObjectOption


Constructor Summary
OpenViewOption(RootView prototype)
           
 
Method Summary
 Permission disabled(Workspace frame, ObjectView view, Location location)
           
 void execute(Workspace frame, ObjectView view, Location at)
           
 java.lang.String toString()
           
 
Methods inherited from class org.nakedobjects.viewer.lightweight.options.AbstractObjectOption
disabled, execute, getDescription
 
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

OpenViewOption

public OpenViewOption(RootView prototype)
Method Detail

disabled

public Permission disabled(Workspace frame,
                           ObjectView view,
                           Location location)
Overrides:
disabled in class AbstractObjectOption

execute

public void execute(Workspace frame,
                    ObjectView view,
                    Location at)
Specified by:
execute in class AbstractObjectOption

toString

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