- Timestamp:
- 03/29/12 19:18:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modelicaml/org.openmodelica.modelicaml.editor.xtext.modification/src/org/openmodelica/modelicaml/editor/xtext/modification/validation/ModificationJavaValidator.java
r1315 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.contentassist.ModelicaMLContentAssist; … … 29 28 } 30 29 if ( !cList.contains(dotPath) ) { 31 error("left_hand_component_reference '" + dotPath + "' cannot be resolved to a class component", (EStructuralFeature) cr, ModeleditorPackage.COMPONENT_REFERENCE);30 error("left_hand_component_reference '" + dotPath + "' cannot be resolved to a class component", null, ModeleditorPackage.COMPONENT_REFERENCE); 32 31 } 33 32 } … … 41 40 List<String> cList = ModelicaMLContentAssist.getTypeSpecifierSortedList(); 42 41 if ( !cList.contains(cr.getName().getName_ID()) ) { 43 error("type_specifier '" + cr.getName().getName_ID() + "' cannot be resolved", (EStructuralFeature) cr, ModeleditorPackage.NAME__NAME_ID);42 error("type_specifier '" + cr.getName().getName_ID() + "' cannot be resolved", null, ModeleditorPackage.NAME__NAME_ID); 44 43 } 45 44 }
Note: See TracChangeset
for help on using the changeset viewer.