Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Toolbar for RCP apps: change location of perspective bar, remove/move Quick Access
Toolbar for RCP apps: change location of perspective bar, remove/move Quick Access [message #892633] Thu, 28 June 2012 20:42 Go to next message
Eddie Galvez is currently offline Eddie GalvezFriend
Messages: 103
Registered: July 2009
Senior Member
Just starting to test out an RCP app we have from Eclipse 3.7 to Eclipse 4.2.

In our 3.7 RCP app, the perspective bar loads on the top-left (where we want it)
Under 4.2:
a) the perspective bar is now on the top-right (undesired in our case)
b) the Quick Access search bar is there, but we don't want it - what contributed it there?

thank you!
Re: Toolbar for RCP apps: change location of perspective bar, remove/move Quick Access [message #892981 is a reply to message #892633] Mon, 02 July 2012 08:26 Go to previous messageGo to next message
Johannes Michler is currently offline Johannes MichlerFriend
Messages: 21
Registered: July 2009
Junior Member
Unfortunately, we're facing the same problem when trying to fire up our eclipse 3.7 based RCP-App from within eclipse 4.2. Furthermore there is some "empty space" before any toolbar-entries start.
And last but not least: We've an intro-site that popped up full-screen with eclipse 3.7. It is now shown as you can see in the attached image. Furthermore when closing the intro/welcome-page, the space on the right hand is not "recycled" and is that way wasted during all time.

Any hints would be highly appreciated,


Regards,
Johannes

[Updated on: Mon, 02 July 2012 08:28]

Report message to a moderator

Re: Toolbar for RCP apps: change location of perspective bar, remove/move Quick Access [message #893489 is a reply to message #892981] Wed, 04 July 2012 10:42 Go to previous messageGo to next message
Oliver Koch is currently offline Oliver KochFriend
Messages: 40
Registered: June 2012
Member
I suggest putting the e4-tools in your target platform and to use the
live-model editor (Alt+Shift+F9) to debug the workbench model while the
application is running via the show-control function in the widget tree..

Am 02.07.2012 10:26, schrieb Johannes Michler:
> Unfortunately, we're facing the same problem when trying to fire up our eclipse 3.8 based RCP-App from within eclipse 4.2. Furthermore there is some "empty space" before any toolbar-entries start.
> And last but not least: We've an intro-site that popped up full-screen with eclipse 3.8. It is now shown as you can see in the attached image. Furthermore when closing the intro/welcome-page, the space on the right hand is not "recycled" and is that way wasted during all time.
>
> Any hints would be highly appreciated,
>
>
> Regards,
> Johannes
>
Re: Toolbar for RCP apps: change location of perspective bar, remove/move Quick Access [message #893492 is a reply to message #892981] Wed, 04 July 2012 10:47 Go to previous messageGo to next message
Oliver Koch is currently offline Oliver KochFriend
Messages: 40
Registered: June 2012
Member
and obviously you are missing the SWT-Addons for e4-compatibility....



Am 02.07.2012 10:26, schrieb Johannes Michler:
> Unfortunately, we're facing the same problem when trying to fire up our eclipse 3.8 based RCP-App from within eclipse 4.2. Furthermore there is some "empty space" before any toolbar-entries start.
> And last but not least: We've an intro-site that popped up full-screen with eclipse 3.8. It is now shown as you can see in the attached image. Furthermore when closing the intro/welcome-page, the space on the right hand is not "recycled" and is that way wasted during all time.
>
> Any hints would be highly appreciated,
>
>
> Regards,
> Johannes
>
Re: Toolbar for RCP apps: change location of perspective bar, remove/move Quick Access [message #893494 is a reply to message #892981] Wed, 04 July 2012 10:47 Go to previous messageGo to next message
Oliver Koch is currently offline Oliver KochFriend
Messages: 40
Registered: June 2012
Member
and obviously you are missing the SWT-Addons for e4-compatibility....



Am 02.07.2012 10:26, schrieb Johannes Michler:
> Unfortunately, we're facing the same problem when trying to fire up our eclipse 3.8 based RCP-App from within eclipse 4.2. Furthermore there is some "empty space" before any toolbar-entries start.
> And last but not least: We've an intro-site that popped up full-screen with eclipse 3.8. It is now shown as you can see in the attached image. Furthermore when closing the intro/welcome-page, the space on the right hand is not "recycled" and is that way wasted during all time.
>
> Any hints would be highly appreciated,
>
>
> Regards,
> Johannes
>
Re: Toolbar for RCP apps: change location of perspective bar, remove/move Quick Access [message #895453 is a reply to message #893494] Fri, 13 July 2012 05:07 Go to previous messageGo to next message
Saket Sinha is currently offline Saket SinhaFriend
Messages: 2
Registered: June 2012
Junior Member
Did you guys got the proper solution to this?
i.e. how to remove the quick access bar from rcp app.

If yes please post it here..!
Re: Toolbar for RCP apps: change location of perspective bar, remove/move Quick Access [message #895901 is a reply to message #895453] Mon, 16 July 2012 13:10 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

That's https://bugs.eclipse.org/bugs/show_bug.cgi?id=362420

PW


Re: Toolbar for RCP apps: change location of perspective bar, remove/move Quick Access [message #895903 is a reply to message #895453] Mon, 16 July 2012 13:12 Go to previous messageGo to next message
Joseph Carroll is currently offline Joseph CarrollFriend
Messages: 174
Registered: May 2012
Location: Milwaukee, WI
Senior Member

Could you put together a sample application that demonstrates this issue?

The solution is to create a lifecycle processor that removes the necessary components. I would be happy to put together a processor that does this if there is a sample app.

Thanks,

JD
Re: Toolbar for RCP apps: change location of perspective bar, remove/move Quick Access [message #896481 is a reply to message #895903] Wed, 18 July 2012 13:56 Go to previous messageGo to next message
Siarhei Berdachuk is currently offline Siarhei BerdachukFriend
Messages: 2
Registered: July 2009
Location: Brest, Belarus
Junior Member
Joseph Carroll wrote on Mon, 16 July 2012 09:12
Could you put together a sample application that demonstrates this issue?


Steps to reproduce problem:

Open eclipse 3.8 and create two RCP applications from templates:
1. RCP with view
2. RCP email

Open this workspace in eclipse 4.2

You can see not designed "Quick access" in both of this applications: Quick access + additional not designed toolbar.

When I open my Eclipse RCP application in 4.2 I see same not designed toolbar (see attachment).

Please help remove this elements.

Thank you.


Siarhei Berdachuk
-------------------
BolsheProdag.ru

[Updated on: Wed, 18 July 2012 13:57]

Report message to a moderator

Re: Toolbar for RCP apps: change location of perspective bar, remove/move Quick Access [message #896483 is a reply to message #896481] Wed, 18 July 2012 13:57 Go to previous message
Siarhei Berdachuk is currently offline Siarhei BerdachukFriend
Messages: 2
Registered: July 2009
Location: Brest, Belarus
Junior Member
index.php/fa/10751/0/

problem in hardcoded line: void populateTopTrimContributions() {
..
trimBar.setToBeRendered(true);
..
}

have to be replaced with something like: private boolean getShowHeapStatus()


And for compatibility WorkbenchWindowAdvisor have to be used for removing this trim bar in classic RCP applications.

setShowCoolBar(false) doesn't allow remove this trim bar.

see sample:
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
...
configurer.setShowCoolBar(false);


[Updated on: Wed, 18 July 2012 14:49]

Report message to a moderator

Previous Topic:CSS & DI
Next Topic:Dragging Views & Editors
Goto Forum:
  


Current Time: Thu Apr 25 07:01:54 GMT 2024

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

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

Back to the top