|Re: Do Addons have another Context, than the parts? [message #1004013 is a reply to message #1003628]
||Tue, 22 January 2013 12:31
| Brian de Alwis
Registered: January 2012
Anything implementing MContext will generally havens own context.|
Addons are held at the application layer, so your part could traverse its container and then search for the appropriate addon. But remember there may be multiple instances of your part, depending on how many windows you have in your model.
A different way might be to use the context's notion of active variables to try to decouple your addon from your part.
Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Powered by FUDForum
. Page generated in 0.01920 seconds