public class CacheExtension extends Extension implements ConfigurationListener
| Constructor and Description |
|---|
CacheExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionConfigurationChanged(ConfigurationEvent e)
Evento que se dispara cuando cambia un valor de configuracion.
|
void |
execute(ITocItem item,
FLayer[] selectedItems) |
void |
execute(String actionCommand)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
void |
initialize()
Extension's initialization code should be here.
|
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.
|
static void |
messageBoxError(String msg,
Object parentWindow)
Shows an error dialog with a text and a accept button
|
static boolean |
messageBoxYesOrNot(String msg,
Object parentWindow)
Shows an error dialog with a text and a YesOrNot button
|
void |
postInitialize()
Extension's post-initialization code should be here.
|
public void execute(String actionCommand)
IExtensionexecute in interface IExtensionactionCommand - An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public void initialize()
IExtensioninitialize in interface IExtensionpublic boolean isEnabled()
IExtensionisEnabled in interface IExtensionpublic boolean isVisible()
IExtensionisVisible in interface IExtensionpublic void actionConfigurationChanged(ConfigurationEvent e)
ConfigurationListeneractionConfigurationChanged in interface ConfigurationListenerpublic void postInitialize()
IExtensioninitialize()
has been called for ALL the extensions.postInitialize in interface IExtensionpostInitialize in class Extensionpublic static void messageBoxError(String msg, Object parentWindow)
msg - Message to show in the dialogparentWindow - Parent windowpublic static boolean messageBoxYesOrNot(String msg, Object parentWindow)
msg - Message to show in the dialog.parentWindow - Parent window