Quick fix for MemoryEditor CellEditor using the wrong Font
[Mograsim.git] / plugins / net.mograsim.plugin.core / src / net / mograsim / plugin / tables / memory / MemoryCellEditingSupport.java
index deaabe2..6f689e7 100644 (file)
@@ -3,6 +3,7 @@ package net.mograsim.plugin.tables.memory;
 import java.math.BigInteger;
 
 import org.eclipse.jface.viewers.TableViewer;
+import org.eclipse.swt.widgets.Control;
 
 import net.mograsim.plugin.tables.DisplaySettings;
 import net.mograsim.plugin.tables.NumberCellEditingSupport;
@@ -33,4 +34,9 @@ public class MemoryCellEditingSupport extends NumberCellEditingSupport
        {
                return ((MemoryTableRow) element).getMemory().getDefinition().getCellWidth();
        }
+
+       public Control getCellEditorControl()
+       {
+               return editor.getControl();
+       }
 }
\ No newline at end of file