|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.plugins.dnd.viewer.action.AbstractUserAction
public abstract class AbstractUserAction
Each option that a user is shown in an objects popup menu a MenuOption. A MenuOption details: the name of an option (in the users language);
| Field Summary |
|---|
| Fields inherited from interface org.nakedobjects.plugins.dnd.UserAction |
|---|
DEBUG, EXPLORATION, USER |
| Constructor Summary | |
|---|---|
AbstractUserAction(java.lang.String name)
|
|
AbstractUserAction(java.lang.String name,
NakedObjectActionType type)
|
|
| Method Summary | |
|---|---|
Consent |
disabled(View view)
Indicate that this action is disabled |
abstract 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 stored name of the menu option. |
NakedObjectActionType |
getType()
Returns the type of action: user, exploration, debug, or a set. |
void |
setName(java.lang.String name)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractUserAction(java.lang.String name)
public AbstractUserAction(java.lang.String name,
NakedObjectActionType type)
| Method Detail |
|---|
public Consent disabled(View view)
UserAction
disabled in interface UserAction
public abstract void execute(Workspace workspace,
View view,
Location at)
UserAction
execute in interface UserActionpublic java.lang.String getDescription(View view)
UserAction
getDescription in interface UserActionpublic java.lang.String getHelp(View view)
UserAction
getHelp in interface UserActionpublic java.lang.String getName(View view)
getName in interface UserActionpublic NakedObjectActionType getType()
UserAction
getType in interface UserActionpublic void setName(java.lang.String name)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||