[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Programatically making editor dirty and saving them

Hello Vikas,

ResourceSetImpl resourceSet = new ResourceSetImpl();
Resoruce diagramResource = resourceSet.getResource(diagramURI, true);
Resoruce modelResource = resourceSet.getResource(modelURI, true);
for(Resource nextResource : resourceSet.getResources()) {
  nextResource.save(Collections.emptyMap());
}

-----------------
Alex Shatalin