Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » RCP Toolbar/Menu issues using the Compatibility Layer after migrating to 4.2
RCP Toolbar/Menu issues using the Compatibility Layer after migrating to 4.2 [message #1014719] Tue, 26 February 2013 10:42 Go to next message
Quang Tran is currently offline Quang TranFriend
Messages: 25
Registered: June 2012
Junior Member
Hi all,
we migrated from 3.7 to 4.2 using the Compatibility Layer.
After the migration all of our views have now a toolbar even though there is no content, it's taking too much place and looks weird with an empty bar.
Is there a way to disable this? We don't want to completely wire if off by patching the eclipse code because some of our view do have toolbar actions and menus


index.php/fa/13550/0/
  • Attachment: view.JPG
    (Size: 20.90KB, Downloaded 795 times)
Re: RCP Toolbar/Menu issues using the Compatibility Layer after migrating to 4.2 [message #1014792 is a reply to message #1014719] Tue, 26 February 2013 13:26 Go to previous messageGo to next message
Eclipse UserFriend
Widen your stack on the right -- it's clearly narrower than the one on the left.

You might be able to adjust the sizes by writing your own CTabFolder renderer, but beware: there be dragons in that code.

Brian,
Re: RCP Toolbar/Menu issues using the Compatibility Layer after migrating to 4.2 [message #1014859 is a reply to message #1014792] Tue, 26 February 2013 15:55 Go to previous messageGo to next message
Quang Tran is currently offline Quang TranFriend
Messages: 25
Registered: June 2012
Junior Member
Hi Brian,
Isn't the problem in the CompatibilityView? it creates by default a toolbar
I found this link meanwhile:
http://dev.eclipse.org/mhonarc/lists/e4-dev/msg05033.html

I patched the CompatibilityView and it works, but the problem now is just that all views don't have toolbars. So writing a own renderer is the only option?
Re: RCP Toolbar/Menu issues using the Compatibility Layer after migrating to 4.2 [message #1014883 is a reply to message #1014859] Tue, 26 February 2013 16:36 Go to previous messageGo to next message
Eclipse UserFriend
Your toolbar is wrapping as there isn't enough space -- if you widen your view, the toolbar will snap back up to the top line.
Re: RCP Toolbar/Menu issues using the Compatibility Layer after migrating to 4.2 [message #1015050 is a reply to message #1014883] Wed, 27 February 2013 09:56 Go to previous messageGo to next message
Quang Tran is currently offline Quang TranFriend
Messages: 25
Registered: June 2012
Junior Member
Hi Brian,
yes I know what you mean, that's why I took a screenshot with both cases, but wrapping is a eclipse feature.
By widen the views doesn't change the fact that there is still a toolbar.
Maybe you are confused by the triangle view menu?this is just another bug for me with CNF when migrating to 4.2 because the view menu is empty.
I think we are going to patch the CompatibilityView by wiring the toolbar and menubar off, don't know if this is the right approach though.
Re: RCP Toolbar/Menu issues using the Compatibility Layer after migrating to 4.2 [message #1015073 is a reply to message #1015050] Wed, 27 February 2013 11:14 Go to previous message
Eclipse UserFriend
Oh! I thought you were asking about why it was wrapping. Sorry!
Previous Topic:Eclipse editor tooltip
Next Topic:Kepler M5 editor focus issue
Goto Forum:
  


Current Time: Tue Mar 19 10:01:40 GMT 2024

Powered by FUDForum. Page generated in 0.01916 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top