Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Interface Selection Wizard Component
Interface Selection Wizard Component [message #323972] Mon, 14 January 2008 20:06 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Handler enablement spreading across plugin.xml and Java code?
Next Topic:Setting document text without losing cursor position?
Goto Forum:
  


Current Time: Sat Jul 19 12:03:26 EDT 2025

Powered by FUDForum. Page generated in 0.04412 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top