[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8704) Сtrl+shift+G on an event shows a weird "Injected class Event"

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Tue Apr 19 13:12:33 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-8704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596579#comment-12596579 ] 

Daniel Azarov commented on JBIDE-8704:
--------------------------------------

Query Participant (org.eclipse.jdt.ui.search.IQueryParticipant) can provide IMatchPresentation by "getUIParticipant" method. IMatchPresentation can only provide ILabelProvider which provides text and images it is not enough for Tree, for tree we need also Tree Content Provider.

In case 3 we can provide Content Provider, Label Provider, all what we need.

> Сtrl+shift+G on an event shows a weird "Injected class Event"
> -------------------------------------------------------------
>
>                 Key: JBIDE-8704
>                 URL: https://issues.jboss.org/browse/JBIDE-8704
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.2.0.Final
>            Reporter: Alexey Kazakov
>            Assignee: Daniel Azarov
>             Fix For: 3.3.x
>
>         Attachments: CDISearchParticipant1.png, CDISearchParticipant2.png, screen.gif
>
>
> For instance:
> @Inject private Event<CodeFragment> event;
> Crtl+shift+G on event. See the search result.
> !screen.gif|thumbnail!
> I think we should refactor our search participants for injection points.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list