return n.getActions( ignored );
}
if (key.type() == KeyType.LIBRARIES) {
NodeJSProject project = getLookup().lookup( NodeJSProject.class );
assert project != null;
NodeJSLogicalViewProvider l = project.getLookup().lookup( NodeJSLogicalViewProvider.class );
return new Action[]{new AddLibraryAction( NbBundle.getBundle( GenericNode.class ), project, l.getView() )};
}
return new Action[0];
}