org.nakedobjects.viewer.lightweight.options
Class CloseOtherViewsOption

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

public class CloseOtherViewsOption
extends AbstractObjectOption


Constructor Summary
CloseOtherViewsOption()
           
 
Method Summary
 Permission disabled(Workspace frame, ObjectView component, Location location)
           
 void execute(Workspace workspace, 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

CloseOtherViewsOption

public CloseOtherViewsOption()
Method Detail

disabled

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

execute

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

toString

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