Distinguishing Quick Fix Popup vs. Content Assist Popup [message #724313] |
Mon, 12 September 2011 04:06  |
Eclipse User |
|
|
|
Hi everyone,
I know that both of these popups are represented with the same object. Is there a way to distinguish quick fix popup and content assist popup assuming that I have the reference for CompletionProposalPopup object?
Specifically, I am looking for a method/field/detail that would help me do following:
CompletionProposalPopup popup = ... // Assume that I have retrieved this object.
if ( popup.isQuickFix() ) // This method does not exists, I am looking for it
{
// Do some stuff
}
else
{
// Do nothing.
}
Thanks, best regards,
[Updated on: Mon, 12 September 2011 04:47] by Moderator Report message to a moderator
|
|
|
Re: Distinguishing Quick Fix Popup vs. Content Assist Popup [message #725188 is a reply to message #724313] |
Wed, 14 September 2011 07:26   |
Eclipse User |
|
|
|
On 12.09.2011 06:06, Kivanc Muslu wrote:
> Hi everyone,
>
> I know that both of these popups are represented with the same object.
> Is there a way to distinguish quick fix popup and content assist popup
> assuming that I have the reference for CompletionProposalPopup object?
Why exactly do you need this?
Dani
> Specifically, I am looking for a method/field/detail that would help
> me do following:
>
>
> CompletionProposalPopup popup = ... // Assume that I have retrieved
> this object.
> if ( popup.isQuickFix() ) // This method does not exists, I am looking
> for it
> {
> // Do some stuff
> }
> else
> {
> // Do nothing.
> }
>
>
> Thanks, best regards,
|
|
|
|
Powered by
FUDForum. Page generated in 0.03473 seconds