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

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

public class DisposeObjectOption
extends AbstractUserAction

Destroy this object


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

Constructor Detail

DisposeObjectOption

public DisposeObjectOption()
Method Detail

disabled

public Consent disabled(View view)
Description copied from interface: UserAction
Indicate that this action is disabled

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

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


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