Package org.eclipse.emf.mwe2.runtime
Interface IFactory<T>
- Type Parameters:
T
-
- All Known Implementing Classes:
ComponentAFactory
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 callscreate()
. The rest of the assignments will be set on the created Object.
-
Method Summary
-
Method Details
-
create
T create()
-