public class ViewControls extends Extension implements IPreferenceExtension
Constructor and Description |
---|
ViewControls() |
Modifier and Type | Method and Description |
---|---|
void |
execute(String s)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
void |
execute(String command,
Object[] args) |
IPreference[] |
getPreferencesPages() |
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.
|
void |
postInitialize()
Extension's post-initialization code should be here.
|
public void execute(String s)
IExtension
execute
in interface IExtension
s
- An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public void execute(String command, Object[] args)
execute
in interface IExtensionExecuteWithArgs
execute
in class Extension
public boolean isVisible()
IExtension
isVisible
in interface IExtension
public void initialize()
IExtension
initialize
in interface IExtension
public void postInitialize()
IExtension
initialize()
has been called for ALL the extensions.postInitialize
in interface IExtension
postInitialize
in class Extension
public boolean isEnabled()
IExtension
isEnabled
in interface IExtension
public IPreference[] getPreferencesPages()
getPreferencesPages
in interface IPreferenceExtension