diff --git a/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/messages.properties b/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/messages.properties index 68d1f8fa86..9b3d3b8cc4 100644 --- a/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/messages.properties +++ b/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/messages.properties @@ -332,7 +332,7 @@ priority.column.name.pmd.tooltip = Original priority name as specified in PMD priority.column.value = Value priority.column.value.tooltip = Relative value, 1 = highest priority.column.size = Size -priority.column.shape = Shape +priority.column.symbol = Symbol priority.column.shape.tooltip = Decoration marker shape priority.column.color = Color priority.column.color.tooltip = Decoration marker color diff --git a/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/test/net/sourceforge/pmd/eclipse/ui/preferences/editors/NonRuleWithAllPropertyTypes.java b/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/test/net/sourceforge/pmd/eclipse/ui/preferences/editors/NonRuleWithAllPropertyTypes.java index 01e4a9ebbe..d941c0b2a5 100755 --- a/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/test/net/sourceforge/pmd/eclipse/ui/preferences/editors/NonRuleWithAllPropertyTypes.java +++ b/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/test/net/sourceforge/pmd/eclipse/ui/preferences/editors/NonRuleWithAllPropertyTypes.java @@ -9,6 +9,7 @@ import net.sourceforge.pmd.lang.rule.properties.CharacterMultiProperty; import net.sourceforge.pmd.lang.rule.properties.CharacterProperty; import net.sourceforge.pmd.lang.rule.properties.EnumeratedMultiProperty; import net.sourceforge.pmd.lang.rule.properties.EnumeratedProperty; +import net.sourceforge.pmd.lang.rule.properties.FileProperty; import net.sourceforge.pmd.lang.rule.properties.FloatMultiProperty; import net.sourceforge.pmd.lang.rule.properties.FloatProperty; import net.sourceforge.pmd.lang.rule.properties.IntegerMultiProperty; @@ -68,7 +69,8 @@ public class NonRuleWithAllPropertyTypes extends AbstractJavaRule { public static final EnumeratedProperty enumType = new EnumeratedProperty("enumType", "Enumerated choices", new String[] {"String", "Object"}, new Class[] {String.class, Object.class}, 1, 5.0f); public static final EnumeratedMultiProperty multiEnumType = new EnumeratedMultiProperty("multiEnumType", "Multiple enumerated choices", new String[] {"String", "Object"}, new Class[] {String.class, Object.class}, new int[] {0,1}, 5.0f); - + public static final FileProperty singleFile = new FileProperty("singleFile", "File value", null , 3.0f); + public NonRuleWithAllPropertyTypes() { super(); definePropertyDescriptor(singleStr); @@ -89,5 +91,6 @@ public class NonRuleWithAllPropertyTypes extends AbstractJavaRule { definePropertyDescriptor(singleMethod); definePropertyDescriptor(multiMethod); definePropertyDescriptor(multiEnumType); + definePropertyDescriptor(singleFile); } }