org.eclipse.emf.mwe2.runtime
Interface IFactory<T>

Type Parameters:
T -

public interface IFactory<T>

Author:
Sven Efftinge - initial contribution and API Mwe supports delegating the creation of objects to IFactory. Just declare an instance of this interface instead of the concrete class. Not that your implementation needs to have a default constructor. Any setter or adder methods declared on the factory implementations will be called before the MWE engine calls create(). The rest of the assignments will be set on the created Object.

Method Summary
 T create()
           
 

Method Detail

create

T create()