Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » using EOperation inside GMF
using EOperation inside GMF [message #199009] Fri, 25 July 2008 16:14 Go to next message
Patry Olivier is currently offline Patry OlivierFriend
Messages: 54
Registered: July 2009
Member
Hi,

I define some EOperation on my EClass, I want to execute them (simple
side effect like System.out.println for example, but maybe some more
complex ones in the future), how can I do that?

With a menu?


Thanks
Re: using EOperation inside GMF [message #199113 is a reply to message #199009] Mon, 28 July 2008 10:09 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Olivier,

By using java reflection API.

-----------------
Alex Shatalin
Re: using EOperation inside GMF [message #199525 is a reply to message #199113] Wed, 30 July 2008 12:51 Go to previous message
Patry Olivier is currently offline Patry OlivierFriend
Messages: 54
Registered: July 2009
Member
Alex Shatalin a écrit :
> Hello Olivier,
>
> By using java reflection API.
>
> -----------------
> Alex Shatalin
>
>
Hi,

a little late for answering, sorry.

Using relfection to invoke method. But how can I integrate a mechanism
calling this invocation?

Typically, I would have on my treeview or GMFView a way to run my
methods (invoke by reflection API).

Thanks for answer,

Olivier PATRY
Previous Topic:How to display aggregate relations via links (like in UML diagrams)
Next Topic:How to know a connection is made?
Goto Forum:
  


Current Time: Fri Apr 19 23:53:15 GMT 2024

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

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

Back to the top