Package org.gvsig.fmap.mapcontrol
Class MapControlLocator
java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.fmap.mapcontrol.MapControlLocator
- All Implemented Interfaces:
org.gvsig.tools.locator.Locator,org.gvsig.tools.locator.Locator_withExists
public class MapControlLocator
extends org.gvsig.tools.locator.AbstractLocator
- Author:
- Jorge Piera
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MapControlLocatorReturn the singleton instance.static MapControlManagerReturn a reference toMapControlManager.static org.gvsig.propertypage.PropertiesPageManagerstatic voidregisterMapControlManager(Class clazz) Registers the Class implementing theMapControlManagerinterface.Methods inherited from class org.gvsig.tools.locator.AbstractLocator
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
-
Field Details
-
MAPCONTROL_MANAGER_NAME
MapControlManager name used by the locator to access the instance- See Also:
-
EDITING_NOTIFICATION_MANAGER_NAME
- See Also:
-
PROPERTIES_PAGE_MANAGER_NAME
- See Also:
-
-
Constructor Details
-
MapControlLocator
public MapControlLocator()
-
-
Method Details
-
getLocatorName
-
getMapControlManager
public static MapControlManager getMapControlManager() throws org.gvsig.tools.locator.LocatorExceptionReturn a reference toMapControlManager.- Returns:
- a reference to MapControlManager
- Throws:
org.gvsig.tools.locator.LocatorException- if there is no access to the class or the class cannot be instantiated- See Also:
-
getInstance
Return the singleton instance.- Returns:
- the singleton instance
-
registerMapControlManager
Registers the Class implementing theMapControlManagerinterface.- Parameters:
clazz- implementing the MapControlManager interface
-
getPropertiesPageManager
public static org.gvsig.propertypage.PropertiesPageManager getPropertiesPageManager()
-