projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MPROMEditor now calls its columns "Opcode" and "muPC"
[Mograsim.git]
/
plugins
/
net.mograsim.plugin.core
/
src
/
net
/
mograsim
/
plugin
/
tables
/
memory
/
MemoryCellEditingSupport.java
diff --git
a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryCellEditingSupport.java
b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryCellEditingSupport.java
index
deaabe2
..
ebb8975
100644
(file)
--- a/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryCellEditingSupport.java
+++ b/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryCellEditingSupport.java
@@
-3,6
+3,7
@@
package net.mograsim.plugin.tables.memory;
import java.math.BigInteger;
import org.eclipse.jface.viewers.TableViewer;
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;
import net.mograsim.plugin.tables.DisplaySettings;
import net.mograsim.plugin.tables.NumberCellEditingSupport;
@@
-11,7
+12,8
@@
public class MemoryCellEditingSupport extends NumberCellEditingSupport
{
public MemoryCellEditingSupport(TableViewer viewer, DisplaySettings displaySettings)
{
{
public MemoryCellEditingSupport(TableViewer viewer, DisplaySettings displaySettings)
{
- super(viewer, displaySettings);
+ // TODO maybe allow X here too?
+ super(viewer, displaySettings, false);
}
@Override
}
@Override
@@
-33,4
+35,9
@@
public class MemoryCellEditingSupport extends NumberCellEditingSupport
{
return ((MemoryTableRow) element).getMemory().getDefinition().getCellWidth();
}
{
return ((MemoryTableRow) element).getMemory().getDefinition().getCellWidth();
}
+
+ public Control getCellEditorControl()
+ {
+ return editor.getControl();
+ }
}
\ No newline at end of file
}
\ No newline at end of file