import problem
"mcheung63" <[email protected]> Tue, 24 May 2016 04:10:27 +0000
| Newsgroups | gmane.comp.java.netbeans.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi All I use nb-lookup-inspector and found out my lookup classes are: --Classes in lookup-- class org.netbeans.modules.cnd.loaders.OrphanedElfObject org.netbeans.modules.cnd.loaders.OrphanedElfObject@555e0034[/Users/peter/NetBeansProjects/PeterI/interrupt/interrupt0/interrupt0.o@f3914b19:20c1a978] class org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj /Users/peter/NetBeansProjects/PeterI/interrupt/interrupt0/interrupt0.o@f3914b19:20c1a978 class org.openide.nodes.FilterNode org.openide.nodes.FilterNode[name=null][Name=interrupt0, displayName=interrupt0.o] class org.openide.windows.DelegateActionMap org.openide.windows.DelegateActionMap@690a3899 for org.netbeans.modules.project.ui.ProjectTab[Files,0,0,391x1272,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=256,maximumSize=,minimumSize=,preferredSize=] But when i do: Lookup context = Utilities.actionsGlobalContext(); FileObj file = context.lookup(FileObj.class); I got no way to import org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj, how to add the library to make the import possible? thanks from Peter ([email protected])