- set help context for FilterExplorer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9808 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent bb74e6b3bc
commit cac4dd3e34
  1. 6
      sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.form
  2. 6
      sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.java

@ -1,4 +1,4 @@
<?xml version="1.1" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo"> <Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
<AuxValues> <AuxValues>
@ -16,8 +16,8 @@
<Layout> <Layout>
<DimensionLayout dim="0"> <DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<Component id="jToolBar1" alignment="0" pref="400" max="32767" attributes="0"/> <Component id="jToolBar1" alignment="0" max="32767" attributes="0"/>
<Component id="jScrollPane1" alignment="0" pref="400" max="32767" attributes="0"/> <Component id="jScrollPane1" alignment="0" max="32767" attributes="0"/>
</Group> </Group>
</DimensionLayout> </DimensionLayout>
<DimensionLayout dim="1"> <DimensionLayout dim="1">

@ -52,6 +52,7 @@ import org.openide.explorer.ExplorerManager;
import org.openide.explorer.ExplorerUtils; import org.openide.explorer.ExplorerUtils;
import org.openide.explorer.view.BeanTreeView; import org.openide.explorer.view.BeanTreeView;
import org.openide.nodes.Node; import org.openide.nodes.Node;
import org.openide.util.HelpCtx;
/** /**
* Top component which displays something. * 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 // TODO read your settings according to their version
} }
@Override
public HelpCtx getHelpCtx() {
return new HelpCtx("sdk.filters");
}
public void loadFile(FilterDataObject object) { public void loadFile(FilterDataObject object) {
currentFile = object; currentFile = object;
node = object.getLookup().lookup(FilterPostProcessorNode.class); node = object.getLookup().lookup(FilterPostProcessorNode.class);

Loading…
Cancel
Save