Line | |
---|
1 | /* |
---|
2 | * generated by Xtext |
---|
3 | */ |
---|
4 | package de.ugoe.cs.swe.bnftools.ui.labeling |
---|
5 | |
---|
6 | //import org.eclipse.xtext.resource.IEObjectDescription |
---|
7 | |
---|
8 | /** |
---|
9 | * Provides labels for a IEObjectDescriptions and IResourceDescriptions. |
---|
10 | * |
---|
11 | * see http://www.eclipse.org/Xtext/documentation.html#labelProvider |
---|
12 | */ |
---|
13 | class EbnfDescriptionLabelProvider extends org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider { |
---|
14 | |
---|
15 | // Labels and icons can be computed like this: |
---|
16 | |
---|
17 | // override text(IEObjectDescription ele) { |
---|
18 | // ele.name.toString |
---|
19 | // } |
---|
20 | // |
---|
21 | // override image(IEObjectDescription ele) { |
---|
22 | // ele.EClass.name + '.gif' |
---|
23 | // } |
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.