Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Performing validation whenever a diagram is saved
Performing validation whenever a diagram is saved [message #584406] Wed, 06 January 2010 12:39 Go to next message
Barak  is currently offline Barak
Messages: 18
Registered: December 2009
Junior Member
Hi,

I'm trying to perform validation on save when working with UML2 diagrams.
There is an explanation at the bottom of this link http://www.eclipse.org/gmt/epsilon/doc/articles/evl-gmf-inte gration/, but I couldn't figure out a way to find the classXXXDocumentProvider and obviously, the method doSaveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite) inside it when using UML2 meta-model.

How can a save event trigger the validate operation when working with UML2?

Thanks,
Barak
Re: Performing validation whenever a diagram is saved [message #584455 is a reply to message #584406] Wed, 06 January 2010 12:49 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Barak,

I have to admit I'm not really familiar with the source code of the
UML2Tools. Could you please repost the question to the uml2tools forum?

Cheers,
Dimitris

Barak wrote:
> Hi,
>
> I'm trying to perform validation on save when working with UML2
> diagrams. There is an explanation at the bottom of this link
> http://www.eclipse.org/gmt/epsilon/doc/articles/evl-gmf-inte gration/,
> but I couldn't figure out a way to find the classXXXDocumentProvider
> and obviously, the method doSaveDocument(IProgressMonitor monitor,
> Object element, IDocument document, boolean overwrite) inside it when
> using UML2 meta-model.
>
> How can a save event trigger the validate operation when working with
> UML2?
>
> Thanks,
> Barak


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:Composing Epsilon tools?
Next Topic:Performing validation whenever a diagram is saved
Goto Forum:
  


Current Time: Wed Oct 22 12:25:17 GMT 2014

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

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