Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Extending Quick Fix Dialog (UI)
Extending Quick Fix Dialog (UI) [message #653297] Wed, 09 February 2011 09:22 Go to next message
Kivanc Muslu is currently offline Kivanc MusluFriend
Messages: 153
Registered: November 2010
Senior Member
Hi all,

Is it possible to extend the dialog that opens when a user clicks on a quick fix in Eclipse programmatically?

Let's say that I want to add some buttons (such as 'OK' and 'CANCEL') to this dialog. This is an artificial example, I just want to learn if I get that dialog object (I don't know what it is exactly but let's say JPanel or a Panel, Dialog, etc.) and add GUI components into it, change the layout etc.

1- Is this possible?
2- If yes, could you point me an entry code that would create this hook (such as an extension point etc.)
3- If no, is there a better alternative method that you know of (like a hack)?

Thanks a lot in advance, best regards,
Re: Extending Quick Fix Dialog (UI) [message #653302 is a reply to message #653297] Wed, 09 February 2011 09:31 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 09.02.2011 10:22, Kivanc Muslu wrote:
> Hi all,
>
> Is it possible to extend the dialog that opens when a user clicks on a
> quick fix in Eclipse programmatically?
Which dialog exactly? Most of the time there is no dialog shown when a
quick fix is selected.
> Let's say that I want to add some buttons (such as 'OK' and 'CANCEL')
> to this dialog. This is an artificial example, I just want to learn if
> I get that dialog object (I don't know what it is exactly but let's
> say JPanel or a Panel, Dialog,
Eclipse does not use AWT or Swing.

Dani
> etc.) and add GUI components into it, change the layout etc.
>
> 1- Is this possible?
> 2- If yes, could you point me an entry code that would create this
> hook (such as an extension point etc.)
> 3- If no, is there a better alternative method that you know of (like
> a hack)?
>
> Thanks a lot in advance, best regards,
Re: Extending Quick Fix Dialog (UI) [message #653315 is a reply to message #653302] Wed, 09 February 2011 10:38 Go to previous message
Kivanc Muslu is currently offline Kivanc MusluFriend
Messages: 153
Registered: November 2010
Senior Member
Hi Dani,

Thanks for the response. Sorry that the question was not clear.
I mean the following dialog when you actually click on the quick fix that is on the left:
http://www.kivancmuslu.com/qf_dialog.png

AWT or Swing does not matter, I didn't knew what Eclipse used internally for GUI, if there is an open API to extend the above dialog, I can use that (actually that would be great!)

Again, thanks a lot!

Regards,
Previous Topic:unknown error
Next Topic:JAD Files in Eclipse
Goto Forum:
  


Current Time: Thu Apr 25 16:07:36 GMT 2024

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

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

Back to the top