Class MapContextLocator

java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.tools.locator.BaseLocator
org.gvsig.fmap.mapcontext.MapContextLocator
All Implemented Interfaces:
org.gvsig.tools.locator.Locator, org.gvsig.tools.locator.Locator_withExists

public class MapContextLocator extends org.gvsig.tools.locator.BaseLocator
Locator for the MapContext library.
Author:
Cèsar Ordiñana
  • Field Details

  • Method Details

    • getInstance

      public static MapContextLocator getInstance()
    • getMapContextManager

      public static MapContextManager getMapContextManager() throws org.gvsig.tools.locator.LocatorException
      Return a reference to MapContextManager.
      Returns:
      a reference to MapContextManager
      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)
    • registerMapContextManager

      public static void registerMapContextManager(Class clazz)
      Registers the Class implementing the MapContextManager interface.
      Parameters:
      clazz - implementing the MapContextManager interface
    • getSymbolManager

      public static SymbolManager getSymbolManager() throws org.gvsig.tools.locator.LocatorException
      Return a reference to the SymbolManager.
      Returns:
      a reference to the SymbolManager.
      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)
    • registerSymbolManager

      public static void registerSymbolManager(Class clazz)
      Registers the Class implementing the SymbolManager interface.
      Parameters:
      clazz - implementing the SymbolManager interface
    • registerDefaultOrderManager

      public static void registerDefaultOrderManager(Class lom_class) throws org.gvsig.tools.locator.LocatorException
      Register the class as the default order manager. This will only work if there is not a default order manager already. Also registers the class in the list of available order managers.
      Parameters:
      lom_class -
      Throws:
      org.gvsig.tools.locator.LocatorException
    • registerOrderManager

      public static void registerOrderManager(Class lom_class)
      Adds the class to the list of available order managers
      Parameters:
      lom_class -
    • getDefaultOrderManager

      public static LayerOrderManager getDefaultOrderManager() throws org.gvsig.tools.locator.LocatorException
      Returns the default order manager or null if none was registered as default.
      Returns:
      Throws:
      org.gvsig.tools.locator.LocatorException
    • getOrderManagers

      public static List getOrderManagers()
      Gets list of available order managers.
      Returns: