Author: scabanovich
Date: 2007-07-18 07:42:48 -0400 (Wed, 18 Jul 2007)
New Revision: 2497
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamPreferences.java
Log:
EXIN-327 Preferences for validation
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamPreferences.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamPreferences.java 2007-07-18
11:42:01 UTC (rev 2496)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamPreferences.java 2007-07-18
11:42:48 UTC (rev 2497)
@@ -57,21 +57,21 @@
allOptionNames.addAll(severityOptionNames);
}
- public IEclipsePreferences getProjectPreferences(ISeamProject project) {
+ public static IEclipsePreferences getProjectPreferences(ISeamProject project) {
return new ProjectScope(project.getProject()).getNode(SeamCorePlugin.PLUGIN_ID);
}
- public IEclipsePreferences getDefaultPreferences() {
+ public static IEclipsePreferences getDefaultPreferences() {
return new DefaultScope().getNode(SeamCorePlugin.PLUGIN_ID);
}
- public String getProjectPreference(ISeamProject project, String key) {
+ public static String getProjectPreference(ISeamProject project, String key) {
IEclipsePreferences p = getProjectPreferences(project);
if(p == null) return null;
return p.get(key, null);
}
- public String getDefaultPreference(String key) {
+ public static String getDefaultPreference(String key) {
IEclipsePreferences p = getDefaultPreferences();
if(p == null) return null;
return p.get(key, null);
Show replies by date