Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to display validation problems in the "problems view"?
How to display validation problems in the "problems view"? [message #185821] Thu, 08 May 2008 09:47 Go to next message
Eclipse UserFriend
Originally posted by: info.mtiede.de

Hey,

I've got another issue: I'm currently only able to show validation errors
in the console view or within a popup; but e.g. in the mindmap example
(shown on the picture) the validation errors are displayed in the "normal"
Eclipse "Problems-View". How am I able to achieve this kind of
presentation of my validation problems instead of using the console or a
popup?

Thanks for your help!

with best regards
Markus
Re: How to display validation problems in the "problems view"? [message #185828 is a reply to message #185821] Thu, 08 May 2008 10:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tobk42.gmx.de

Markus schrieb:
> Hey,
> I've got another issue: I'm currently only able to show validation
> errors in the console view or within a popup; but e.g. in the mindmap
> example (shown on the picture) the validation errors are displayed in
> the "normal" Eclipse "Problems-View". How am I able to achieve this kind
> of presentation of my validation problems instead of using the console
> or a popup?
>
> Thanks for your help!
>
> with best regards
> Markus
>

Are you using a hand-coded validation, or are you using GMF's validation
framework, i.e. have you specified your constraints as 'audits' in the
gmfmap model? In the latter case validation problems should
automatically be shown both in the problem view and as 'x'-markers on
the nodes and edges in the diagram.

Regards,
Tobias
Re: How to display validation problems in the "problems view"? [message #185852 is a reply to message #185828] Thu, 08 May 2008 11:12 Go to previous message
Eclipse UserFriend
Originally posted by: info.mtiede.de

Yes, I'm using the GMF's validation framework and I've added several
'audits' to the gmfmap. Do I need any additional plug-ins except:

- org.eclipse.emf.ocl
- org.eclipse.emf.validation.ocl
- org.eclipse.ocl
- org.eclipse.ocl.ecore

Thanks for your help!

Markus
Previous Topic:Policy to add Ponts to Polygonfigure
Next Topic:Optimization of a graphic editor
Goto Forum:
  


Current Time: Wed Sep 25 14:18:42 GMT 2024

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

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

Back to the top