Rev | Line | |
---|
[61] | 1 | /* |
---|
| 2 | * generated by Xtext |
---|
[67] | 3 | */
|
---|
| 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
|
---|
| 14 |
|
---|
[61] | 15 | /** |
---|
| 16 | * Customization of the default outline structure. |
---|
| 17 | * |
---|
| 18 | * see http://www.eclipse.org/Xtext/documentation.html#outline |
---|
[67] | 19 | */
|
---|
| 20 | class 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 |
|
---|
[68] | 26 |
|
---|
[67] | 27 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.