public class FilterSelectedNodesAction extends GraphListenerAction {
private static final String DEFAULT_ACTION_NAME =
"Filter out selected nodes";
private static final Log LOG =
LogFactory.getLog(FilterSelectedNodesAction.class);
<BUG>public FilterSelectedNodesAction(final GraphControlerProvider parent) {
</BUG>
super(parent, DEFAULT_ACTION_NAME);
boolean isEnabled = false;
<BUG>if (getGraphControler() != null) {

final Collection<Draw2dNode> selectedNodes = getGraphControler().getSelection();
</BUG>
isEnabled = !selectedNodes.isEmpty();

public class FilterSelectedNodesAction extends GraphListenerAction {
private static final String DEFAULT_ACTION_NAME =
"Filter out selected nodes";
private static final Log LOG =
LogFactory.getLog(FilterSelectedNodesAction.class);
public FilterSelectedNodesAction(final GraphControllerProvider parent) {
super(parent, DEFAULT_ACTION_NAME);
boolean isEnabled = false;
if (getGraphController() != null) {
final Collection<Draw2dNode> selectedNodes = getGraphController().getSelection();
isEnabled = !selectedNodes.isEmpty();
