public class HyperlinkExtension extends Extension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIONSEXTENSIONPOINT |
static java.lang.String |
LAYERPROPERTYNAME |
static java.lang.String |
TOOLNAME |
Constructor and Description |
---|
HyperlinkExtension() |
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.String s)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
ManagerRegistry |
getLayerManager() |
void |
initialize()
Extension's initialization code should be here.
|
void |
initTool(IView view)
Inits the tool for the provided view.
|
boolean |
isEnabled()
This method is invoked by Andami to check whether the extension
(and its associated controls) is enabled or disabled.
|
boolean |
isVisible()
This method is invoked by Andami to check whether the extension
(and its associated controls) is visible or hidden.
|
LayerLinkConfig |
loadLegacyConfig(FLayer layer)
Returns a LayerLinkConfig object if an old-style or new-style hyperlink
was found and configured,
or null otherwise.
|
void |
loadLegacyConfig(IView view) |
void |
postInitialize()
Extension's post-initialization code should be here.
|
public static final java.lang.String LAYERPROPERTYNAME
public static final java.lang.String TOOLNAME
public static final java.lang.String ACTIONSEXTENSIONPOINT
public void execute(java.lang.String s)
IExtension
s
- An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.com.iver.andami.plugins.IExtension#execute(java.lang.String)
public void initTool(IView view)
view
- public void loadLegacyConfig(IView view)
public LayerLinkConfig loadLegacyConfig(FLayer layer)
layer
- public boolean isVisible()
IExtension
com.iver.mdiApp.plugins.IExtension#isVisible()
public boolean isEnabled()
IExtension
com.iver.andami.plugins.IExtension#isEnabled()
public void postInitialize()
IExtension
initialize()
has been called for ALL the extensions.postInitialize
in interface IExtension
postInitialize
in class Extension
public ManagerRegistry getLayerManager()
public void initialize()
IExtension