Lines 108-113
Link Here
|
108 |
* @since 3.0 |
108 |
* @since 3.0 |
109 |
*/ |
109 |
*/ |
110 |
static String ID_PERSPECTIVE_HIERARCHY_VIEW = "perspective_hierarchy_view_id"; //$NON-NLS-1$ |
110 |
static String ID_PERSPECTIVE_HIERARCHY_VIEW = "perspective_hierarchy_view_id"; //$NON-NLS-1$ |
|
|
111 |
/** |
112 |
* @since 3.1 |
113 |
*/ |
114 |
static String SHOW_JAVA_EE_MODULE_DEPENDENCY_PAGE = "showJavaEEModuleDependencyPage"; //$NON-NLS-1$ |
111 |
|
115 |
|
112 |
} |
116 |
} |
113 |
|
117 |
|
Lines 152-157
Link Here
|
152 |
final static boolean USE_EAR_LIBRARIES_JDT_EXPORT = false; |
156 |
final static boolean USE_EAR_LIBRARIES_JDT_EXPORT = false; |
153 |
final static String ID_PERSPECTIVE_HIERARCHY_VIEW = "org.eclipse.ui.navigator.ProjectExplorer"; //$NON-NLS-1$ |
157 |
final static String ID_PERSPECTIVE_HIERARCHY_VIEW = "org.eclipse.ui.navigator.ProjectExplorer"; //$NON-NLS-1$ |
154 |
final static boolean ALLOW_CLASSPATH_DEP = true; |
158 |
final static boolean ALLOW_CLASSPATH_DEP = true; |
|
|
159 |
final static boolean SHOW_JAVA_EE_MODULE_DEPENDENCY_PAGE = true; |
155 |
} |
160 |
} |
156 |
|
161 |
|
157 |
private Plugin owner = null; |
162 |
private Plugin owner = null; |
Lines 198-203
Link Here
|
198 |
String perspectiveID = ProductManager.getProperty(IProductConstants.ID_PERSPECTIVE_HIERARCHY_VIEW); |
203 |
String perspectiveID = ProductManager.getProperty(IProductConstants.ID_PERSPECTIVE_HIERARCHY_VIEW); |
199 |
getPreferences().setDefault(Keys.ID_PERSPECTIVE_HIERARCHY_VIEW, (perspectiveID != null) ? perspectiveID : Defaults.ID_PERSPECTIVE_HIERARCHY_VIEW); |
204 |
getPreferences().setDefault(Keys.ID_PERSPECTIVE_HIERARCHY_VIEW, (perspectiveID != null) ? perspectiveID : Defaults.ID_PERSPECTIVE_HIERARCHY_VIEW); |
200 |
getPreferences().setDefault(Keys.ALLOW_CLASSPATH_DEP, Defaults.ALLOW_CLASSPATH_DEP); |
205 |
getPreferences().setDefault(Keys.ALLOW_CLASSPATH_DEP, Defaults.ALLOW_CLASSPATH_DEP); |
|
|
206 |
String showJavaEEModuleDependencyPage = ProductManager.getProperty(IProductConstants.SHOW_JAVA_EE_MODULE_DEPENDENCY_PAGE); |
207 |
boolean showJavaEEModuleDependencyPageDefault = (showJavaEEModuleDependencyPage != null) ? Boolean.parseBoolean(showJavaEEModuleDependencyPage) : Defaults.SHOW_JAVA_EE_MODULE_DEPENDENCY_PAGE; |
208 |
getPreferences().setDefault(Keys.SHOW_JAVA_EE_MODULE_DEPENDENCY_PAGE, showJavaEEModuleDependencyPageDefault); |
201 |
} |
209 |
} |
202 |
|
210 |
|
203 |
|
211 |
|