Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Unable to lock coolbar in RCP
Unable to lock coolbar in RCP [message #445813] Wed, 08 March 2006 04:23 Go to next message
Eclipse UserFriend
Hi,
My code is as follows:

protected void fillCoolBar(ICoolBarManager coolBar) {
IToolBarManager toolbar = new ToolBarManager(coolBar.getStyle());

toolbar.add(myAction);
coolBar.add(toolbar);
coolBar.setLockLayout(true);
}

The ridge at the start of the toolbar is still visible and coolBar.getLockLayout() returning false after the last line shows that the coolbar is not lock at all.

Is it a bug or am I doing something wrong?

Thanks!

P/S: Ignore any typo in code, my actual code compiles just fine.
Re: Unable to lock coolbar in RCP [message #448508 is a reply to message #445813] Tue, 25 April 2006 05:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dickyj.hippojump.com

ashrobo wrote:
> Hi,
> My code is as follows:
>
> protected void fillCoolBar(ICoolBarManager coolBar) {
> IToolBarManager toolbar = new ToolBarManager(coolBar.getStyle());
>
> toolbar.add(myAction);
> coolBar.add(toolbar);
> coolBar.setLockLayout(true);
> }
>
> The ridge at the start of the toolbar is still visible and coolBar.getLockLayout() returning false after the last line shows that the coolbar is not lock at all.
>
> Is it a bug or am I doing something wrong?
>
> Thanks!
>
> P/S: Ignore any typo in code, my actual code compiles just fine.

Hi,
Did you find out what's wrong with the code? I am having the same issue
as you did and could not lock the coolbar.

Regards,
Dicky
Re: Unable to lock coolbar in RCP [message #448557 is a reply to message #448508] Wed, 26 April 2006 06:58 Go to previous message
Eclipse UserFriend
The explanation can be found in this bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=93766).
Previous Topic:Filesystem handles only released when app is closed!!?
Next Topic:common navigator
Goto Forum:
  


Current Time: Thu Jul 10 03:10:24 EDT 2025

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

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

Back to the top