Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Markers do not appear in Problems view
Markers do not appear in Problems view [message #483117] Mon, 31 August 2009 07:51 Go to next message
Eclipse UserFriend
Originally posted by: yoduderoo.netscape.net

Hi,
I create markers but nothing ever appears in the Problems view. There
are no error messages, no log entries. What is wrong? Am I missing a plugin?

My RCP app is based on Eclipse 3.5.

Thanks, y

// p is my IProject
IMarker marker = p.getWorkspace().getRoot().createMarker("xyz");
marker.setAttribute(IMarker.MESSAGE,"This is a message");
marker.setAttribute(IMarker.LOCATION,"/aa/bb");
marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_ERROR);
Re: Markers do not appear in Problems view [message #483128 is a reply to message #483117] Mon, 31 August 2009 09:21 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Yodude wrote:
> Hi,
> I create markers but nothing ever appears in the Problems view. There
> are no error messages, no log entries. What is wrong? Am I missing a
> plugin?
How should we know? Start with -debug and check the console for
problems. Another problem could be that a filter is active in your
Problems view.

Dani
>
> My RCP app is based on Eclipse 3.5.
>
> Thanks, y
>
> // p is my IProject
> IMarker marker = p.getWorkspace().getRoot().createMarker("xyz");
> marker.setAttribute(IMarker.MESSAGE,"This is a message");
> marker.setAttribute(IMarker.LOCATION,"/aa/bb");
> marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_ERROR);
>
Re: Markers do not appear in Problems view [message #483165 is a reply to message #483128] Mon, 31 August 2009 12:33 Go to previous message
Eclipse UserFriend
Originally posted by: yoduderoo.netscape.net

Problem was I had created my own marker but programmatically was not
using the same marker id in my code as defined in the extension. Once I
harmonized these, things worked.

By the way, yes, I was already looking at the console :)

Thanks,
y

Daniel Megert wrote:
> Yodude wrote:
>> Hi,
>> I create markers but nothing ever appears in the Problems view. There
>> are no error messages, no log entries. What is wrong? Am I missing a
>> plugin?
> How should we know? Start with -debug and check the console for
> problems. Another problem could be that a filter is active in your
> Problems view.
>
> Dani
>>
>> My RCP app is based on Eclipse 3.5.
>>
>> Thanks, y
>>
>> // p is my IProject
>> IMarker marker = p.getWorkspace().getRoot().createMarker("xyz");
>> marker.setAttribute(IMarker.MESSAGE,"This is a message");
>> marker.setAttribute(IMarker.LOCATION,"/aa/bb");
>> marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_ERROR);
>>
Previous Topic:Strange problem: Application could not be found in the registry
Next Topic:How to
Goto Forum:
  


Current Time: Tue Jan 14 00:58:00 GMT 2025

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

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

Back to the top