source: default/v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/outline/EbnfOutlineTreeProvider.xtend @ 68

Last change on this file since 68 was 68, checked in by hkaulbersch, 10 years ago

1.)Changed the outline
2.)Added a PopupButton? for codegeneration(not running yet)

File size: 818 bytes
Line 
1/*
2* generated by Xtext
3*/
4package de.ugoe.cs.swe.bnftools.ui.outline
5
6import org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode
7import de.ugoe.cs.swe.bnftools.ebnf.EtsiBnf
8import de.ugoe.cs.swe.bnftools.ebnf.Import
9import org.eclipse.xtext.ui.editor.outline.IOutlineNode
10import org.eclipse.xtext.AbstractElement
11import de.ugoe.cs.swe.bnftools.ebnf.BnfEntry
12import de.ugoe.cs.swe.bnftools.ebnf.ImportSection
13import de.ugoe.cs.swe.bnftools.ebnf.Rule
14
15/**
16 * Customization of the default outline structure.
17 *
18 * see http://www.eclipse.org/Xtext/documentation.html#outline
19 */
20class EbnfOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider {
21        def void _createChildren(DocumentRootNode parentNode, EtsiBnf bnf) {
22                createNode(parentNode,bnf);
23        }
24
25
26
27}
Note: See TracBrowser for help on using the repository browser.