Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Programmatically create instances(How can I create Instances in my JavaService ?)
Programmatically create instances [message #1831788] Sat, 29 August 2020 00:47 Go to next message
David Bunay is currently offline David BunayFriend
Messages: 2
Registered: August 2020
Junior Member
Hi, I am new in SIRIUS I would like to create a instance programmatically from my
JavaService Class of Java.
Help me please.

It is my short code.

public void createInstance(EObject sel) {

EClass datatypeDefinition = sel.eClass();
EObject datatypeInstance =

Re: Programmatically create instances [message #1831995 is a reply to message #1831788] Fri, 04 September 2020 10:07 Go to previous message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 180
Registered: October 2014
Senior Member

you will find what you need in the Sirius documentation to know how to define service and how to call them with aql


best regards

Laurent Fasani - Obeo
Need training or professional services for Sirius?
Previous Topic:Set selected value via button press.
Next Topic:Create a node by Selecting a different container
Goto Forum:

Current Time: Thu Oct 06 07:58:16 GMT 2022

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

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

Back to the top