Changeset 67 in default for v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/outline/EbnfOutlineTreeProvider.xtend
- Timestamp:
- 05/14/14 14:22:53 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/outline/EbnfOutlineTreeProvider.xtend
r66 r67 3 3 */ 4 4 package de.ugoe.cs.swe.bnftools.ui.outline 5 6 import org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode 7 import de.ugoe.cs.swe.bnftools.ebnf.EtsiBnf 8 import de.ugoe.cs.swe.bnftools.ebnf.Import 9 import org.eclipse.xtext.ui.editor.outline.IOutlineNode 10 import org.eclipse.xtext.AbstractElement 11 import de.ugoe.cs.swe.bnftools.ebnf.BnfEntry 12 import de.ugoe.cs.swe.bnftools.ebnf.ImportSection 13 import de.ugoe.cs.swe.bnftools.ebnf.Rule 5 14 6 15 /** … … 10 19 */ 11 20 class EbnfOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider { 12 21 def void _createChildren(DocumentRootNode parentNode, EtsiBnf bnf) { 22 createNode(parentNode,bnf); 23 } 24 25 def boolean _isLeaf(Rule rule) { 26 return true; 27 } 28 13 29 }
Note: See TracChangeset
for help on using the changeset viewer.