org.nakedobjects.plugins.dnd
Interface UserAction

All Known Subinterfaces:
ButtonAction
All Known Implementing Classes:
AbstractButtonAction, AbstractObjectContent.DebugClearResolvedOption, AbstractObjectContent.ExplorationClone, AbstractObjectContent.ExplorationInstances, AbstractObjectOption, AbstractUserAction, AbstractValueOption, CancelAction, ClearOneToManyAssociationOption, ClearOneToOneAssociationOption, ClearValueOption, CloseAllViewsForObjectOption, CloseAllViewsOption, CloseViewOption, CopyValueOption, DebugDumpSnapshotOption, DebugOption, DialoggedObjectOption, DisposeObjectOption, IconizeViewOption, ImmediateObjectOption, MessageDialogSpecification.CloseViewAction, OpenViewOption, PasteValueOption, PrintOption, ReplaceViewOption, RevertFieldOption, UserActionSet

public interface UserAction


Field Summary
static NakedObjectActionType DEBUG
           
static NakedObjectActionType EXPLORATION
           
static NakedObjectActionType USER
           
 
Method Summary
 Consent disabled(View view)
          Indicate that this action is disabled
 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 getHelp(View view)
          Returns the help text for the action.
 java.lang.String getName(View view)
          Returns the name of the action as the user will refer to it.
 NakedObjectActionType getType()
          Returns the type of action: user, exploration, debug, or a set.
 

Field Detail

USER

static final NakedObjectActionType USER

DEBUG

static final NakedObjectActionType DEBUG

EXPLORATION

static final NakedObjectActionType EXPLORATION
Method Detail

getType

NakedObjectActionType getType()
Returns the type of action: user, exploration, debug, or a set.


disabled

Consent disabled(View view)
Indicate that this action is disabled


execute

void execute(Workspace workspace,
             View view,
             Location at)
Invoke this action.


getDescription

java.lang.String getDescription(View view)
Returns the description of the action.


getHelp

java.lang.String getHelp(View view)
Returns the help text for the action.


getName

java.lang.String getName(View view)
Returns the name of the action as the user will refer to it.



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