Repository repository = Repository.getDefault();
FileSystem sfs = repository.getDefaultFileSystem();
FileObject fo = sfs.findResource("Projects/Actions"); // NOI18N
if (fo != null) {
DataObject dobj = DataObject.find(fo);
FolderLookup actionRegistry = new FolderLookup((DataFolder)dobj);
Lookup.Template query = new Lookup.Template(Object.class);
Lookup lookup = actionRegistry.getLookup();
Iterator it = lookup.lookup(query).allInstances().iterator();
if (it.hasNext()) {
nodeActions.add(null);
}
while (it.hasNext()) {