SmachDSLLabelProvider.java
Go to the documentation of this file.
00001 /*
00002 * generated by Xtext
00003 */
00004 package org.best.of.robotics.ui.labeling;
00005 
00006 import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
00007 import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider; 
00008  
00009 import com.google.inject.Inject;
00010 
00016 public class SmachDSLLabelProvider extends DefaultEObjectLabelProvider {
00017 
00018         @Inject
00019         public SmachDSLLabelProvider(AdapterFactoryLabelProvider delegate) {
00020                 super(delegate);
00021         }
00022 
00023 /*
00024         //Labels and icons can be computed like this:
00025         
00026         String text(MyModel ele) {
00027           return "my "+ele.getName();
00028         }
00029          
00030     String image(MyModel ele) {
00031       return "MyModel.gif";
00032     }
00033 */
00034 }


bride_plugin_source
Author(s): Alexander Bubeck
autogenerated on Sun Oct 5 2014 22:38:34