Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[emf-dev] Using custom EList implementation

Hi all,

 

I have a question on generation of implementation classes for EMF-based model. Is there any way that I could make the generated Impl classes to use my own custom EList implementation? E.g. could I make the generated EList getFoo() method listed below to use/create/return my own EList implementation instead of the “default” one?

 

public EList getFoo() {

      if (foo == null) {

//could I make the generator to generate

            foo = new MyOwnEListImplementation(...);

//instead of the “default” EList implementation, e.g.

            foo = new EObjectResolvingEList(...);

      }

      return foo;

}

 

Thanks,

Mikhail

 

--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: 125252, Moscow, Russian Federation, 
Chapayevsky Per, 14.

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Back to the top