source: default/v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/labeling/EbnfLabelProvider.xtend @ 61

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

initial commit

File size: 594 bytes
Line 
1/*
2* generated by Xtext
3*/
4package de.ugoe.cs.swe.bnftools.ui.labeling
5
6import com.google.inject.Inject
7
8/**
9 * Provides labels for a EObjects.
10 *
11 * see http://www.eclipse.org/Xtext/documentation.html#labelProvider
12 */
13class EbnfLabelProvider extends org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider {
14
15        @Inject
16        new(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) {
17                super(delegate);
18        }
19
20        // Labels and icons can be computed like this:
21       
22//      def text(Greeting ele) {
23//              'A greeting to ' + ele.name
24//      }
25//
26//      def image(Greeting ele) {
27//              'Greeting.gif'
28//      }
29}
Note: See TracBrowser for help on using the repository browser.