Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » IMarkers and Problems View for validation without any IResource?
IMarkers and Problems View for validation without any IResource? [message #555898] Mon, 30 August 2010 07:08 Go to next message
Ralf Zahn is currently offline Ralf ZahnFriend
Messages: 32
Registered: July 2009
Member
Hi,

I have a custom application that is based on Eclipse and should run with both RCP and RAP. Within this application, I have a model that is stored within a database. I want to provide validation functionality and would therefore provide the Problems view.

The problem is that the Problems View and the IMarker interface are both part of the org.eclipse.core.resources plugin that is not supported by RAP. Is there any possibility that I do not have to write a custom Problems view by myself? Wouldn't it make sense to extract the problems view and IMarker interface from the Resources Plugin and make it indepentent from a workspace?
Re: IMarkers and Problems View for validation without any IResource? [message #556026 is a reply to message #555898] Mon, 30 August 2010 15:07 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Ralf,

It might make some sense it be separate but it's not right now. The
interface is also marked like this

* @noimplement This interface is not intended to be implemented by clients.
* @noextend This interface is not intended to be extended by clients.

And it has stuff to do with line numbers or characters start/end ranges,
which don't make much sense unless source text is involved.

You're pretty much stuck writing your own problems view...


Ralf Zahn wrote:
> Hi,
>
> I have a custom application that is based on Eclipse and should run
> with both RCP and RAP. Within this application, I have a model that is
> stored within a database. I want to provide validation functionality
> and would therefore provide the Problems view.
>
> The problem is that the Problems View and the IMarker interface are
> both part of the org.eclipse.core.resources plugin that is not
> supported by RAP. Is there any possibility that I do not have to write
> a custom Problems view by myself? Wouldn't it make sense to extract
> the problems view and IMarker interface from the Resources Plugin and
> make it indepentent from a workspace?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Add action to external editors
Next Topic:Resource refresh listener?
Goto Forum:
  


Current Time: Thu Apr 18 13:07:25 GMT 2024

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

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

Back to the top