1 | /** |
2 | * |
3 | */ |
4 | package de.uka.ipd.sdq.sensorframework.visualisation.tabs.filters; |
5 | |
6 | import org.eclipse.jface.viewers.ILabelProviderListener; |
7 | import org.eclipse.jface.viewers.ITableLabelProvider; |
8 | import org.eclipse.swt.graphics.Image; |
9 | |
10 | /** |
11 | * @author Roman Andrej |
12 | */ |
13 | public class ParametersDialogLabelProvider implements ITableLabelProvider { |
14 | |
15 | public ParametersDialogLabelProvider(String context) { |
16 | } |
17 | |
18 | /* (non-Javadoc) |
19 | * @see org.eclipse.jface.viewers.ITableLabelProvider#getColumnImage(java.lang.Object, int) |
20 | */ |
21 | public Image getColumnImage(Object element, int columnIndex) { |
22 | // TODO Auto-generated method stub |
23 | return null; |
24 | } |
25 | |
26 | /* (non-Javadoc) |
27 | * @see org.eclipse.jface.viewers.ITableLabelProvider#getColumnText(java.lang.Object, int) |
28 | */ |
29 | public String getColumnText(Object element, int columnIndex) { |
30 | String result = ""; |
31 | // |
32 | // FilteredAttributes entry = (FilteredAttributes) element; |
33 | // |
34 | // switch (columnIndex) { |
35 | // case CreateEditorContents.ICON_COLUMN_INDEX: |
36 | // break; |
37 | // case CreateEditorContents.CONTEXT_COLUMN_INDEX: |
38 | // result = context; |
39 | // break; |
40 | // case CreateEditorContents.TYPE_COLUMN_INDEX: |
41 | // result = entry.getConfValue().getClass().getSimpleName(); |
42 | // break; |
43 | // case CreateEditorContents.NAME_COLUMN_INDEX: |
44 | // result = entry.getDescription(); |
45 | // break; |
46 | // default: |
47 | // break; |
48 | // } |
49 | return result; |
50 | } |
51 | |
52 | /* (non-Javadoc) |
53 | * @see org.eclipse.jface.viewers.IBaseLabelProvider#addListener(org.eclipse.jface.viewers.ILabelProviderListener) |
54 | */ |
55 | public void addListener(ILabelProviderListener listener) { |
56 | // TODO Auto-generated method stub |
57 | |
58 | } |
59 | |
60 | /* (non-Javadoc) |
61 | * @see org.eclipse.jface.viewers.IBaseLabelProvider#dispose() |
62 | */ |
63 | public void dispose() { |
64 | // TODO Auto-generated method stub |
65 | |
66 | } |
67 | |
68 | /* (non-Javadoc) |
69 | * @see org.eclipse.jface.viewers.IBaseLabelProvider#isLabelProperty(java.lang.Object, java.lang.String) |
70 | */ |
71 | public boolean isLabelProperty(Object element, String property) { |
72 | // TODO Auto-generated method stub |
73 | return false; |
74 | } |
75 | |
76 | /* (non-Javadoc) |
77 | * @see org.eclipse.jface.viewers.IBaseLabelProvider#removeListener(org.eclipse.jface.viewers.ILabelProviderListener) |
78 | */ |
79 | public void removeListener(ILabelProviderListener listener) { |
80 | // TODO Auto-generated method stub |
81 | |
82 | } |
83 | |
84 | } |