Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Automatically trigger "Diagram Validation" or adding a button on a tabbar for diagram vali
Automatically trigger "Diagram Validation" or adding a button on a tabbar for diagram vali [message #1730422] Mon, 25 April 2016 15:57 Go to next message
Parsa Pourali is currently offline Parsa PouraliFriend
Messages: 210
Registered: February 2014
Senior Member
Hi,

I was wondering how it is possible to add a button on a tabbar for validating diagram. I know we have to use extension point for the tabbar, but I don't know how to run diagram validation on a diagram.

Thanks,
Best Regards,
Parsa

[Updated on: Mon, 25 April 2016 15:58]

Report message to a moderator

Re: Automatically trigger "Diagram Validation" or adding a button on a tabbar for [message #1730508 is a reply to message #1730422] Tue, 26 April 2016 12:52 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Hi Parsa,

Le 25/04/2016 17:57, Parsa Pourali a écrit :
> Hi,
>
> I was wondering how it is possible to add a button on a tabbar for
> validating diagram. I know we have to use extension point for the
> tabbar, but I don't know how to run diagram validation on a diagram.
>

You might take a look to org.eclipse.sirius.diagram.ui.part.ValidateAction


> Thanks,
> Best Regards,
> Parsa

Regards,
--
Maxime - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Automatically trigger "Diagram Validation" or adding a button on a tabbar for [message #1730584 is a reply to message #1730508] Tue, 26 April 2016 22:13 Go to previous message
Parsa Pourali is currently offline Parsa PouraliFriend
Messages: 210
Registered: February 2014
Senior Member
Thanks Maxime Cool
Previous Topic:Programmatically access to the EAttributes
Next Topic:Adding View to Show Xtext Embedded Editor for Selected Elements
Goto Forum:
  


Current Time: Thu Sep 26 18:27:06 GMT 2024

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

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

Back to the top