|
Re: loading resource without displaying it in editor [message #418707 is a reply to message #418702] |
Thu, 24 April 2008 16:59 |
Ed Merks Messages: 33146 Registered: July 2009 |
Senior Member |
|
|
Bernd,
Just do it. :-P If you invoke Generate Test Code and look at the
generated XyzExample.java, you'll see how resources are loaded and
saved. When running in the Eclipse environment, none of the
registration code in that example is necessary. You can just create a
resource set and load resources into it anywhere in your code...
Hmmm. But maybe you are doing it in the editor. You could load it into
a different resource set. It's not clear if the resource you're loading
is in any way related to what's going in the editor...
Bernd Mühlböck wrote:
> I have to load a Resource into a ResourceSet in order to create
> elements in the background.
> How can I prohibit the editor to show it.
>
> Thanks,
> Bernd
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03700 seconds