Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Implementing a ResourceNavigator
Implementing a ResourceNavigator [message #22235] Tue, 29 April 2003 14:58 Go to next message
Eclipse UserFriend
Originally posted by: Gyorgy.Balogh.vanderbilt.edu

Hi,

I'm developing a plug-in. I'd like to create a view similar to Navigator or
Package Exlorer to show a specific type of projects. How can do it easily.
Should I use ResourceNavigator as base class (it didn't work for me for the
first time).

Thank you
George
Re: Implementing a ResourceNavigator [message #23380 is a reply to message #22235] Tue, 29 April 2003 20:08 Go to previous message
Eclipse UserFriend
Originally posted by: knut_radloff.oti.com

"Gyorgy Balogh" <Gyorgy.Balogh@vanderbilt.edu> wrote in message news:b8m0do$283$1@rogue.oti.com...
> I'm developing a plug-in. I'd like to create a view similar to Navigator or
> Package Exlorer to show a specific type of projects. How can do it easily.
> Should I use ResourceNavigator as base class (it didn't work for me for the
> first time).

Yes, you should be able to subclass ResourceNavigator. Can you elaborate on what did not work when you subclassed?
All you need to do is set a filter on the tree viewer and filter according to your project type criterium. See
ResourceNavigator.initFilters.
You could also add this filter to the standard resource navigator but it doesn't sound like this is what you want. I.e., you want an
entirely new view.

For release 3.0 we want to make the navigator easier to customize. It should be easier to customize it than to copy the code and
hack it. Bug 36961 is tracking this (http://bugs.eclipse.org/bugs/show_bug.cgi?id=36961). Feel free to add any comments and
suggestions you have about customizing and subclassing the navigator in general. Let us know if you find anything that gets in the
way of customizing the navigator.

Knut
Previous Topic:Vote for Eclipse
Next Topic:[CVS] Having trouble with .cvsignore
Goto Forum:
  


Current Time: Fri Dec 27 00:59:54 GMT 2024

Powered by FUDForum. Page generated in 0.44861 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top