Ignore:
Timestamp:
03/29/12 19:18:54 (12 years ago)
Author:
wschamai
Message:

BUG FIX: validator

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  
    33import java.util.List;
    44
    5 import org.eclipse.emf.ecore.EStructuralFeature;
    65import org.eclipse.xtext.validation.Check;
    76import org.openmodelica.modelicaml.common.constants.Constants;
     
    3837        }
    3938        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);
    4140        }
    4241    }
     
    6160       
    6261        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);
    6463        }
    6564    }
Note: See TracChangeset for help on using the changeset viewer.