Extending Quick Fix Dialog (UI) [message #653297] |
Wed, 09 February 2011 09:22 |
Kivanc Muslu 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 |
Dani Megert 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,
|
|
|
|
Powered by
FUDForum. Page generated in 0.04518 seconds