Changeset 17 in default for trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/actions
- Timestamp:
- 10/22/10 16:48:56 (14 years ago)
- Location:
- trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/actions/GenerateCompositeBNFAction.java
r5 r17 93 93 String coreName = null; 94 94 // get the core grammar 95 EList<Import> imports = ((EtsiBnfImpl) xtextResource.getParseResult().getRootNode().getElement()).getImport s();95 EList<Import> imports = ((EtsiBnfImpl) xtextResource.getParseResult().getRootNode().getElement()).getImportSection().getImports(); 96 96 for(int j=0; j< imports.size(); j++) { 97 97 if(imports.get(j).getGrammarType().equals("core")) … … 113 113 packageGrammars = new LinkedList<XtextResource>(); 114 114 deltas = new LinkedList<URI>(); 115 EList<Import> packages = ((EtsiBnfImpl) xtextResource.getParseResult().getRootNode().getElement()).getImport s();115 EList<Import> packages = ((EtsiBnfImpl) xtextResource.getParseResult().getRootNode().getElement()).getImportSection().getImports(); 116 116 for(int j=0; j<packages.size(); j++) { 117 117 if(packages.get(j).getGrammarType().equals("package")) { -
trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/actions/PackageConsistencyCheckerAction.java
r5 r17 65 65 Resource coreRes = null; 66 66 Resource updatedRes = null; 67 EList<Import> imports = ((EtsiBnfImpl) xtextResource.getParseResult().getRootNode().getElement()).getImport s();67 EList<Import> imports = ((EtsiBnfImpl) xtextResource.getParseResult().getRootNode().getElement()).getImportSection().getImports(); 68 68 69 69 for(int j=0; j<imports.size(); j++) {
Note: See TracChangeset
for help on using the changeset viewer.