Changeset 68 in default for v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs
- Timestamp:
- 05/21/14 10:20:09 (11 years ago)
- Location:
- v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/labeling/EbnfLabelProvider.xtend
r67 r68 8 8 import de.ugoe.cs.swe.bnftools.ebnf.Rule 9 9 import de.ugoe.cs.swe.bnftools.ebnf.BnfEntry 10 import de.ugoe.cs.swe.bnftools.ebnf.DefinitionList 11 import de.ugoe.cs.swe.bnftools.ebnf.SingleDefinition 12 import de.ugoe.cs.swe.bnftools.ebnf.Term 13 import de.ugoe.cs.swe.bnftools.ebnf.Atom 14 import de.ugoe.cs.swe.bnftools.ebnf.StringRule 10 15 11 16 /** … … 26 31 27 32 def text(BnfEntry entry){ 28 ' Rule'33 'BnfEntry' 29 34 } 35 36 def text(Rule rule){ 37 'Rule: '+rule.name 38 } 39 40 def text(DefinitionList dlist){ 41 'Definition List' 42 } 43 44 def text(SingleDefinition sdef){ 45 'Single Definition' 46 } 47 48 def text(Term term){ 49 'Term' 50 } 51 52 def text(Atom atom){ 53 'Atom' 54 } 55 30 56 } -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/outline/EbnfOutlineTreeProvider.xtend
r67 r68 23 23 } 24 24 25 def boolean _isLeaf(Rule rule) { 26 return true; 27 } 25 28 26 29 27 }
Note: See TracChangeset
for help on using the changeset viewer.