This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There should be an API to select a filename in Explorer: selectFile(filepath, filesystem, openFlag) where filepath: path of the file, e.g /home/myname/temp/foo/bar.cc filesystem: path of the filesystem holding that file. e.g /home/myname/temp openFlag: if true, invoke the default open action Given these, the implementation of this API should: 1) mount the filesystem if it is not already mounted. 2) expand the filesystem-tree to show the file 3) select the file (equivalent of single-clicking on the filename)and highlight it 4) invoke the OpenAction if openFlag is true
Comments?
I believe this is a simple duplicate of #7551.
When we did usability testing with an early Ifdef prototype, one of the biggest complaints was that newly created things weren't selected. In some cases they weren't even mounted! This happened when the Makefile Wizard created a Makefile and it also happened when a make execution created a new binary. In both cases users had trouble finding the new file. This capability is ***highly*** desired for our next Ifdef release for use in (at least) 3 areas of Ifdef (Makefile building, Makefile execution, and from the external editor group). Can this get added to the 3.4 must-have list?
Note that if the MakefileWizard is a TemplateWizard.Iterator (as it should be) and the Makefile data object is returned from instantiate(), it should be automatically selected. Of course this only applies to objects created via the New wizard.
I have joined the threads this and 7551, these are duplicate almost. *** This issue has been marked as a duplicate of 7551 ***
verified - it's duplicate