Author: scabanovich
Date: 2007-07-18 09:29:40 -0400 (Wed, 18 Jul 2007)
New Revision: 2500
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamPreferences.java
Log:
EXIN-327 Preferences for validation - instruction added to SeamPreferences
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
12:21:00 UTC (rev 2499)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamPreferences.java 2007-07-18
13:29:40 UTC (rev 2500)
@@ -18,6 +18,23 @@
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
/**
+ * Constants for names of seam preferences.
+ * Static accesses to seam preferences.
+ *
+ * Framework for Severity preferences.
+ * 1) Add constant using static method createSeverityOption(String)
+ * Put it under relevant section, e.g. //components, or create new section
+ * 2) Create in org.jboss.tools.seam.internal.core.validation.messages.properties
+ * error message with the same name
+ * 3) Add to org.jboss.tools.seam.ui.preferences.SeamPreferencesMessages
+ * and to org.jboss.tools.seam.ui.preferences.SeamPreferencesMessages.properties
+ * constant and property named SeamValidatorConfigurationBlock_pb_%name%_label,
+ * where %name% is produced from constant name in SeamPreferences like AAA_BBB_CCC
-> aaaBbbCcc.
+ * Put these entries under relevant section. For a new section add constant and
property
+ * SeamValidatorConfigurationBlock_section_%newSectionName%
+ * 4) In class org.jboss.tools.seam.ui.preferences.SeamPreferencesMessages
+ * modify SectionDescription constants, according to instruction there.
+ *
* @author Viacheslav Kabanovich
*/
public class SeamPreferences {
Show replies by date