Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Question about edges
Question about edges [message #1809452] Tue, 16 July 2019 10:57 Go to next message
Fabian Müller is currently offline Fabian MüllerFriend
Messages: 1
Registered: July 2019
Junior Member
Hello,

I have a question about edges in a diagram.
In my Services class I have a method that takes 2 of my EObject classes (i.e. self and a target) and returns a boolean.

How can I use this method to create an edge between these two nodes if the function returns true?
I tried creating a relational based edge and setting Source and Target mapping accordingly, but how can I write the Target Finder Expression to use source/target as second argument for the method,
e.g. something like aql:self.methodName(target)=true ?


Best regards
Re: Question about edges [message #1809516 is a reply to message #1809452] Wed, 17 July 2019 09:09 Go to previous message
Julien Dupont is currently offline Julien DupontFriend
Messages: 172
Registered: July 2009
Senior Member
Hello Fabian,

What exactly do you want to do?
Do you want your service create your edge or do you want this service to only enable the edge creation tool?
If you want only verify if the condition is true (return by the service) and apply your creation tool you can call the service in the "Connection Complete Precondition" of the tool creation.

Regards,
Previous Topic:Node replace tool
Next Topic:Errors while running configuration
Goto Forum:
  


Current Time: Wed Apr 24 17:16:01 GMT 2024

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

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

Back to the top