org.nakedobjects.plugins.dnd.viewer.content
Class DialoggedObjectOption

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

public class DialoggedObjectOption
extends AbstractObjectOption

Options for an underlying object determined dynamically by looking for methods starting with action, veto and option for specifying the action, vetoing the option and giving the option an name respectively.


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractObjectOption
action, target
 
Fields inherited from interface org.nakedobjects.plugins.dnd.UserAction
DEBUG, EXPLORATION, USER
 
Method Summary
static DialoggedObjectOption createOption(NakedObjectAction action, NakedObject object)
           
 void execute(Workspace workspace, View view, Location at)
          Invoke this action.
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractObjectOption
checkValid, disabled, getHelp, getType, toString
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.action.AbstractUserAction
getDescription, getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createOption

public static DialoggedObjectOption createOption(NakedObjectAction action,
                                                 NakedObject object)

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.