[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: workspace startup event
|
> - The fact that several people want this feature indicates that there will
> be several plugins doing startup code. As this is early days in the life
of
> Eclipse, it seems like this number could get quite large.
I think the fact that you can't have something makes you want to have it
even more. I bet most people don't need this, but probably are intersted in
the decision since it may affect them one day.
I'm suprised I haven't seen anyone ask what is the reason that such
activiation is needed.
I bet one of the common problems that makes people think they need their
plugin activated is Action enablement. Whatever happened to the "delegates"
for the Action that used to be in JFace. If I remember correctly, you could
provide a helper class that would get instantiated without starting your
plugin, and that helper would be able to provide some enablement logic more
intelligent than the current "enablesOn" attribute. As soon as your plugin
is enabled, the delegate is replaced by the real action impl.