Interface Selection Wizard Component [message #323972] |
Mon, 14 January 2008 20:06  |
Eclipse User |
|
|
|
I am working on an open source project called Take that is a rule scripting engine. My specific job at the moment is to create a eclipse plugin to help with development of the scripts.
I have created a wizard that is called to compile the script into Java source code. Some of the requirements of this are pretty standard, but I have one that is a not so simple.
I need a "Interface Selector" component that can select multiple Java interface's for the project. Exactly like the one in the standard new class wizard. I have found the class that creates the standard widget for the new class wizard, and I have tried sub-classing, and extracting the necessary widget, and it is quickly become a lot of work.
I was wondering if there is an easier way to make a widget that selects multiple Java interfaces from the selected project?
Cheers
Graham
|
|
|
Re: Interface Selection Wizard Component [message #323983 is a reply to message #323972] |
Tue, 15 January 2008 08:37  |
Eclipse User |
|
|
|
Graham Jenson wrote:
>I am working on an open source project called Take that is a rule scripting engine. My specific job at the moment is to create a eclipse plugin to help with development of the scripts.
>
>I have created a wizard that is called to compile the script into Java source code. Some of the requirements of this are pretty standard, but I have one that is a not so simple.
>
>I need a "Interface Selector" component that can select multiple Java interface's for the project. Exactly like the one in the standard new class wizard. I have found the class that creates the standard widget for the new class wizard, and I have tried sub-classing, and extracting the necessary widget, and it is quickly become a lot of work.
>
>I was wondering if there is an easier way to make a widget that selects multiple Java interfaces from the selected project?
>
>
This should help: org.eclipse.jdt.ui.JavaUI.createTypeDialog(Shell,
IRunnableContext, IProject, int, boolean)
Dani
>Cheers
>Graham
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04412 seconds