public abstract class JMapClientExtension
extends java.lang.Object
init()
method is typically called at the application
startup and receives a reference to the application context object which
provides various information about the application.
The initGUI()
method is called after the application GUI is
initialized.
The destroy()
method is typically called at application exit.JMapApplicationContext
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXTENSION_MANIFEST_ATTRIBUTE_CLASS |
static java.lang.String |
EXTENSION_MANIFEST_ATTRIBUTE_DEPENDENCIES |
static java.lang.String |
EXTENSION_MANIFEST_ATTRIBUTE_DEPLOYER |
static java.lang.String |
EXTENSION_MANIFEST_ATTRIBUTE_NAME |
static java.lang.String |
EXTENSION_MANIFEST_ATTRIBUTE_VERSION |
static java.lang.String |
EXTENSION_PARAMETER_GUI_VISIBLE |
static java.lang.String |
EXTENSION_PARAMETER_TOOLBAR_VISIBLE |
Constructor and Description |
---|
JMapClientExtension() |
Modifier and Type | Method and Description |
---|---|
abstract void |
destroy()
Tells the extension to do its cleanup before the application exits.
|
abstract void |
init(JMapApplicationContext appContext)
Deprecated.
Replaced by
init(JMapApplicationContext, java.util.Map) |
void |
init(JMapApplicationContext appContext,
java.util.Map<java.lang.String,java.lang.String> mapExtensionParameters)
Tells the extension to initialize itself.
|
abstract void |
initGUI()
Tells the extension to initialize its GUI (toolbars, menus, etc).
|
public static final java.lang.String EXTENSION_MANIFEST_ATTRIBUTE_CLASS
public static final java.lang.String EXTENSION_MANIFEST_ATTRIBUTE_NAME
public static final java.lang.String EXTENSION_MANIFEST_ATTRIBUTE_VERSION
public static final java.lang.String EXTENSION_MANIFEST_ATTRIBUTE_DEPLOYER
public static final java.lang.String EXTENSION_MANIFEST_ATTRIBUTE_DEPENDENCIES
public static final java.lang.String EXTENSION_PARAMETER_TOOLBAR_VISIBLE
public static final java.lang.String EXTENSION_PARAMETER_GUI_VISIBLE
@Deprecated public abstract void init(JMapApplicationContext appContext)
init(JMapApplicationContext, java.util.Map)
appContext
- the JMap client application contextpublic void init(JMapApplicationContext appContext, java.util.Map<java.lang.String,java.lang.String> mapExtensionParameters)
appContext
- the JMap client application contextmapExtensionParameters
- a map containing parameters for the extensionpublic abstract void initGUI()
public abstract void destroy()