public class HyperlinkExtension extends Extension
Modifier and Type | Field and Description |
---|---|
static String |
ACTIONSEXTENSIONPOINT |
static String |
LAYERPROPERTYNAME |
static String |
TOOLNAME |
Constructor and Description |
---|
HyperlinkExtension() |
Modifier and Type | Method and Description |
---|---|
void |
execute(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 String LAYERPROPERTYNAME
public static final String TOOLNAME
public static final String ACTIONSEXTENSIONPOINT
public void execute(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