Surya ’s Blog

… ever streaming tools and technologies….!!!

Archive for the ‘Eclipse EMF’ Category

EMF Howto’s

Posted by kathayat on July 26, 2007

Hints, tips and tricks concerning the use of the EMF API’s.

Initializing a ResourceSet

When using a ResourceSet object with the EMF-UML2 profile (as in various of the tutorials), you must build a map of URI mappings, as these are used internally by the UML2 metamodel. Each of these mappings maps a logical URI to a physical URI. Read the rest of this entry »

Posted in Eclipse EMF | Leave a Comment »

Saving the EMF model to XML File

Posted by kathayat on July 26, 2007

 public void saveModel(EObject project)
{
 try{
  @SuppressWarnings(“unused”)
  URI fileURI = URI.createFileURI(“data/test1.xml”);
  Resource poResource = new XMLResourceFactoryImpl().createResource(fileURI);
  poResource.getContents().add(project);
  poResource.save(null);
 } catch(Exception ex)
 {
  ex.printStackTrace();
 }
}

Read the rest of this entry »

Posted in Eclipse EMF | Leave a Comment »

EMF – Moving to MDA

Posted by kathayat on July 10, 2007

http://www.ddj.com/dept/opensource/184406198

>>Article about eclipse modeling framework and model-driven developement

Posted in Eclipse EMF | Leave a Comment »

Using EMF

Posted by kathayat on July 2, 2007

Posted in Eclipse EMF | Leave a Comment »