public class NewLayerPreferencesExtension extends Extension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFERENCE_DISABLED_PROVIDERS
The name of the preferences property with the names of the hidden
NewLayerSwingProviderFactory.
|
static java.lang.String |
PREFERENCE_ENABLED_PROVIDERS |
Constructor and Description |
---|
NewLayerPreferencesExtension() |
Modifier and Type | Method and Description |
---|---|
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).
|
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.
|
public static final java.lang.String PREFERENCE_DISABLED_PROVIDERS
public static final java.lang.String PREFERENCE_ENABLED_PROVIDERS
public void initialize()
IExtension
public void execute(java.lang.String actionCommand)
IExtension
actionCommand
- An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public boolean isEnabled()
IExtension
public boolean isVisible()
IExtension