projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'machines-are-launch-configs' into development
[Mograsim.git]
/
plugins
/
net.mograsim.plugin.core
/
src
/
net
/
mograsim
/
plugin
/
tables
/
mi
/
InstructionTable.java
diff --git
a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/InstructionTable.java
b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/InstructionTable.java
index
7b17f24
..
a806bd2
100644
(file)
--- a/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/InstructionTable.java
+++ b/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/InstructionTable.java
@@
-51,6
+51,7
@@
public class InstructionTable
table.setHeaderVisible(true);
table.setLinesVisible(true);
viewer.setUseHashlookup(true);
table.setHeaderVisible(true);
table.setLinesVisible(true);
viewer.setUseHashlookup(true);
+ table.addDisposeListener(e -> dispose());
TableViewerFocusCellManager focusCellManager = new TableViewerFocusCellManager(viewer, new FocusCellOwnerDrawHighlighter(viewer));
TableViewerFocusCellManager focusCellManager = new TableViewerFocusCellManager(viewer, new FocusCellOwnerDrawHighlighter(viewer));
@@
-257,7
+258,7
@@
public class InstructionTable
Display.getDefault().asyncExec(() -> viewer.refresh());
}
Display.getDefault().asyncExec(() -> viewer.refresh());
}
- p
ublic
void dispose()
+ p
rivate
void dispose()
{
cProv.dispose();
viewer.getTable().dispose();
{
cProv.dispose();
viewer.getTable().dispose();