Issue 56 in peaberry: View title is empty when using Peaberry GuiceExtensionFactory

1 view
Skip to first unread message

peab...@googlecode.com

unread,
Mar 29, 2011, 6:19:57 PM3/29/11
to guice...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 56 by aforsell...@gmail.com: View title is empty when using
Peaberry GuiceExtensionFactory
http://code.google.com/p/peaberry/issues/detail?id=56

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?


peab...@googlecode.com

unread,
Apr 3, 2011, 5:47:30 PM4/3/11
to guice...@googlegroups.com

Comment #1 on issue 56 by mccu...@gmail.com: View title is empty when using
Peaberry GuiceExtensionFactory
http://code.google.com/p/peaberry/issues/detail?id=56

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.

peab...@googlecode.com

unread,
Aug 4, 2012, 5:41:31 PM8/4/12
to guice...@googlegroups.com
Updates:
Labels: Peaberry-Extension

Comment #2 on issue 56 by mccu...@gmail.com: View title is empty when using
Peaberry GuiceExtensionFactory
http://code.google.com/p/peaberry/issues/detail?id=56

(No comment was entered for this change.)

peab...@googlecode.com

unread,
Jun 21, 2015, 9:45:43 PM6/21/15
to guice...@googlegroups.com
Updates:
Status: Duplicate

Comment #3 on issue 56 by mccu...@gmail.com: View title is empty when using
Peaberry GuiceExtensionFactory
https://code.google.com/p/peaberry/issues/detail?id=56

Moved to https://github.com/ops4j/peaberry/issues/59

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages