Skip to main content


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 #506165] Wed, 06 January 2010 12:39 Go to next message
Barak  is currently offline Barak Friend
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-integration /, but I couldn't figure out a way to find the class
XXXDocumentProvider 
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 #506173 is a reply to message #506165] Wed, 06 January 2010 12:49 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
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
Re: Performing validation whenever a diagram is saved [message #506200 is a reply to message #506173] Wed, 06 January 2010 14:15 Go to previous messageGo to next message
Barak  is currently offline Barak Friend
Messages: 18
Registered: December 2009
Junior Member
Sure thing.
Thanks!
Re: Performing validation whenever a diagram is saved [message #584463 is a reply to message #506173] Wed, 06 January 2010 14:15 Go to previous message
Barak  is currently offline Barak Friend
Messages: 18
Registered: December 2009
Junior Member
Sure thing.
Thanks!
Previous Topic:Performing validation whenever a diagram is saved
Next Topic:NullPointerException at org.eclipse.epsilon.emc.emf
Goto Forum:
  


Current Time: Wed Apr 24 16:21:43 GMT 2024

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

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

Back to the top