Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » get EObject's EOperations
get EObject's EOperations [message #665879] Sun, 17 April 2011 20:27 Go to next message
Philipp  is currently offline Philipp Friend
Messages: 1
Registered: April 2011
Junior Member
Hi! I have generated an EMF model editor application. In the application I detect the selected object (derived from EObject).

How can I get a list of EOperations that are defined for this object?

Thanks
Philipp
Re: get EObject's EOperations [message #665885 is a reply to message #665879] Mon, 18 April 2011 00:32 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Philipp,

Using eObject.eClass().getEAllOperations().


Philipp wrote:
> Hi! I have generated an EMF model editor application. In the
> application I detect the selected object (derived from EObject).
>
> How can I get a list of EOperations that are defined for this object?
>
> Thanks
> Philipp


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: get EObject's EOperations [message #665906 is a reply to message #665885] Mon, 18 April 2011 05:56 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
.... and turn on EOperation generation in the genmodel before I think.

Tom

Am 18.04.11 02:32, schrieb Ed Merks:
> Philipp,
>
> Using eObject.eClass().getEAllOperations().
>
>
> Philipp wrote:
>> Hi! I have generated an EMF model editor application. In the
>> application I detect the selected object (derived from EObject).
>>
>> How can I get a list of EOperations that are defined for this object?
>>
>> Thanks
>> Philipp
Previous Topic:log4j and EMF generated code plugins?
Next Topic:Unserialize
Goto Forum:
  


Current Time: Fri Apr 26 15:30:56 GMT 2024

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

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

Back to the top