projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Non-default values are now highlighted in the InstructionTable
[Mograsim.git]
/
plugins
/
net.mograsim.plugin.core
/
src
/
net
/
mograsim
/
plugin
/
tables
/
mi
/
InstructionView.java
diff --git
a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/InstructionView.java
b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/InstructionView.java
index
235e3e5
..
0158c7b
100644
(file)
--- a/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/InstructionView.java
+++ b/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/InstructionView.java
@@
-51,8
+51,7
@@
public class InstructionView extends EditorPart implements MemoryCellModifiedLis
new RadixSelector(parent, displaySettings);
addActivationButton(parent);
new RadixSelector(parent, displaySettings);
addActivationButton(parent);
-
- table = new InstructionTable(parent, displaySettings);
+ table = new InstructionTable(parent, displaySettings, getSite().getWorkbenchWindow().getWorkbench().getThemeManager());
table.setContentProvider(provider);
table.bindMicroInstructionMemory(memory);
table.setContentProvider(provider);
table.bindMicroInstructionMemory(memory);
@@
-240,4
+239,11
@@
public class InstructionView extends EditorPart implements MemoryCellModifiedLis
{
highlight((int) (address - memory.getDefinition().getMinimalAddress()));
}
{
highlight((int) (address - memory.getDefinition().getMinimalAddress()));
}
+
+ @Override
+ public void dispose()
+ {
+ table.dispose();
+ super.dispose();
+ }
}
}