public class PluginsLocator extends AbstractLocator
Modifier and Type | Field and Description |
---|---|
static String |
PLUGINS_ACTIONINFO_MANAGER_NAME |
static String |
PLUGINS_LOCALE_MANAGER_NAME |
static 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() |
String |
getLocatorName()
Returns the Locator name.
|
static MainFrame |
getMainFrame() |
static PluginsManager |
getManager()
Return a reference to DataManager.
|
static void |
registerActionInfoManager(Class clazz) |
static void |
registerDefaultManager(Class clazz)
Registers a class as the default DataManager.
|
static void |
registerLocaleManager(Class clazz) |
static void |
registerManager(Class clazz)
Registers the Class implementing the DataManager interface.
|
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final String PLUGINS_MANAGER_NAME
public static final String PLUGINS_ACTIONINFO_MANAGER_NAME
public static final String PLUGINS_LOCALE_MANAGER_NAME
public static PluginsLocator getInstance()
public 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 void registerManager(Class clazz)
clazz
- implementing the DataManager interfacepublic static void registerDefaultManager(Class clazz)
clazz
- implementing the DataManager interfacepublic static ActionInfoManager getActionInfoManager() throws LocatorException
LocatorException
public static void registerActionInfoManager(Class clazz)
public static MainFrame getMainFrame()
public static LocaleManager getLocaleManager() throws LocatorException
LocatorException
public static void registerLocaleManager(Class clazz)