Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Java services(Java services)
Java services [message #1764814] Fri, 02 June 2017 11:48 Go to next message
Elsa Enam is currently offline Elsa EnamFriend
Messages: 21
Registered: April 2017
Junior Member
Hello,

Can I modify Elements of my graphic using Java services(name, add children, delet element)

Thank you for replying
Re: Java services [message #1764815 is a reply to message #1764814] Fri, 02 June 2017 11:57 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 572
Registered: May 2011
Senior Member
Hello,

Yes in tools, where you have expressions (yellow fields) to set, you can use one of your java services.

Regards,
Steve


Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Java services [message #1764844 is a reply to message #1764815] Fri, 02 June 2017 15:04 Go to previous messageGo to next message
Elsa Enam is currently offline Elsa EnamFriend
Messages: 21
Registered: April 2017
Junior Member
Can you please give me a git repository to see how to see how to do that
Thank you
Re: Java services [message #1765186 is a reply to message #1764844] Wed, 07 June 2017 10:46 Go to previous message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 572
Registered: May 2011
Senior Member
Hello,

Here is the Git repository of Sirius: https://git.eclipse.org/c/sirius/org.eclipse.sirius.git

However, I suggest that you start by the documentation here: https://www.eclipse.org/sirius/doc/specifier/general/Writing_Queries.html#service_methods

Note that, when you create a Viewpoint Specification Project, using the wizard, it automatically creates a java class named Services, that is referenced by a Java Extension in the Viewpoint Specification Model. Therefore, right after project creation, you can already add your java services in the class and use them in your VSM.

Regards,
Steve


Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Variable / Iterator in "Dynamic Mapping" not available
Next Topic:Property View - dynamic groups
Goto Forum:
  


Current Time: Fri Apr 19 21:29:33 GMT 2024

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

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

Back to the top