X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=plugins%2Fnet.mograsim.plugin.core%2Fsrc%2Fnet%2Fmograsim%2Fplugin%2Ftables%2Fmi%2FParameterLabelProvider.java;h=310e47da1bee082a7cf3a15f9dffc5d0aba39a5a;hb=195bead5d9a92d28809137818fbaacc06cf815e3;hp=1c10940abc019bb9d38838cc5a1bccc779893f2e;hpb=6b01ce390c1bb33d133902479645abfcc293704f;p=Mograsim.git 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 1c10940a..310e47da 100644 --- 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.swt.graphics.Font; public class ParameterLabelProvider extends ColumnLabelProvider { private final int index; - private final ColorProvider cProv; + private final FontAndColorHelper cProv; - public ParameterLabelProvider(ColorProvider cProv, int index) + public ParameterLabelProvider(FontAndColorHelper cProv, int index) { super(); this.index = index; @@ -33,4 +34,10 @@ public class ParameterLabelProvider extends ColumnLabelProvider { return cProv.getForeground(element, index); } + + @Override + public Font getFont(Object element) + { + return cProv.getFont(element, index); + } }