- fix MoveUp/Down action issue in FilterExplorer

experimental
Normen Hansen 10 years ago
parent 57448c2877
commit a573ff367d
  1. 5
      sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.java

@ -51,6 +51,7 @@ import org.openide.explorer.view.BeanTreeView;
import org.openide.nodes.Node;
import org.openide.util.HelpCtx;
import org.openide.util.NbBundle;
import org.openide.util.actions.SystemAction;
import org.openide.windows.TopComponent;
import org.openide.windows.WindowManager;
@ -84,8 +85,8 @@ public final class FilterExplorerTopComponent extends TopComponent implements Ex
setToolTipText(NbBundle.getMessage(FilterExplorerTopComponent.class, "HINT_FilterExplorerTopComponent"));
ActionMap map = getActionMap();
map.put("delete", ExplorerUtils.actionDelete(explorerManager, true));
map.put("moveup", new MoveUpAction());
map.put("movedown", new MoveDownAction());
map.put("moveup", SystemAction.get(MoveUpAction.class));
map.put("movedown", SystemAction.get(MoveDownAction.class));
associateLookup(ExplorerUtils.createLookup(explorerManager, map));
}

Loading…
Cancel
Save