public class ScriptLaunchExtension extends Extension
Constructor and Description |
---|
ScriptLaunchExtension() |
Modifier and Type | Method and Description |
---|---|
boolean |
canQueryByAction() |
void |
execute(String action)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
void |
execute(String action,
Object[] args) |
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()
IExtension
public boolean isEnabled()
IExtension
public boolean isVisible()
IExtension
public boolean canQueryByAction()
canQueryByAction
in interface IExtensionQueryByAction
canQueryByAction
in class Extension
public void execute(String action)
IExtension
action
- An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public void execute(String action, Object[] args)
execute
in interface IExtensionExecuteWithArgs
execute
in class Extension
public boolean isVisible(String action)
isVisible
in interface IExtensionQueryByAction
isVisible
in class Extension
public boolean isEnabled(String action)
isEnabled
in interface IExtensionQueryByAction
isEnabled
in class Extension