Re: Where is "Explore from here"?

Jesse Glick <[email protected]>
Newsgroups gmane.comp.java.netbeans.user-interface
Organization Sun Microsystems
Message-ID <[email protected]>
Jan Rojcek wrote:
> There is also a proposed solution to open a new window as another tab
> next to the Filesystem window, but this won't work with the new 
> windowing system, as all windows open around the document area must
> have an item in Window menu. The set of windows open around document
> area is predefined by product/modules and the user can't change it.

Maybe I'm missing something basic here, but I hope you mean "we do not 
consider this good UI in conjunction with the new windowing system" 
rather than "this is technically impossible in the new windowing 
system". The latter I don't really believe because I *have* code which 
seems to work just fine which makes a new TopComponent and does

WindowManager.getDefault().findMode("explorer").dockInto(tc);
tc.open();
tc.requestActive();

which as you would expect, opens my special component as a new tab next 
to the Filesystems window.

So, why can't we do this for Explore From Here ()? What's the big deal? 
It would work pretty much the same as it did in 3.5. Looking in 
o.n.c.windows.services.NodeOperationImpl.explore, I see that it simply 
fails to dock the tab into the explorer mode.

-J.

-- 
Jesse Glick <mailto:[email protected]> x22801
NetBeans, Open APIs  <http://www.netbeans.org/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.