diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-05-31 22:52:08 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-05-31 22:52:08 +0000 |
commit | 4df583f8e4785296e4c4b592d24bba5f1fd02136 (patch) | |
tree | 55e97a21b1397e2bf30c297bf8119e8e13216566 /java/src/IceGridGUI/ApplicationPane.java | |
parent | minor change. (diff) | |
download | ice-4df583f8e4785296e4c4b592d24bba5f1fd02136.tar.bz2 ice-4df583f8e4785296e4c4b592d24bba5f1fd02136.tar.xz ice-4df583f8e4785296e4c4b592d24bba5f1fd02136.zip |
Fixed various bugs
Diffstat (limited to 'java/src/IceGridGUI/ApplicationPane.java')
-rwxr-xr-x | java/src/IceGridGUI/ApplicationPane.java | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/java/src/IceGridGUI/ApplicationPane.java b/java/src/IceGridGUI/ApplicationPane.java index 3ef7710ab51..0b0abc2e540 100755 --- a/java/src/IceGridGUI/ApplicationPane.java +++ b/java/src/IceGridGUI/ApplicationPane.java @@ -70,6 +70,23 @@ public class ApplicationPane extends JSplitPane implements Tab c.showActions(_currentNode); } + public void refresh() + { + _root.cancelEdit(); + + if(_currentNode != null) + { + _currentEditor = _currentNode.getEditor(); + if(_root.getCoordinator().getCurrentTab() == this) + { + // + // Refresh actions as well + // + _root.getCoordinator().showActions(_currentNode); + } + } + } + public void showNode(TreeNodeBase node) { TreeNode newNode = (TreeNode)node; @@ -111,17 +128,6 @@ public class ApplicationPane extends JSplitPane implements Tab } } - public void refresh() - { - _root.cancelEdit(); - - if(_currentNode != null) - { - _root.getCoordinator().showActions(_currentNode); - _currentEditor = _currentNode.getEditor(); - } - } - public void back() { TreeNode previousNode = null; |