[
https://issues.jboss.org/browse/JBIDE-14816?page=com.atlassian.jira.plugi...
]
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