[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Getting EditingDomain and ResourceSet from IFile

Hi,

I would need to get the EditingDomain and the ResourceSet from and IFile without opening that file in the EMF editor?

I don't know if that question even makes sense or not, but is that possible? I have multiple files which I need to add things programmatically, so I need the resourceset to find the owner where to add my new nodes and I need the editing domain to execute the AddCommand I create.

With one file, I got everything by opening the editor, but I don't know if I can modify files that aren't even opened?

any help would be very nice :)

Best regards,
Artur