Revision ae137b34
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/validation/MarkerManager.java | ||
---|---|---|
42 | 42 |
*/ |
43 | 43 |
public class MarkerManager { |
44 | 44 |
|
45 |
public static final String MARKER_TYPE_ID = "eu.etaxonomy.taxeditor.markers.validationerror"; |
|
45 |
public static final String MARKER_TYPE_ID = "eu.etaxonomy.taxeditor.markers.validationerror"; //$NON-NLS-1$
|
|
46 | 46 |
|
47 | 47 |
/** |
48 | 48 |
* The primary key (id) of the EntityConstraintViolation record |
49 | 49 |
*/ |
50 |
public static final String ATTRIB_DATABASE_ID = "databaseId"; |
|
50 |
public static final String ATTRIB_DATABASE_ID = "databaseId"; //$NON-NLS-1$
|
|
51 | 51 |
|
52 | 52 |
// The values of the following constants must correspond to the attributes |
53 | 53 |
// defined for the org.eclipse.core.resources.markers extension point in |
... | ... | |
56 | 56 |
/** |
57 | 57 |
* A user-friendly description of the type of the entity |
58 | 58 |
*/ |
59 |
public static final String ATTRIB_USER_FRIENDLY_TYPE_NAME = "userFriendlyTypeName"; |
|
59 |
public static final String ATTRIB_USER_FRIENDLY_TYPE_NAME = "userFriendlyTypeName"; //$NON-NLS-1$
|
|
60 | 60 |
/** |
61 | 61 |
* A user-friendly description of the entity |
62 | 62 |
*/ |
63 |
public static final String ATTRIB_USER_FRIENDLY_DESCRIPTION = "userFriendlyDescription"; |
|
63 |
public static final String ATTRIB_USER_FRIENDLY_DESCRIPTION = "userFriendlyDescription"; //$NON-NLS-1$
|
|
64 | 64 |
/** |
65 | 65 |
* The field whose value violated a constraint |
66 | 66 |
*/ |
67 |
public static final String ATTRIB_USER_FRIENDLY_FIELD_NAME = "userFriendlyFieldName"; |
|
67 |
public static final String ATTRIB_USER_FRIENDLY_FIELD_NAME = "userFriendlyFieldName"; //$NON-NLS-1$
|
|
68 | 68 |
/** |
69 | 69 |
* The value violating a constraint |
70 | 70 |
*/ |
71 |
public static final String ATTRIB_INVALID_VALUE = "invalidValue"; |
|
71 |
public static final String ATTRIB_INVALID_VALUE = "invalidValue"; //$NON-NLS-1$
|
|
72 | 72 |
/** |
73 | 73 |
* The message from the {@link Validator} about what was wrong. |
74 | 74 |
*/ |
75 |
public static final String ATTRIB_VALIDATOR_MESSAGE = "validatorMessage"; |
|
75 |
public static final String ATTRIB_VALIDATOR_MESSAGE = "validatorMessage"; //$NON-NLS-1$
|
|
76 | 76 |
/** |
77 | 77 |
* The class of the {@link Validator} coding for the constraint |
78 | 78 |
*/ |
79 |
public static final String ATTRIB_VALIDATOR_CLASS = "validatorClass"; |
|
79 |
public static final String ATTRIB_VALIDATOR_CLASS = "validatorClass"; //$NON-NLS-1$
|
|
80 | 80 |
/** |
81 | 81 |
* The class of the validated entity |
82 | 82 |
*/ |
83 |
public static final String ATTRIB_ENTITY_CLASS = "entityClass"; |
|
83 |
public static final String ATTRIB_ENTITY_CLASS = "entityClass"; //$NON-NLS-1$
|
|
84 | 84 |
/** |
85 | 85 |
* The id of the validated entity |
86 | 86 |
*/ |
87 |
public static final String ATTRIB_ENTITY_ID = "entityId"; |
|
87 |
public static final String ATTRIB_ENTITY_ID = "entityId"; //$NON-NLS-1$
|
|
88 | 88 |
|
89 | 89 |
private final List<EntityConstraintViolation> problems; |
90 | 90 |
|
Also available in: Unified diff
ref #4611 some l10n for taxeditor and taxeditor.editor plugin