Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Implement a third-party interface
Implement a third-party interface [message #428650] Wed, 25 March 2009 21:48 Go to next message
Rashmy A is currently offline Rashmy AFriend
Messages: 149
Registered: July 2009
Senior Member
Hi,
There is a ecore file that I created with the below element:

testmodel/
-UniversityElement (inherits from EObject)
--name:Estring
--description:EString

Then I generate code using the EMF genmodel file.
Everything so far.

Next, I open the UniversityElementImpl class and make it implement a
third-party interface say, Deployable
So the code looks like this:
Re: Implement a third-party interface [message #428657 is a reply to message #428650] Wed, 25 March 2009 23:40 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
Rashmy,

I guess you hit send too early.

Rashmy wrote:
> Hi,
> There is a ecore file that I created with the below element:
>
> testmodel/
> -UniversityElement (inherits from EObject)
> --name:Estring
> --description:EString
>
> Then I generate code using the EMF genmodel file.
> Everything so far.
>
> Next, I open the UniversityElementImpl class and make it implement a
> third-party interface say, Deployable
> So the code looks like this:
>
>
>
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Tutorial EMF/Teneo persistence
Next Topic:Problem with Deletion : Managing Localy Shared global Object as Non-contained-Child
Goto Forum:
  


Current Time: Thu Sep 26 00:10:00 GMT 2024

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

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

Back to the top