Changeset 67 in default for v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/labeling/EbnfLabelProvider.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/labeling/EbnfLabelProvider.xtend
r61 r67 5 5 6 6 import com.google.inject.Inject 7 import de.ugoe.cs.swe.bnftools.ebnf.ImportSection 8 import de.ugoe.cs.swe.bnftools.ebnf.Rule 9 import de.ugoe.cs.swe.bnftools.ebnf.BnfEntry 7 10 8 11 /** … … 18 21 } 19 22 20 // Labels and icons can be computed like this: 23 def text(ImportSection sec){ 24 'Imports' 25 } 21 26 22 // def text(Greeting ele) { 23 // 'A greeting to ' + ele.name 24 // } 25 // 26 // def image(Greeting ele) { 27 // 'Greeting.gif' 28 // } 27 def text(BnfEntry entry){ 28 'Rule' 29 } 29 30 }
Note: See TracChangeset
for help on using the changeset viewer.