why wont the selectionchanged method work without invokiing tthe plugin? [message #44282] |
Wed, 30 June 2004 09:47 |
Eclipse User |
|
|
|
Originally posted by: salgavkarNOSPAM.NOSPAMyahoo.com
Hi,
When i select something in javacode editor (the plugin is loaded, but not
called at this time), the selectionChanged (IAction action, ISelection
selection), which is part of plugin, does not recieve any events. However,
it seems to work perfactly fine after i call the plugin via a menu bar.
The only theory that i have is that the plugin doesnt really start untill
it is called for the first time, even though the it is accessible via menu
bar, which is active. My question is how do we configure the plugin so
that it starts up when the plugin gets loaded.
Salgavkar.
|
|
|
|
Re: why wont the selectionchanged method work without invokiing tthe plugin? [message #44344 is a reply to message #44313] |
Wed, 30 June 2004 23:38 |
Eclipse User |
|
|
|
Originally posted by: salgavkarNOSPAM.NOSPAMyahoo.com
thanks sam.
Sam Mesh wrote:
> From my experience with 2.X:
> - callbacks are not called for inactive plugins - recommended by ... ?
> - plugin can be activated on startup - not recommended by ... ?
> So, the solution is possible ut not recommended. :)
would u be kind enough to tell me tthe exact steps to activate a plugin on
startup. i understand why this not recommended.
Thanks
Salgavkar.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02771 seconds