actions.addAll( Lookups.forPath( "Project/NodeJS/Actions" ).lookupAll( Action.class ) ); //NOI18N
actions.add( new AbstractAction( NbBundle.getMessage( RootNode.class, "PROPERTIES" ) ) { //NOI18N
@Override
public void actionPerformed ( ActionEvent e ) {
Project project = getLookup().lookup( Project.class );
new PropertiesPanel( project.getLookup().lookup( NodeJSProjectProperties.class ) ).showDialog();
}
} );
final LibrariesResolver resolver = getLookup().lookup( Project.class ).getLookup().lookup( LibrariesResolver.class );
if (resolver.hasMissingLibraries()) {
actions.add(new AbstractAction(NbBundle.getMessage(RootNode.class, "RESOLVE_LIBRARIES")){ //NOI18N