Reusing Interface Selection UI JDT [message #941129] |
Fri, 12 October 2012 08:33 |
|
Hi there, fellow developers,
I have a question about JDT. I'm developing an Eclipse plugin, and somewhere in a Wizard, I need to select a Java Interface out of my project. My intend is to do this like the "Create new class"-wizard.
A label "Select Interface" , a textfield with content proposal, and a "Browse" button. But all the classes used in JDT are in the internal package... So my actual question is: can I reuse the UI elements from the org.eclipse.jdt.internal packages, or should I
implement my own solution with a content proposal based on a JDT Search Engine API?
I spent a whole day searching/trying/reading to get this, but I couldn't find any answers...
Thank you in advance!!!
|
|
|
|
Re: Reusing Interface Selection UI JDT [message #945237 is a reply to message #941129] |
Mon, 15 October 2012 09:55 |
Dani Megert Messages: 3802 Registered: July 2009 |
Senior Member |
|
|
On 12.10.2012 10:33, Gerd Van Woensel wrote:
> Hi there, fellow developers,
>
> I have a question about JDT. I'm developing an Eclipse plugin, and
> somewhere in a Wizard, I need to select a Java Interface out of my
> project. My intend is to do this like the "Create new class"-wizard.
>
> A label "Select Interface" , a textfield with content proposal, and a
> "Browse" button. But all the classes used in JDT are in the internal
> package... So my actual question is: can I reuse the UI elements from
> the org.eclipse.jdt.internal packages, or should I
> implement my own solution with a content proposal based on a JDT
> Search Engine API?
In general you should not use stuff from *.internal.* packages because
you risk that your product is broken with the next Eclipse release.
Dani
>
> I spent a whole day searching/trying/reading to get this, but I
> couldn't find any answers...
>
> Thank you in advance!!!
>
|
|
|
Powered by
FUDForum. Page generated in 0.03321 seconds