Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to validate my diagrams without opening the diagram editor and saving...
How to validate my diagrams without opening the diagram editor and saving... [message #210061] Thu, 30 October 2008 23:13 Go to next message
Brian Jakubik is currently offline Brian JakubikFriend
Messages: 140
Registered: July 2009
Senior Member
I currently have my validate action
(ValidateAction.runValidation(diagram)) tied into the save of my editor,
so it gets validated on saves...

Is there a way to validate these diagrams without opening them in the
editor, I would like to do this programatically, possibly through a
builder... but any way without opening the editor would be a great start.

Any advice would be greatly appreciated.

Thanks
Brian Jakubik
Re: How to validate my diagrams without opening the diagram editor and saving... [message #210077 is a reply to message #210061] Fri, 31 October 2008 07:21 Go to previous message
Enrico Schnepel is currently offline Enrico SchnepelFriend
Messages: 121
Registered: July 2009
Senior Member
Hello Brain,

I am using the GMF2-Adapter [1] from oAW which uses the "OCL-like" Check
language to implement the validation rules. The checks can be used
externally (e.g. in a oAW workflow).

[1] http://www.eclipse.org/gmt/oaw/doc/4.2/html/contents/r51.htm l

regards

Enrico

Brian Jakubik wrote:
> I currently have my validate action
> (ValidateAction.runValidation(diagram)) tied into the save of my editor,
> so it gets validated on saves...
>
> Is there a way to validate these diagrams without opening them in the
> editor, I would like to do this programatically, possibly through a
> builder... but any way without opening the editor would be a great start.
>
> Any advice would be greatly appreciated.
>
> Thanks
> Brian Jakubik
Previous Topic:Custom figures with external labels and compartment
Next Topic:how get connection from editparts?
Goto Forum:
  


Current Time: Fri Mar 29 10:29:08 GMT 2024

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

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

Back to the top