Eclipse Modeling Framewok (EMF) - Distributed Systems
Eclipse Modeling Framewok (EMF) - Distributed Systems
Eclipse Modeling Framewok (EMF) - Distributed Systems
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Model Code – Factory<br />
1 package es.um.emf . test . tree ;<br />
3 public interface TreeFactory extends EFactory {<br />
5 // Factory Singleton<br />
TreeFactory eINSTANCE = tree . impl .<br />
TreeFactoryImpl . init ();<br />
7<br />
// Create new nodes ( instances ) of the model<br />
Nodes<br />
9 Node createNode ();<br />
11 TreePackage getTreePackage ();<br />
13 } // TreeFactory<br />
Diego Sevilla Ruiz (DITEC Facultad de Informática) <strong>Eclipse</strong> <strong>Modeling</strong> <strong>Framewok</strong> (<strong>EMF</strong>) Murcia, October 2011 42 / 52