source: default/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/labeling/EbnfDescriptionLabelProvider.java

Last change on this file was 5, checked in by zeiss, 14 years ago
  • Property svn:mime-type set to text/plain
File size: 629 bytes
Line 
1/*
2* generated by Xtext
3*/
4package de.ugoe.cs.swe.bnftools.ui.labeling;
5
6import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider;
7
8/**
9 * Provides labels for a IEObjectDescriptions and IResourceDescriptions.
10 *
11 * see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#labelProvider
12 */
13public class EbnfDescriptionLabelProvider extends DefaultDescriptionLabelProvider {
14
15/*
16        //Labels and icons can be computed like this:
17       
18        String text(IEObjectDescription ele) {
19          return "my "+ele.getName();
20        }
21         
22    String image(IEObjectDescription ele) {
23      return ele.getEClass().getName() + ".gif";
24    }   
25*/
26
27}
Note: See TracBrowser for help on using the repository browser.