public class PreferencesExtension
extends org.gvsig.andami.plugins.Extension
Extension that provides support for visual application configuration through a Preferences dialog where the user can specify its own settings for general purpose aspects.
Adding new preference pages is made through ExtensionPoints by invoking this.extensionPoints.add("AplicationPreferences","YourIPreferencesClassName", yourIPreferencesPage); and then call DlgPreferences.refreshExtensionPoints();
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DATA_FOLDER_PROPERTY_NAME |
static java.lang.String |
PROJECTS_FOLDER_PROPERTY_NAME |
static java.lang.String |
SYMBOL_LIBRARY_FOLDER_PROPERTY_NAME |
static java.lang.String |
TEMPLATES_FOLDER_PROPERTY_NAME |
| Constructor and Description |
|---|
PreferencesExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPreferencesPage(org.gvsig.andami.preferences.IPreference pp) |
void |
execute(java.lang.String actionCommand) |
void |
initialize() |
boolean |
isEnabled() |
boolean |
isVisible() |
void |
postInitialize() |
public static final java.lang.String DATA_FOLDER_PROPERTY_NAME
public static final java.lang.String PROJECTS_FOLDER_PROPERTY_NAME
public static final java.lang.String SYMBOL_LIBRARY_FOLDER_PROPERTY_NAME
public static final java.lang.String TEMPLATES_FOLDER_PROPERTY_NAME
public void addPreferencesPage(org.gvsig.andami.preferences.IPreference pp)
public void execute(java.lang.String actionCommand)
public void initialize()
public boolean isEnabled()
public boolean isVisible()
public void postInitialize()
postInitialize in interface org.gvsig.andami.plugins.IExtensionpostInitialize in class org.gvsig.andami.plugins.ExtensionCopyright © 2022 gvSIG Association. All rights reserved.