41c4b6ae26c899b839f8dfb7ebf4d2ec42e1f91a
[nemo.git] / nemo-tools / eclipse-plugin-project / nemo-editor / org.opendaylight.nemo.tool.eclipse.plugin.editor.ui / bin / org / opendaylight / nemo / tool / eclipse / plugin / ui / labeling / EditorLabelProvider.xtend
1 /*
2  * generated by Xtext
3  */
4 package org.opendaylight.nemo.tool.eclipse.plugin.ui.labeling
5
6 import com.google.inject.Inject
7
8 /**
9  * Provides labels for EObjects.
10  * 
11  * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider
12  */
13 class EditorLabelProvider 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 }