Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Marker Overlay Issues - Should I Use Project Explorer or Navigator View??
Marker Overlay Issues - Should I Use Project Explorer or Navigator View?? [message #308411] Thu, 21 September 2006 18:02 Go to next message
Eclipse UserFriend
Originally posted by: mark_melvin.amis.com

I have noticed that my application based on the platform runtime - which
was geared to work with the old Navigator View - required a special
decorator to manually refresh and overlay problem markers on my projects
and files as I created them. I am refactoring code and it looks like I
can remove this because I can't find any other Eclipse plugins that
manually provide decorators for problem markers. However - simply
removing my code didn't work. I don't see the markers change state in the
Navigator view unless I close and reopen the project, or restart the
workbench. This got me massively sidetracked into how, exactly do the
problem markers magically show up in the Package Explorer? I can't see
any decorator code. I then noticed that problem markers in fact don't
show up automatically for *anything* (like Java problems, Ant problems) in
the Navigator View. So how the heck do they show up in the Package
Explorer?

Then I noticed a new view in the list called the "Project Explorer". I
opened it up and lo and behold it shows problem markers automatically as
well. I assume this view is one of the new "common navigator" views? I
also assume the "Navigator" view is not based on the "common navigator"
view? Or am I confused??

I guess my question is - how can I get the same functionality of the base
Navigator View (with Working Sets, history arrows, Go Into, etc.), and the
automatic marker overlays that the mysterious "Project Explorer" gives me
so I can remove my old crappy
manually-refreshing-problem-marker-decorators code?

Secondly, if the Project Explorer is the way forward for Eclipse extenders
then:
- why does it have less functionality than the Navigator view (no working
sets, etc.)?
- why isn't it the default?
- why doesn't the JDT use it?

Mark.
Re: Marker Overlay Issues - Should I Use Project Explorer or Navigator View?? [message #308416 is a reply to message #308411] Thu, 21 September 2006 20:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: paulnews.gmail.com

Mark Melvin wrote:
>
> Then I noticed a new view in the list called the "Project Explorer". I
> opened it up and lo and behold it shows problem markers automatically as
> well. I assume this view is one of the new "common navigator" views? I
> also assume the "Navigator" view is not based on the "common navigator"
> view? Or am I confused??

The Project Explorer is the replacement for the Resource Navigator. The
PE is based on the new Common Navigator code. The Resource Navigator is
old code that (AFAIK) no one is working on at the moment.

> Secondly, if the Project Explorer is the way forward for Eclipse
> extenders then:
> - why does it have less functionality than the Navigator view (no
> working sets, etc.)?
> - why isn't it the default?
> - why doesn't the JDT use it?

Time ... the common navigator was introduced in 3.2. There wasn't
enough time to provide a new navigator API and move everything over to it.

More of this functionality will appear in the Project Explorer in 3.3.
And I heard talk of making the Project Explorer the default over the
Resource Navigator as well.

I don't know what JDT's plans are for the Package Explorer.

Later,
PW
Re: Marker Overlay Issues - Should I Use Project Explorer or Navigator View?? [message #308419 is a reply to message #308416] Thu, 21 September 2006 21:20 Go to previous message
Eclipse UserFriend
Originally posted by: mark_melvin.amis.com

Thanks for the confirmation, Paul. I don't have time to port to the
common navigator right now anyway so I guess that's good. ;o) I'll leave
my decorator alone for now.

Thanks again,
Mark.

On Thu, 21 Sep 2006 20:48:09 -0400, PaulNews <paulnews@gmail.com> wrote:

> Mark Melvin wrote:
>> Then I noticed a new view in the list called the "Project Explorer".
>> I opened it up and lo and behold it shows problem markers automatically
>> as well. I assume this view is one of the new "common navigator"
>> views? I also assume the "Navigator" view is not based on the "common
>> navigator" view? Or am I confused??
>
> The Project Explorer is the replacement for the Resource Navigator. The
> PE is based on the new Common Navigator code. The Resource Navigator is
> old code that (AFAIK) no one is working on at the moment.
>
>> Secondly, if the Project Explorer is the way forward for Eclipse
>> extenders then:
>> - why does it have less functionality than the Navigator view (no
>> working sets, etc.)?
>> - why isn't it the default?
>> - why doesn't the JDT use it?
>
> Time ... the common navigator was introduced in 3.2. There wasn't
> enough time to provide a new navigator API and move everything over to
> it.
>
> More of this functionality will appear in the Project Explorer in 3.3.
> And I heard talk of making the Project Explorer the default over the
> Resource Navigator as well.
>
> I don't know what JDT's plans are for the Package Explorer.
>
> Later,
> PW
Previous Topic:Editor close checks isDirty before chance to set dirty
Next Topic:Problems with EMF Update Manager Site
Goto Forum:
  


Current Time: Sun Sep 14 05:58:25 EDT 2025

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

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

Back to the top