From cac4dd3e34b5db6c84920ec6dfb4708a6fc57336 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Tue, 2 Oct 2012 21:48:43 +0000 Subject: [PATCH] SDK: - set help context for FilterExplorer git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9808 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../jme3/gde/core/filters/FilterExplorerTopComponent.form | 6 +++--- .../jme3/gde/core/filters/FilterExplorerTopComponent.java | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.form b/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.form index 701702b5b..9bf336682 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.form +++ b/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.form @@ -1,4 +1,4 @@ - +
@@ -16,8 +16,8 @@ - - + + diff --git a/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.java b/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.java index 18bb3f957..285461d46 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.java @@ -52,6 +52,7 @@ import org.openide.explorer.ExplorerManager; import org.openide.explorer.ExplorerUtils; import org.openide.explorer.view.BeanTreeView; import org.openide.nodes.Node; +import org.openide.util.HelpCtx; /** * Top component which displays something. @@ -148,6 +149,11 @@ public final class FilterExplorerTopComponent extends TopComponent implements Ex // TODO read your settings according to their version } + @Override + public HelpCtx getHelpCtx() { + return new HelpCtx("sdk.filters"); + } + public void loadFile(FilterDataObject object) { currentFile = object; node = object.getLookup().lookup(FilterPostProcessorNode.class);