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

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Wed Apr 27 12:57:18 EDT 2011


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

Daniel Azarov edited comment on JBIDE-8704 at 4/27/11 12:57 PM:
----------------------------------------------------------------

Query Participant can not provide a tree.

However if Query Participant returns only IResource(s) and IJavaElement(s) and does not provide IMatchPresentation, JDT Search Result Page can show them in a tree. 

In this case user can not recognize CDI staff there.

If Query Participant returns something different from IResource and IJavaElement, it must provide IMatchPresentation, which can show result only as plain list. 

      was (Author: dazarov):
    Query Participant can not provide a tree.

However if Query Participant returns only IResource(s) and IJavaElement(s) and does not provide IMatchPresentation JDT Search Result Page can show them in a tree. 

In this case user can not recognize CDI staff there.

If Query Participant returns something different from IResource and IJavaElement it must provide IMatchPresentation which can show result only as plain list. 
  
> С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.0.M2
>
>         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