]> gerrit.simantics Code Review - simantics/3d.git/blob - org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentLabelProvider.java
Ask component rotation angle when adding components
[simantics/3d.git] / org.simantics.plant3d / src / org / simantics / plant3d / dialog / ComponentLabelProvider.java
1 package org.simantics.plant3d.dialog;
2
3 import org.eclipse.jface.viewers.LabelProvider;
4 import org.simantics.plant3d.utils.Item;
5
6 public class ComponentLabelProvider extends LabelProvider{
7         
8         @Override
9         public String getText(Object element) {
10                 Item item = (Item)element;
11                 return item.getName();
12         }
13         
14         
15
16 }