[jbosstools-issues] [JBoss JIRA] (JBIDE-14816) API located to find IRuntimeDetectorDelegate

Rob Stryker (JIRA) jira-events at lists.jboss.org
Mon Jun 10 12:31:54 EDT 2013


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

Rob Stryker commented on JBIDE-14816:
-------------------------------------

To be clear, you cannot access the delegate directly, however, IRuntimeDetector extends IRuntimeDetectorDelegate, so, really all you need to do is search for the id, and you may not have the class object you want, but you have one which delegates to what you want. 

So simply verify the id is correct and then continue with your tests. 
                
> API located to find IRuntimeDetectorDelegate
> --------------------------------------------
>
>                 Key: JBIDE-14816
>                 URL: https://issues.jboss.org/browse/JBIDE-14816
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: maven
>    Affects Versions: 4.1.0.Beta1
>            Reporter: Rob Stryker
>            Assignee: Snjezana Peco
>             Fix For: 4.1.0.Beta2
>
>
> Related to https://issues.jboss.org/browse/JBIDE-14559
> Related to https://issues.jboss.org/browse/JBIDE-14584
> The proper api would be:
> IRuntimeDetector rtdet = RuntimeCoreActivator.findRuntimeDetector(String id);
> IRuntimeDetectorDelegate del = ((RuntimeDetector)rtdet).getDelegate();
> This api is not new, we just didn't see it earlier. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list