[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: How can I pre-req an Optional plugin?
|
"Thomas Mäder" <tmaeder0906@xxxxxxxx> schrieb im Newsbeitrag
news:3B9FEFB4.B8F329A4@xxxxxxxxxxx
> I was wondering what you cast the newly created instance of "foo" to. If
you
> don't have any compile time dependencies on "foo", it looks to me as if
"foo"
> should actually plugin into an extension point that plugin B should
define.
> Sorry Peter, but the classloader thing just looks a bit hacky.
>
I know - but better than taking some other classLoader or
Class.forName(...), in this way I take the plugin's classLoader, so I should
be type safe "casting against Eclipse" (the other plugins :-) ...
anyway thomas, hope you are fine in maple :-) .
mfg feser aka peter paul