public class PluginsLocator extends AbstractLocator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLUGINS_ACTIONINFO_MANAGER_NAME |
static java.lang.String |
PLUGINS_LOCALE_MANAGER_NAME |
static java.lang.String |
PLUGINS_MANAGER_NAME
PluginsManager name used by the locator to access the instance
|
Constructor and Description |
---|
PluginsLocator() |
Modifier and Type | Method and Description |
---|---|
static ActionInfoManager |
getActionInfoManager() |
static PluginsLocator |
getInstance()
Return the singleton instance.
|
static LocaleManager |
getLocaleManager() |
java.lang.String |
getLocatorName()
Returns the Locator name.
|
static MainFrame |
getMainFrame() |
static PluginsManager |
getManager()
Return a reference to PluginsManager.
|
static PluginsManager |
getPluginsManager() |
static void |
registerActionInfoManager(java.lang.Class clazz) |
static void |
registerDefaultManager(java.lang.Class clazz)
Registers a class as the default PluginsManager.
|
static void |
registerLocaleManager(java.lang.Class clazz) |
static void |
registerManager(java.lang.Class clazz)
Registers the Class implementing the PluginsManager interface.
|
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final java.lang.String PLUGINS_MANAGER_NAME
public static final java.lang.String PLUGINS_ACTIONINFO_MANAGER_NAME
public static final java.lang.String PLUGINS_LOCALE_MANAGER_NAME
public static PluginsLocator getInstance()
public java.lang.String getLocatorName()
public static PluginsManager getManager() throws LocatorException
LocatorException
- if there is no access to the class or the class cannot be
instantiatedLocator.get(String)
public static PluginsManager getPluginsManager() throws LocatorException
LocatorException
public static void registerManager(java.lang.Class clazz)
clazz
- implementing the PluginsManager interfacepublic static void registerDefaultManager(java.lang.Class clazz)
clazz
- implementing the DataManager interfacepublic static ActionInfoManager getActionInfoManager() throws LocatorException
LocatorException
public static void registerActionInfoManager(java.lang.Class clazz)
public static MainFrame getMainFrame()
public static LocaleManager getLocaleManager() throws LocatorException
LocatorException
public static void registerLocaleManager(java.lang.Class clazz)