Changeset 1467 for trunk/modelicaml/org.openmodelica.modelicaml.editor.xtext.valuebinding.provider/src/org/openmodelica
- Timestamp:
- 03/29/12 19:18:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modelicaml/org.openmodelica.modelicaml.editor.xtext.valuebinding.provider/src/org/openmodelica/modelicaml/editor/xtext/valuebinding/validation/ProviderJavaValidator.java
r1331 r1467 3 3 import java.util.List; 4 4 5 import org.eclipse.emf.ecore.EStructuralFeature;6 5 import org.eclipse.xtext.validation.Check; 7 6 import org.openmodelica.modelicaml.common.constants.Constants; … … 38 37 } 39 38 if ( !cList.contains(dotPath) ) { 40 error("component_reference '" + dotPath + "' cannot be resolved to a class component", (EStructuralFeature) cr, ModeleditorPackage.COMPONENT_REFERENCE);39 error("component_reference '" + dotPath + "' cannot be resolved to a class component", null, ModeleditorPackage.COMPONENT_REFERENCE); 41 40 } 42 41 } … … 61 60 62 61 if ( !cList.contains(cr.getName_ID()) ) { 63 error("name '" + cr.getName_ID() + "' cannot be resolved", (EStructuralFeature) cr, ModeleditorPackage.NAME__NAME_ID);62 error("name '" + cr.getName_ID() + "' cannot be resolved", null, ModeleditorPackage.NAME__NAME_ID); 64 63 } 65 64 }
Note: See TracChangeset
for help on using the changeset viewer.