The stackoverflow answer seems to answer your question directly.
The Sample Ecore Model Editor context menu action that you require is actually "Load Resource..." and is typically about three entries from the bottom (just above Refresh and Show Properties View). Use it to load Quote.ecore while editing Ouput.ecore.
Yes, I saw that I have to use the Sample Ecore Model Editor instead of the ecore editor.
But Now I have a problem in the gen model.
I have now 2 packages:
- Quoting (ref to the existing Quote.ecore)
of course I don't want to generate anything for Quoting because everything is located in my other existing Quoting model plugin.
if I select only "Output" to generate ALL, MANIFEST contains invalid entries for Quoting classes and a lot of extensions are as well generated in plugin.xml.
or example in plugin.xml
<!-- @generated output -->
On the last page of the wizard, "Package Selection" there is a "Referenced generator models:" section. If you don't see your Quoting model in there, you should check it and not check it in the "Root packages:" section. If you don't see it there that probably means the Quoting model does properly register its GenModel in it's own plugin.xml. In any case, you can use Add... to load the Quoting *.genmodel so that it does appear in the bottom section and you should check it there, and not in the top section. You be able to use Reload... from the context menu or from the "Generator" menu bar with the output.genmodel open to fix it.