org.nakedobjects.plugins.dnd.viewer.action
Class CloseViewOption

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.action.AbstractUserAction
      extended by org.nakedobjects.plugins.dnd.viewer.action.CloseViewOption
All Implemented Interfaces:
UserAction

public class CloseViewOption
extends AbstractUserAction


Field Summary
 
Fields inherited from interface org.nakedobjects.plugins.dnd.UserAction
DEBUG, EXPLORATION, USER
 
Constructor Summary
CloseViewOption()
           
 
Method Summary
 void execute(Workspace workspace, View view, Location at)
          Invoke this action.
 java.lang.String getDescription(View view)
          Returns the description of the action.
 java.lang.String toString()
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.action.AbstractUserAction
disabled, getHelp, getName, getType, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CloseViewOption

public CloseViewOption()
Method Detail

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 AbstractUserAction

getDescription

public java.lang.String getDescription(View view)
Description copied from interface: UserAction
Returns the description of the action.

Specified by:
getDescription in interface UserAction
Overrides:
getDescription in class AbstractUserAction

toString

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


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.