org.nakedobjects.viewer.lightweight
Interface UserAction

All Known Implementing Classes:
MenuOption

public interface UserAction


Method Summary
 Permission disabled(Workspace workspace, View view, Location location)
          Indicate that this action is disabled
 void execute(Workspace workspace, View view, Location at)
          Invoke this action.
 java.lang.String getName(Workspace workspace, View view, Location at)
          Returns the mame of the action as the will refer to it.
 

Method Detail

getName

public java.lang.String getName(Workspace workspace,
                                View view,
                                Location at)
Returns the mame of the action as the will refer to it.


disabled

public Permission disabled(Workspace workspace,
                           View view,
                           Location location)
Indicate that this action is disabled


execute

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