public class ServiceExtension extends Extension
| Constructor and Description |
|---|
ServiceExtension() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canQueryByAction() |
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 |
isEnabled(String action) |
boolean |
isVisible()
This method is invoked by Andami to check whether the extension
(and its associated controls) is visible or hidden.
|
boolean |
isVisible(String action) |
public void initialize()
IExtensionpublic void execute(String actionCommand)
IExtensionactionCommand - An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public boolean isEnabled()
IExtensionpublic boolean isEnabled(String action)
isEnabled in interface IExtensionQueryByActionisEnabled in class Extensionpublic boolean isVisible()
IExtensionpublic boolean isVisible(String action)
isVisible in interface IExtensionQueryByActionisVisible in class Extensionpublic boolean canQueryByAction()
canQueryByAction in interface IExtensionQueryByActioncanQueryByAction in class Extension