Class AnnotationSwingLocator

java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.tools.locator.BaseLocator
org.gvsig.annotation.swing.AnnotationSwingLocator
All Implemented Interfaces:
org.gvsig.tools.locator.Locator, org.gvsig.tools.locator.Locator_withExists

public class AnnotationSwingLocator extends org.gvsig.tools.locator.BaseLocator
This locator is the entry point for the Annotation swing library, providing access to all Annotation swing services through the AnnotationSwingManager .
Version:
$Id$
Author:
gvSIG team
  • Field Details

    • SWING_MANAGER_NAME

      public static final String SWING_MANAGER_NAME
      Annotation swing manager name.
      See Also:
    • SWING_MANAGER_DESCRIPTION

      public static final String SWING_MANAGER_DESCRIPTION
      Annotation swing manager description.
      See Also:
  • Constructor Details

    • AnnotationSwingLocator

      public AnnotationSwingLocator()
  • Method Details

    • getInstance

      public static AnnotationSwingLocator getInstance()
      Return the singleton instance.
      Returns:
      the singleton instance
    • getLocatorName

      public final String getLocatorName()
      Return the Locator's name
      Specified by:
      getLocatorName in interface org.gvsig.tools.locator.Locator
      Overrides:
      getLocatorName in class org.gvsig.tools.locator.BaseLocator
      Returns:
      a String with the Locator's name
    • registerSwingManager

      public static void registerSwingManager(Class<? extends AnnotationSwingManager> clazz)
      Registers the Class implementing the PersistenceManager interface.
      Parameters:
      clazz - implementing the PersistenceManager interface
    • getSwingManager

      public static AnnotationSwingManager getSwingManager()
      Gets the instance of the
      invalid reference
      ScriptingUIManager
      registered.
      Returns:
      invalid reference
      ScriptingUIManager