[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: how to get editPart from model/diagram filename

Hello sowmya,

the diagram and the model filename as a IResource object.How could i
get the editPart from the filename
You have to open an editor then you'll be able to interact with EditParts.
I suggest you to use Notation/DomainModel API for these modifications. Nearly all the necessary information is available through these APIs.
To get Notation model instances you simply have to load EMF resource from the diagrfam file and then you'll see Diagram instance just in the root of this resource.


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