projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new Mograsim project wizard and updated getting started.
[Mograsim.git]
/
plugins
/
net.mograsim.plugin.core
/
src
/
net
/
mograsim
/
plugin
/
tables
/
mi
/
ParameterLabelProvider.java
diff --git
a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/ParameterLabelProvider.java
b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/ParameterLabelProvider.java
index
1c10940
..
310e47d
100644
(file)
--- a/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/ParameterLabelProvider.java
+++ b/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/ParameterLabelProvider.java
@@
-2,13
+2,14
@@
package net.mograsim.plugin.tables.mi;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.swt.graphics.Color;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.swt.graphics.Color;
+import org.eclipse.swt.graphics.Font;
public class ParameterLabelProvider extends ColumnLabelProvider
{
private final int index;
public class ParameterLabelProvider extends ColumnLabelProvider
{
private final int index;
- private final
ColorProvid
er cProv;
+ private final
FontAndColorHelp
er cProv;
- public ParameterLabelProvider(
ColorProvid
er cProv, int index)
+ public ParameterLabelProvider(
FontAndColorHelp
er cProv, int index)
{
super();
this.index = index;
{
super();
this.index = index;
@@
-33,4
+34,10
@@
public class ParameterLabelProvider extends ColumnLabelProvider
{
return cProv.getForeground(element, index);
}
{
return cProv.getForeground(element, index);
}
+
+ @Override
+ public Font getFont(Object element)
+ {
+ return cProv.getFont(element, index);
+ }
}
}