Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Getting access to problem log
Getting access to problem log [message #242864] Thu, 20 May 2004 13:32 Go to next message
Eclipse UserFriend
Originally posted by: oleg.configurecode.com

Dear Distinguished Colleagues:

I am working on an editor plugin that needs to report problems with
the document into the problem log, just like the Java tools do.

I am trying to find a document that describes how to do that. Also, I
need to send the user back to the right location in the offending
document on dbl click.

Any idea where I can find some documentation on this ?

Kind regards,
Oleg Dulin
IFileModificationValidator [was Re: Getting access to problem log] [message #242869 is a reply to message #242864] Thu, 20 May 2004 13:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: oleg.configurecode.com

I just found something: do I need to implement a
org.eclipse.core.resources.fileModificationValidator extension for
what I described below ?

Is my understanding that all IStatus objects will end up showing up in
the problem log view ?

Regards,
Oleg

On Thu, 20 May 2004 13:32:17 -0400, Oleg Dulin
<oleg@configurecode.com> wrote:

>Dear Distinguished Colleagues:
>
>I am working on an editor plugin that needs to report problems with
>the document into the problem log, just like the Java tools do.
>
>I am trying to find a document that describes how to do that. Also, I
>need to send the user back to the right location in the offending
>document on dbl click.
>
>Any idea where I can find some documentation on this ?
>
>Kind regards,
>Oleg Dulin
Re: IFileModificationValidator [was Re: Getting access to problem log] [message #245077 is a reply to message #242869] Tue, 25 May 2004 13:43 Go to previous message
Eclipse UserFriend
Oleg,

The IFileModificationValidator has nothing to do with the Problems view.
Clients (e.g. editors) must call the validator before modifying the
contents of a file and the implementor of the validator (e.g. CVS or
some other repository tool) prepare the file for editing or veto the edit.

I think what you want to do is create resource markers with a severity
of ERROR. These shoudl then appear in the problems view.

Michael

Oleg Dulin wrote:

> I just found something: do I need to implement a
> org.eclipse.core.resources.fileModificationValidator extension for
> what I described below ?
>
> Is my understanding that all IStatus objects will end up showing up in
> the problem log view ?
>
> Regards,
> Oleg
>
> On Thu, 20 May 2004 13:32:17 -0400, Oleg Dulin
> <oleg@configurecode.com> wrote:
>
>
>>Dear Distinguished Colleagues:
>>
>>I am working on an editor plugin that needs to report problems with
>>the document into the problem log, just like the Java tools do.
>>
>>I am trying to find a document that describes how to do that. Also, I
>>need to send the user back to the right location in the offending
>>document on dbl click.
>>
>>Any idea where I can find some documentation on this ?
>>
>>Kind regards,
>>Oleg Dulin
>>
>
Previous Topic:cvsnt and repository prefixes
Next Topic:Eclipse not seeing all CVS projects
Goto Forum:
  


Current Time: Wed Mar 12 00:37:04 EDT 2025

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

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

Back to the top