You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Use the GuiceExtensionFactory for an existing View to be able to inject OSGi service
2. Run application
3. The title of the view is empty, even though the "name" is specified in the view
extension, like this:
<extension
point="org.eclipse.ui.views">
<view
class="org.ops4j.peaberry.eclipse.GuiceExtensionFactory:productview.ProductView"
id="productview.ProductView"
name="Product View">
</view>
</extension>
A workaround seems to be to use setPartName("Product View") in ProductView.createPartControl.
Why does this happen?
Reported by aforsell1971 on 2011-03-29 22:19:50
The text was updated successfully, but these errors were encountered:
GuiceExtensionFactory delegates to the Eclipse ExtensionRegistry "createExecutableExtension"
method, which should pass on the configuration to the instance. Does this only happen
when you prefix the factory class? If so then a simple testcase would be helpful.
Originally reported on Google Code with ID 56
Reported by
aforsell1971
on 2011-03-29 22:19:50The text was updated successfully, but these errors were encountered: