SDK:
- Make sure SceneExplorer and FilterExplorer become visible when a scene / filter is opened git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8032 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
5b02a24428
commit
5cf01fcffe
sdk/jme3-core/src/com/jme3/gde/core
@ -161,6 +161,7 @@ public final class FilterExplorerTopComponent extends TopComponent implements Ex
|
||||
if (added) {
|
||||
setFilterEnabled(true);
|
||||
}
|
||||
requestVisible();
|
||||
}
|
||||
|
||||
public synchronized void setFilterEnabled(final boolean enabled) {
|
||||
|
@ -212,7 +212,7 @@ public final class SceneExplorerTopComponent extends TopComponent implements Exp
|
||||
|
||||
@Override
|
||||
public void componentClosed() {
|
||||
SceneApplication.getApplication().addSceneListener(this);
|
||||
SceneApplication.getApplication().removeSceneListener(this);
|
||||
// TODO add custom code on component closing
|
||||
}
|
||||
|
||||
@ -274,6 +274,7 @@ public final class SceneExplorerTopComponent extends TopComponent implements Exp
|
||||
if (node != null) {
|
||||
explorerManager.setRootContext(node);
|
||||
explorerManager.getRootContext().setDisplayName(node.getName());
|
||||
requestVisible();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user