org.nakedobjects.plugins.dnd.viewer.content
Class ImmediateObjectOption
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.action.AbstractUserAction
org.nakedobjects.plugins.dnd.viewer.content.AbstractObjectOption
org.nakedobjects.plugins.dnd.viewer.content.ImmediateObjectOption
- All Implemented Interfaces:
- UserAction
public class ImmediateObjectOption
- 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
createOption
public static ImmediateObjectOption createOption(NakedObjectAction action,
NakedObject object)
createServiceOption
public static ImmediateObjectOption createServiceOption(NakedObjectAction action,
NakedObject object)
checkValid
protected Consent checkValid()
- Overrides:
checkValid in class AbstractObjectOption
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.