super(NbBundle.getMessage(QueryNode.class, "QueryNode.actions.save"));
}
public void actionPerformed(ActionEvent e) {
FilterController filterController = Lookup.getDefault().lookup(FilterController.class);
FilterLibrary filterLibrary = filterController.getModel().getLibrary();
if (query.getParent() == null) {
filterLibrary.saveQuery(query);
} else {
filterLibrary.saveQuery(query.getParent());
}
}