org.gvsig.fmap.mapcontrol
Class MapControlLocator

java.lang.Object
  extended by org.gvsig.tools.locator.AbstractLocator
      extended by 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
static java.lang.String EDITING_NOTIFICATION_MANAGER_NAME
           
static java.lang.String MAPCONTROL_MANAGER_NAME
          MapControlManager name used by the locator to access the instance
 
Constructor Summary
MapControlLocator()
           
 
Method Summary
static EditingNotificationManager getEditingNotificationManager()
           
static MapControlLocator getInstance()
          Return the singleton instance.
 java.lang.String getLocatorName()
           
static MapControlManager getMapControlManager()
          Return a reference to MapControlManager.
static void registerEditingNotificationManager(java.lang.Class clazz)
           
static void registerMapControlManager(java.lang.Class clazz)
          Registers the Class implementing the MapControlManager interface.
 
Methods inherited from class org.gvsig.tools.locator.AbstractLocator
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EDITING_NOTIFICATION_MANAGER_NAME

public static final java.lang.String EDITING_NOTIFICATION_MANAGER_NAME
See Also:
Constant Field Values

MAPCONTROL_MANAGER_NAME

public static final java.lang.String MAPCONTROL_MANAGER_NAME
MapControlManager name used by the locator to access the instance

See Also:
Constant Field Values
Constructor Detail

MapControlLocator

public MapControlLocator()
Method Detail

getEditingNotificationManager

public static EditingNotificationManager getEditingNotificationManager()
                                                                throws org.gvsig.tools.locator.LocatorException
Throws:
org.gvsig.tools.locator.LocatorException

getInstance

public static MapControlLocator getInstance()
Return the singleton instance.

Returns:
the singleton instance

getLocatorName

public java.lang.String getLocatorName()

getMapControlManager

public static MapControlManager getMapControlManager()
                                              throws org.gvsig.tools.locator.LocatorException
Return a reference to MapControlManager.

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:
Locator.get(String)

registerEditingNotificationManager

public static void registerEditingNotificationManager(java.lang.Class clazz)

registerMapControlManager

public static void registerMapControlManager(java.lang.Class clazz)
Registers the Class implementing the MapControlManager interface.

Parameters:
clazz - implementing the MapControlManager interface


Copyright © 2014 gvSIG Association. All Rights Reserved.