Getting access to problem log [message #242864] |
Thu, 20 May 2004 13:32  |
Eclipse User |
|
|
|
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
|
|
|
|
Re: IFileModificationValidator [was Re: Getting access to problem log] [message #245077 is a reply to message #242869] |
Tue, 25 May 2004 13:43  |
Eclipse User |
|
|
|
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
>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03509 seconds