01: package net.refractions.udig.ui.preferences;
02:
03: import net.refractions.udig.ui.FeatureTypeEditor;
04:
05: /**
06: * Constant definitions for plug-in preferences
07: */
08: public class PreferenceConstants {
09:
10: /**
11: * Work around for a bug in SWT on linux. Allows the use of advancedGraphics to be turned off.
12: */
13: public static final String P_ADVANCED_GRAPHICS = "advancedGraphics"; //$NON-NLS-1$
14:
15: /**
16: * Fully qualified extension id pointing to an extension instance of point
17: * "net.refractions.udig.ui.workbenchConfigurations". The value specified by
18: * the extension id will be called upon to configure the workbench when it
19: * starts up.
20: */
21: public static final String P_WORKBENCH_CONFIGURATION = "workbenchConfiguration"; //$NON-NLS-1$
22:
23: /**
24: * Fully qualified extension id pointing to an instance of extension point
25: * "net.refractions.udig.ui.menuBuilders". The MenuBuilder specified by the
26: * extension will be called by uDig to configure the menubar and coolbar.
27: */
28: public static final String P_MENU_BUILDER = "menuBuilder"; //$NON-NLS-1$
29:
30: /**
31: * The CRS to use by default when creating a new FeatureType with the {@link FeatureTypeEditor}
32: *
33: * It may be an EPSG code like "EPSG:3005" or wkt
34: */
35: public static final String P_DEFAULT_GEOMEMTRY_CRS = "P_DEFAULT_GEOMEMTRY_CRS"; //$NON-NLS-1$
36:
37: public static final String P_DEFAULT_PERSPECTIVE = "defaultPerspective";
38:
39: /**
40: * Controls whether the TipDialog should be displayed by default on startup.
41: * Defaults to true, but can be set in plugin_customization.ini.
42: * Valid values: "true" or "false"
43: */
44: public static final String P_SHOW_TIPS = "showTips"; //$NON-NLS-1$
45:
46: }
|