public class RasterExtension extends Extension implements ConfigurationListener, IExtensionQueryByAction
Modifier and Type | Field and Description |
---|---|
static boolean |
autoRefreshView
Indica si en el panel de preferencias se refresca automaticamente la vista
para mostrar los cambios
|
static java.lang.String |
CLIPPING_PROCESS_LABEL |
Constructor and Description |
---|
RasterExtension() |
Modifier and Type | Method and Description |
---|---|
void |
actionConfigurationChanged(ConfigurationEvent e)
Evento que se dispara cuando cambia un valor de configuracion.
|
boolean |
canQueryByAction() |
void |
execute(ITocItem item,
FLayer[] selectedItems) |
void |
execute(java.lang.String actionCommand)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
ExtensionPoint |
getGenericToolBarMenuExtensionPoint() |
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 |
isEnabled(java.lang.String action) |
boolean |
isVisible()
Mostramos el control si hay alguna capa cargada.
|
boolean |
isVisible(java.lang.String action) |
void |
postInitialize()
Extension's post-initialization code should be here.
|
void |
registerMenuElements() |
public static final java.lang.String CLIPPING_PROCESS_LABEL
public static boolean autoRefreshView
public void execute(java.lang.String actionCommand)
IExtension
execute
in interface IExtension
actionCommand
- An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public void initialize()
IExtension
initialize
in interface IExtension
public void registerMenuElements()
public boolean isEnabled()
IExtension
isEnabled
in interface IExtension
public boolean isVisible()
isVisible
in interface IExtension
public void actionConfigurationChanged(ConfigurationEvent e)
ConfigurationListener
actionConfigurationChanged
in interface ConfigurationListener
public void postInitialize()
IExtension
initialize()
has been called for ALL the extensions.postInitialize
in interface IExtension
postInitialize
in class Extension
public boolean canQueryByAction()
canQueryByAction
in interface IExtensionQueryByAction
canQueryByAction
in class Extension
public boolean isEnabled(java.lang.String action)
isEnabled
in interface IExtensionQueryByAction
isEnabled
in class Extension
public boolean isVisible(java.lang.String action)
isVisible
in interface IExtensionQueryByAction
isVisible
in class Extension
public ExtensionPoint getGenericToolBarMenuExtensionPoint()