|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.essex.common.action.impl.ActionServiceImpl
public class ActionServiceImpl
Created Date: 01-Nov-2003
| Constructor Summary | |
|---|---|
ActionServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
add(java.io.File actionXMLFile,
KeyMap keyMap)
Adds all the XML files from the given directory |
void |
add(java.lang.String actionXMLFile,
KeyMap keyMap)
Adds all the XML files from the given directory |
void |
addAll(java.io.File actionXMLDir,
KeyMap keyMap)
Adds all the XML files from the given directory |
void |
destroy()
Destroy the service |
javax.swing.Action |
get(java.lang.String actionId,
java.util.Locale currentLocale)
|
javax.swing.Action |
getAction(java.lang.String actionId)
|
javax.swing.Action |
getAction(java.lang.String actionId,
java.util.Locale currentLocale)
|
ActionDescriptor |
getAction(java.lang.String appId,
java.lang.String actionId)
|
ActionDescriptor |
getActionDescriptor(java.lang.String actionId)
|
ActionGroupDescriptor |
getActionGroup(java.lang.String actionGroupId)
|
ActionGroupDescriptor[] |
getActionGroups(java.lang.String appId)
|
ActionDescriptor[] |
getToolbarActions(java.lang.String appId)
Getts all the actions for the given application and toolbar |
void |
initialise()
Initialise the service |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionServiceImpl()
| Method Detail |
|---|
public void add(java.io.File actionXMLFile,
KeyMap keyMap)
throws XMLParseException,
java.io.FileNotFoundException
add in interface ActionServiceactionXMLFile - - Must be a filekeyMap -
XMLParseException - - If actionXMLFile is not a file or it cannot parse
the file
java.io.FileNotFoundException
public void add(java.lang.String actionXMLFile,
KeyMap keyMap)
throws XMLParseException
add in interface ActionServiceactionXMLFile - - Must be a filekeyMap -
XMLParseException - - If actionXMLFile is not a file or it cannot parse
the file
public void addAll(java.io.File actionXMLDir,
KeyMap keyMap)
throws XMLParseException,
java.io.FileNotFoundException
addAll in interface ActionServiceactionXMLDir - - Must be a directorykeyMap -
XMLParseException - - If actionXMLDir is not a directory or it cannot parse
any of the files in that directory
java.io.FileNotFoundException
public javax.swing.Action get(java.lang.String actionId,
java.util.Locale currentLocale)
throws ActionCreationException
get in interface ActionServiceactionId - currentLocale -
ActionCreationExceptionpublic ActionDescriptor getActionDescriptor(java.lang.String actionId)
getActionDescriptor in interface ActionServiceactionId -
public javax.swing.Action getAction(java.lang.String actionId)
getAction in interface ActionServiceactionId -
public javax.swing.Action getAction(java.lang.String actionId,
java.util.Locale currentLocale)
getAction in interface ActionServiceactionId - currentLocale -
public ActionGroupDescriptor getActionGroup(java.lang.String actionGroupId)
getActionGroup in interface ActionServiceactionGroupId -
public ActionDescriptor getAction(java.lang.String appId,
java.lang.String actionId)
getAction in interface ActionServiceappId - actionId -
public ActionDescriptor[] getToolbarActions(java.lang.String appId)
getToolbarActions in interface ActionServiceappId -
public ActionGroupDescriptor[] getActionGroups(java.lang.String appId)
getActionGroups in interface ActionService
public void initialise()
throws InitialisationException
initialise in interface ServiceInitialisationException
public void destroy()
throws DestructionException,
ShutdownCancelledException
destroy in interface ServiceDestructionException
ShutdownCancelledException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||