public class MapContextLocator extends BaseLocator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_LAYER_ORDER_MANAGER_NAME |
static java.lang.String |
LAYER_ORDER_MANAGER_EXT_POINT |
static java.lang.String |
LAYER_ORDER_MANAGER_NAME |
static java.lang.String |
MAPCONTEXT_MANAGER_NAME |
static java.lang.String |
SYMBOL_MANAGER_NAME |
Modifier and Type | Method and Description |
---|---|
static LayerOrderManager |
getDefaultOrderManager()
Returns the default order manager or null if none was
registered as default.
|
static MapContextLocator |
getInstance() |
static MapContextManager |
getMapContextManager()
Return a reference to MapContextManager.
|
static java.util.List |
getOrderManagers()
Gets list of available order managers.
|
static SymbolManager |
getSymbolManager()
Return a reference to the
SymbolManager . |
static void |
registerDefaultOrderManager(java.lang.Class lom_class)
Register the class as the default order manager.
|
static void |
registerMapContextManager(java.lang.Class clazz)
Registers the Class implementing the MapContextManager interface.
|
static void |
registerOrderManager(java.lang.Class lom_class)
Adds the class to the list of available order managers
|
static void |
registerSymbolManager(java.lang.Class clazz)
Registers the Class implementing the SymbolManager interface.
|
getLocatorName
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final java.lang.String MAPCONTEXT_MANAGER_NAME
public static final java.lang.String SYMBOL_MANAGER_NAME
public static final java.lang.String DEFAULT_LAYER_ORDER_MANAGER_NAME
public static final java.lang.String LAYER_ORDER_MANAGER_NAME
public static final java.lang.String LAYER_ORDER_MANAGER_EXT_POINT
public static MapContextLocator getInstance()
public static MapContextManager getMapContextManager() throws LocatorException
LocatorException
- if there is no access to the class or the class cannot be
instantiatedLocator.get(String)
public static void registerMapContextManager(java.lang.Class clazz)
clazz
- implementing the MapContextManager interfacepublic static SymbolManager getSymbolManager() throws LocatorException
SymbolManager
.LocatorException
- if there is no access to the class or the class cannot be
instantiatedLocator.get(String)
public static void registerSymbolManager(java.lang.Class clazz)
clazz
- implementing the SymbolManager interfacepublic static void registerDefaultOrderManager(java.lang.Class lom_class) throws LocatorException
lom_class
- LocatorException
public static void registerOrderManager(java.lang.Class lom_class)
lom_class
- public static LayerOrderManager getDefaultOrderManager() throws LocatorException
LocatorException
public static java.util.List getOrderManagers()