Package org.gvsig.annotation.swing
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationSwingLocatorReturn the singleton instance.final StringReturn the Locator's namestatic AnnotationSwingManagerGets the instance of theregistered.invalid reference
ScriptingUIManagerstatic voidregisterSwingManager(Class<? extends AnnotationSwingManager> clazz) Registers the Class implementing the PersistenceManager interface.Methods inherited from class org.gvsig.tools.locator.AbstractLocator
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
-
Field Details
-
SWING_MANAGER_NAME
Annotation swing manager name.- See Also:
-
SWING_MANAGER_DESCRIPTION
Annotation swing manager description.- See Also:
-
-
Constructor Details
-
AnnotationSwingLocator
public AnnotationSwingLocator()
-
-
Method Details
-
getInstance
Return the singleton instance.- Returns:
- the singleton instance
-
getLocatorName
Return the Locator's name- Specified by:
getLocatorNamein interfaceorg.gvsig.tools.locator.Locator- Overrides:
getLocatorNamein classorg.gvsig.tools.locator.BaseLocator- Returns:
- a String with the Locator's name
-
registerSwingManager
Registers the Class implementing the PersistenceManager interface.- Parameters:
clazz- implementing the PersistenceManager interface
-
getSwingManager
Gets the instance of theregistered.invalid reference
ScriptingUIManager- Returns:
-
invalid reference
ScriptingUIManager
-