Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Validate from Code
Validate from Code [message #58098] Mon, 02 October 2006 12:57 Go to next message
Eclipse UserFriend
Originally posted by: leonardo.coelho.siliconstrategy.com.br

How can I validate my diagram from code?

I mean, my RCP app should have a unique menu that do a lot of things
including validating my diagram (and of course, show its problems!)

Could you help me?

Regards!

--

=============================/============================== ====
Leonardo Coelho
=============================/============================== =====
Re: Validate from Code [message #58147 is a reply to message #58098] Mon, 02 October 2006 13:18 Go to previous messageGo to next message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
Have you looked at the validation section of the tutorial?
http://wiki.eclipse.org/index.php/GMF_Tutorial_Part_2#Valida tion

- Rich


On 10/2/06 8:57 AM, in article efr26d$ph3$1@utils.eclipse.org, "Leonardo
Coelho" <leonardo.coelho@siliconstrategy.com.br> wrote:

> How can I validate my diagram from code?
>
> I mean, my RCP app should have a unique menu that do a lot of things
> including validating my diagram (and of course, show its problems!)
>
> Could you help me?
>
> Regards!
Re: Validate from Code [message #58193 is a reply to message #58098] Mon, 02 October 2006 13:39 Go to previous messageGo to next message
Radomil Dvorak is currently offline Radomil DvorakFriend
Messages: 249
Registered: July 2009
Senior Member
Hi Leonardo,

You can invoke the operation of ...ValidationProvider$ValidateAction class.
public static void runValidation(View view)

Regards,
/Radek

On Mon, 02 Oct 2006 14:57:35 +0200, Leonardo Coelho
<leonardo.coelho@siliconstrategy.com.br> wrote:

> How can I validate my diagram from code?
>
> I mean, my RCP app should have a unique menu that do a lot of things
> including validating my diagram (and of course, show its problems!)
>
> Could you help me?
>
> Regards!
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Validate from Code [message #58218 is a reply to message #58147] Mon, 02 October 2006 13:42 Go to previous message
Eclipse UserFriend
Originally posted by: leonardo.coelho.siliconstrategy.com.br

Hi, Richard.

Thx for your fast answer.

I think I wasn´t clear at all.

My validation audits are already working well and now I´m developing an
RCP application that uses my GMF plugin.

The point is that I want my app has a independent menu that call the
validation process. It´s my own menu (or a toolbar button) that does it.

Any ideas?

thx!

leo

Richard Gronback escreveu:
> Have you looked at the validation section of the tutorial?
> http://wiki.eclipse.org/index.php/GMF_Tutorial_Part_2#Valida tion
>
> - Rich
>
>
> On 10/2/06 8:57 AM, in article efr26d$ph3$1@utils.eclipse.org, "Leonardo
> Coelho" <leonardo.coelho@siliconstrategy.com.br> wrote:
>
>> How can I validate my diagram from code?
>>
>> I mean, my RCP app should have a unique menu that do a lot of things
>> including validating my diagram (and of course, show its problems!)
>>
>> Could you help me?
>>
>> Regards!
>

--

=============================/============================== ====
Leonardo Coelho
=============================/============================== =====
Previous Topic:EMF-Editor-Outline?
Next Topic:Pulling attribute from a referenced object
Goto Forum:
  


Current Time: Wed Jul 17 22:15:47 GMT 2024

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

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

Back to the top