Last change
on this file since 437 was
437,
checked in by Mateusz Poszwa, 9 years ago
|
Added Framclipse as developed by Bartosz Kukawka and Tomek Maciejewski in 2010
|
-
Property svn:eol-style set to
native
|
File size:
637 bytes
|
Rev | Line | |
---|
[437] | 1 | /* |
---|
| 2 | * generated by Xtext |
---|
| 3 | */ |
---|
| 4 | package com.framsticks.framclipse.ui.labeling; |
---|
| 5 | |
---|
| 6 | import 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 | */ |
---|
| 13 | public class FramScriptDescriptionLabelProvider 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.