public class DesktopActionTable extends Object
Contains a list of desktop actions indexed by action name.
Constructor and Description |
---|
DesktopActionTable()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
addAction(DesktopAction action)
Add an action
|
Enumeration<String> |
enumerateActionNames()
Enumerate the action names
|
DesktopAction |
getAction(String name)
Find a named action
|
DesktopAction |
getActionViaPseudoName(String pseudoName)
Find an action via the pseudo file name
|
int |
numberOfActions()
Return the count of actions
|
DesktopAction |
removeAction(String name)
Remove an action
|
public final DesktopAction getAction(String name)
name
- Stringpublic final DesktopAction getActionViaPseudoName(String pseudoName)
pseudoName
- Stringpublic final int numberOfActions()
public final boolean addAction(DesktopAction action)
action
- DesktopActionpublic final Enumeration<String> enumerateActionNames()
public final DesktopAction removeAction(String name)
name
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.