|
|
|
|
Re: Java Reflection Classloading Extensionpoint Defined Classes [message #334355 is a reply to message #334343] |
Wed, 04 February 2009 14:48 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Hi,
Maybe you should change the extension point to be for a factory class
for the InputController instead. The factory could use the default ctor
to be constructed and then call a method on the factory with parent and
style to create the InputController.
That way you won't be digging into weird places to do what
createExecutableExtension is supposed to do anyway.
Jan Kohnert wrote:
> Paul,
>
> InputController is a Control. Therefor it needs be get instantiated on
> creationtime of an part/editor/dialog. Also it needs constructors like a
> parent Composite and a style.
>
> Paul Webster wrote:
>
>> And you cannot use
>> element.createExecutableExtension("InputController")? That's what it
>> is designed for.
>
>> PW
>
>
>
>
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.04218 seconds