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.

Bug 20486 - Allow selecting a (File)Node in Explorer
Summary: Allow selecting a (File)Node in Explorer
Status: VERIFIED DUPLICATE of bug 7551
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Other Other
: P2 blocker (vote)
Assignee: issues@platform
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2002-02-12 23:46 UTC by Melih Ovadya
Modified: 2008-12-22 19:58 UTC (History)
8 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Melih Ovadya 2002-02-12 23:46:02 UTC
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
Comment 1 David Strupl 2002-02-13 09:21:56 UTC
Comments?
Comment 2 Jesse Glick 2002-02-13 14:27:58 UTC
I believe this is a simple duplicate of #7551.
Comment 3 _ gordonp 2002-02-13 14:47:19 UTC
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?
Comment 4 Jesse Glick 2002-02-13 16:40:03 UTC
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.
Comment 5 Jiri Rechtacek 2002-02-14 09:33:53 UTC
I have joined the threads this and 7551, these are duplicate almost.

*** This issue has been marked as a duplicate of 7551 ***
Comment 6 Marian Mirilovic 2003-07-21 16:25:55 UTC
verified - it's duplicate