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: 70
Registered: July 2009
Member
Hi,

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:
   <extension
         id="product"
         point="org.eclipse.core.runtime.products">
      <product
            application="com.mycompany.p2p.tracker.rcp.pfs.ssdtool.application"
            name="PFS Customer Platform">
         <property
               name="windowImages"
               value="icons/ipqlogo_16.gif,icons/ipqlogo_32.gif,icons/ipqlogo_64.gif,icons/ipqlogo_128.gif">
         </property>
         <property
               name="appName"
               value="PFS Customer Platform">
         </property>
         [...]
         <property
               name="applicationXMI"
               value="com.mycompany.p2p.tracker.rcp.pfs.ssdtool/LegacyIDE.e4xmi"><!-- <plugin-id>/<e4xmi-file> -->
         </property>
         <property
               name="cssTheme"
               value="org.eclipse.e4.ui.css.theme.e4_default">
         </property>
      </product>
   </extension>

...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?

Greetings,
Daniel

[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));

PW


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: 70
Registered: July 2009
Member
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.

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


Current Time: Wed Nov 26 11:49:42 GMT 2014

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

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