Split model [message #1153217] |
Thu, 24 October 2013 09:05  |
Eclipse User |
|
|
|
Hi,
I want to split my model in separate logical documents and then import them to one
main model.
Is this possible? If it is how should I do it?
/Gunnar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Split model [message #1169950 is a reply to message #1169937] |
Mon, 04 November 2013 04:51   |
Eclipse User |
|
|
|
Hi,
You have all the code in the uploaded project.
The result form getAllResourceDescriptions when accounts and settlements are in the same file:
[org.eclipse.xtext.builder.builderState.impl.ResourceDescriptionImpl@6c08ae6f (URI: platform:/resource/MyDsl/Both.mydsl, importedNames: null)]
The result form getAllResourceDescriptions when accounts and settlements are in different files:
[org.eclipse.xtext.builder.builderState.impl.ResourceDescriptionImpl@5afbfbc2 (URI: platform:/resource/MyDsl/Both.mydsl, importedNames: [c3, b2, a1, c5]), org.eclipse.xtext.builder.builderState.impl.ResourceDescriptionImpl@554dac38 (URI: platform:/resource/MyDsl/Accounts.mydsl, importedNames: null), org.eclipse.xtext.builder.builderState.impl.ResourceDescriptionImpl@5e65bc48 (URI: platform:/resource/MyDsl/Settlements.mydsl, importedNames: [])]
/Gunnar
|
|
|
|
|
|
|
|
|
|