Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[CDO] Validation problem markers
https://www.eclipse.org/forums/index.php/mv/msg/393725/934026/#msg_934026
EMF-based applications typically use Eclipse workspace markers to
present validation problems in the Problems view and in the editor (the
label decorator uses the trace from the marker to the offending
object's URI). This works great for the generated editors using
workspace resources.
However, in a CDO world, resources don't live in the workspace and
workspace metadata such as problem markers do not apply. Has anyone
provided an alternative mechanism for tracking and presenting problems
in the CDO context? I could imagine something as simple as a problem
model that annotates elements simply by referencing them; it could be
persisted anywhere, but would probably not make sense in to share in
the repository. Label decorations would be straight-forward, but the
standard Problems view is marker-driven so presumably some new view
would be needed for validation problems.
Thanks,
Christian]]>Christian Damus2012-10-05T15:22:41-00:00Re: [CDO] Validation problem markers
https://www.eclipse.org/forums/index.php/mv/msg/393725/934073/#msg_934073
I know of no effort in that direction. It would certainly be cool to reuse the Problems view but I also don't see how to
provide those darned IResources to the markers API.
Am 05.10.2012 17:22, schrieb Christian W. Damus:
> Hi,
>
> EMF-based applications typically use Eclipse workspace markers to present validation problems in the Problems view and
> in the editor (the label decorator uses the trace from the marker to the offending object's URI). This works great
> for the generated editors using workspace resources.
>
> However, in a CDO world, resources don't live in the workspace and workspace metadata such as problem markers do not
> apply. Has anyone provided an alternative mechanism for tracking and presenting problems in the CDO context? I could
> imagine something as simple as a problem model that annotates elements simply by referencing them; it could be
> persisted anywhere, but would probably not make sense in to share in the repository. Label decorations would be
> straight-forward, but the standard Problems view is marker-driven so presumably some new view would be needed for
> validation problems.
>
> Thanks,
>
> Christian
>]]>Eike Stepper2012-10-05T16:21:31-00:00Re: [CDO] Validation problem markers
https://www.eclipse.org/forums/index.php/mv/msg/393725/934081/#msg_934081
If nobody else responds with any pointers, then I shall probably wind
up contributing a solution, myself. Would such a thing be welcome in
CDO?
cW
On 2012-10-05 16:21:31 +0000, Eike Stepper said:
> Hi Christian,
>
> I know of no effort in that direction. It would certainly be cool to
> reuse the Problems view but I also don't see how to provide those
> darned IResources to the markers API.
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
> Am 05.10.2012 17:22, schrieb Christian W. Damus:
>> Hi,
>>
>> EMF-based applications typically use Eclipse workspace markers to
>> present validation problems in the Problems view and in the editor (the
>> label decorator uses the trace from the marker to the offending
>> object's URI). This works great for the generated editors using
>> workspace resources.
>>
>> However, in a CDO world, resources don't live in the workspace and
>> workspace metadata such as problem markers do not apply. Has anyone
>> provided an alternative mechanism for tracking and presenting problems
>> in the CDO context? I could imagine something as simple as a problem
>> model that annotates elements simply by referencing them; it could be
>> persisted anywhere, but would probably not make sense in to share in
>> the repository. Label decorations would be straight-forward, but the
>> standard Problems view is marker-driven so presumably some new view
>> would be needed for validation problems.
>>
>> Thanks,
>>
>> Christian]]>Christian Damus2012-10-05T16:31:34-00:00Re: [CDO] Validation problem markers
https://www.eclipse.org/forums/index.php/mv/msg/393725/934086/#msg_934086
> Thanks, Eike.
>
> If nobody else responds with any pointers, then I shall probably wind up contributing a solution, myself. Would such
> a thing be welcome in CDO?
Most welcome! Let me know if you need help...
>
> cW
>
>
> On 2012-10-05 16:21:31 +0000, Eike Stepper said:
>
>> Hi Christian,
>>
>> I know of no effort in that direction. It would certainly be cool to reuse the Problems view but I also don't see how
>> to provide those darned IResources to the markers API.
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>> Am 05.10.2012 17:22, schrieb Christian W. Damus:
>>> Hi,
>>>
>>> EMF-based applications typically use Eclipse workspace markers to present validation problems in the Problems view
>>> and in the editor (the label decorator uses the trace from the marker to the offending object's URI). This works
>>> great for the generated editors using workspace resources.
>>>
>>> However, in a CDO world, resources don't live in the workspace and workspace metadata such as problem markers do not
>>> apply. Has anyone provided an alternative mechanism for tracking and presenting problems in the CDO context? I
>>> could imagine something as simple as a problem model that annotates elements simply by referencing them; it could be
>>> persisted anywhere, but would probably not make sense in to share in the repository. Label decorations would be
>>> straight-forward, but the standard Problems view is marker-driven so presumably some new view would be needed for
>>> validation problems.
>>>
>>> Thanks,
>>>
>>> Christian
>
>]]>Eike Stepper2012-10-05T16:36:30-00:00