Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Compatibility Layer([fixed])
Compatibility Layer [message #870884] Thu, 10 May 2012 07:21 Go to next message
Daniel Zimmermann is currently offline Daniel ZimmermannFriend
Messages: 81
Registered: July 2009

yesterday I tried the compatibility layer and finally got my "old" 3.x based Application up and running.
So far so good, but there are a couple of problems I couldn't either solve or even understand:

1) The toolbar icons from my ApplicationActionBarAdvisor are at the place, where the perspective bar would be, if I would have it activated. If I activate the perspective bar, the toolbar icons are even on the right side of it.
It looks like: <Quick Access> ( | <Perspective>) | <Toolbar>
I would like to know, if you ever encountered this kind of Problem.

2) The other annoying thing is a "Nameless Window": The Title Area of the Window is empty resulting in a "Nameless Window" on my Ubuntu Unity top panel, when focused.
I tried to use my own version of a LegacyIDE.e4xmi to solve this, but it seams, it's never even checked from within my plugin.xml, which - by the way - looks like:
            name="PFS Customer Platform">
               value="PFS Customer Platform">
               value="com.mycompany.p2p.tracker.rcp.pfs.ssdtool/LegacyIDE.e4xmi"><!-- <plugin-id>/<e4xmi-file> -->

...oh and yes, I gave the TrimmedWindow a label wihtin the LegacyIDE.e4xmi
So I don't quite understand, why my settings seem to be ignored during the application startup.

Could you give me some hints on those problems?


[Updated on: Fri, 11 May 2012 07:13]

Report message to a moderator

Re: Compatibility Layer [message #871003 is a reply to message #870884] Thu, 10 May 2012 14:02 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

In your ActionBarAdvisor, does it help if you add your toolbar and then this line:

coolBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));


Re: Compatibility Layer [message #871146 is a reply to message #871003] Fri, 11 May 2012 07:12 Go to previous message
Daniel Zimmermann is currently offline Daniel ZimmermannFriend
Messages: 81
Registered: July 2009
That works! Thanks!!!

By the way, even if I haven't changed a single line of code, the Label from TrimmedWindow is now properly used. I assume, that it was a chaching problem, when I started the application from within Eclipse.

Previous Topic:e4ActivePart and visible when
Next Topic:[accepted] Proposal CSS Spy
Goto Forum:

Current Time: Thu Jun 21 16:38:32 GMT 2018

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

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

Back to the top