public class DefaultAnnotationSwingManager extends Object implements AnnotationSwingManager
AnnotationSwingManager
.Constructor and Description |
---|
DefaultAnnotationSwingManager() |
Modifier and Type | Method and Description |
---|---|
JAnnotationCreationServicePanel |
createAnnotation(AnnotationCreationService annotationCreationService)
Returns the panel associated to a
AnnotationCreationService . |
JAnnotationPreferencesPanel |
createAnnotationPreferences() |
AnnotationManager |
getManager()
Returns the
AnnotationManager . |
String |
getTranslation(String key) |
AnnotationWindowManager |
getWindowManager()
Returns the
LandRegistryViewerWindowManager . |
void |
registerWindowManager(AnnotationWindowManager windowManager)
Registers a new instance of a WindowManager which provides services to
the management of the application windows.
|
public JAnnotationCreationServicePanel createAnnotation(AnnotationCreationService annotationCreationService) throws ServiceException
AnnotationSwingManager
AnnotationCreationService
.createAnnotation
in interface AnnotationSwingManager
annotationCreationService
- AnnotationCreationService
contained on the panelJAnnotationCreationServicePanel
with the panel of the
AnnotationCreationService
ServiceException
JAnnotationCreationServicePanel
,
AnnotationCreationService
public JAnnotationPreferencesPanel createAnnotationPreferences()
createAnnotationPreferences
in interface AnnotationSwingManager
public AnnotationManager getManager()
AnnotationSwingManager
AnnotationManager
.getManager
in interface AnnotationSwingManager
AnnotationManager
AnnotationManager}
public String getTranslation(String key)
getTranslation
in interface AnnotationSwingManager
public AnnotationWindowManager getWindowManager()
AnnotationSwingManager
LandRegistryViewerWindowManager
.getWindowManager
in interface AnnotationSwingManager
LandRegistryViewerWindowManager
LandRegistryViewerWindowManager}
public void registerWindowManager(AnnotationWindowManager windowManager)
AnnotationSwingManager
registerWindowManager
in interface AnnotationSwingManager
windowManager
- LandRegistryViewerWindowManager
to register in the
ScriptingUIManager.LandRegistryViewerWindowManager