public class ROIMaskExtension extends Extension implements ActionListener, IProcessActions
| Modifier and Type | Class and Description |
|---|---|
class |
ROIMaskExtension.LayerElement |
| Constructor and Description |
|---|
ROIMaskExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
end(Object params)
Acciones de finalización del proceso
|
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.
|
void |
interrupted()
El proceso comunica que ha sido interrumpido
|
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.
|
void |
postInitialize()
Extension's post-initialization code should be here.
|
void |
updateProgress(int current,
int total)
A process can report the progress of the task
|
public void initialize()
IExtensioninitialize in interface IExtensionpublic void postInitialize()
IExtensioninitialize()
has been called for ALL the extensions.postInitialize in interface IExtensionpostInitialize in class Extensionpublic 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 boolean isEnabled()
IExtensionisEnabled in interface IExtensionpublic boolean isVisible()
IExtensionisVisible in interface IExtensionpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void end(Object params)
IProcessActionsend in interface IProcessActionspublic void interrupted()
IProcessActionsinterrupted in interface IProcessActionspublic void updateProgress(int current,
int total)
IProcessActionsupdateProgress in interface IProcessActions