Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Outlines in SWT invisible(Can't see (some) Outlines in SWT client-dev-product)
Outlines in SWT invisible [message #1692453] Wed, 15 April 2015 20:33 Go to next message
Uwe Degel is currently offline Uwe DegelFriend
Messages: 10
Registered: March 2015
Junior Member
Hi All,

I created outlines in the Desktop node of the client tree ... the new outlines are visible (and work well) in the RAP and SWING client ... but only some of them are visible in the SWT client ...

Any idea what the issue might be?

Many thanks!

Cheers
Uwe
Re: Outlines in SWT invisible [message #1692472 is a reply to message #1692453] Thu, 16 April 2015 06:40 Go to previous messageGo to next message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
Registered: October 2012
Location: Bern, Switzerland
Senior Member
Can you elaborate a bit more? How many outlines did you create? How many are visible and how many aren't? Where exactly are you seeing them or not seeing them? As buttons on the toolbar? Some other place?

From your post I assume that the problem is not, that you see no outline toolbar button at all, is that correct?

Maybe a screenshot would help...
Re: Outlines in SWT invisible [message #1692946 is a reply to message #1692472] Mon, 20 April 2015 18:41 Go to previous messageGo to next message
Uwe Degel is currently offline Uwe DegelFriend
Messages: 10
Registered: March 2015
Junior Member
Hi,

In addition to the "Standard" outline (which I disabled) I created first "Administration" then "Contracts" then (for test purposes) "Configuration".

In the RAP and Swing client I see all enabled outlines.

In the SWT client only the "Contracts" outline.

Any idea?
Re: Outlines in SWT invisible [message #1693053 is a reply to message #1692946] Tue, 21 April 2015 12:46 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Yes this is a known issue: for the SWT UI, you need to decide manually if you want to display the coolbar in or not.

Here an example of the Widgets demo application (Swt UI):

index.php/fa/21587/0/

To get there you need to open:
<your app>.ui.swt.application.ApplicationWorkbenchWindowAdvisor

In the method:
preWindowOpen() change the value of the boolean in setShowCoolBar(..). It is false per default, you need to set it to true.

Code snippet:
@Override
public void preWindowOpen() {
  IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
  configurer.setInitialSize(new Point(1024, 768));
  configurer.setShowCoolBar(true);
  configurer.setShowStatusLine(true);
  configurer.setShowProgressIndicator(true);
  configurer.setShowMenuBar(true);
  configurer.setShowPerspectiveBar(false);
  configurer.setShowFastViewBars(false);
}
Re: Outlines in SWT invisible [message #1693104 is a reply to message #1693053] Tue, 21 April 2015 18:10 Go to previous message
Uwe Degel is currently offline Uwe DegelFriend
Messages: 10
Registered: March 2015
Junior Member
Hi Jeremie,

so many thanks ... works ... you are my hero!!

Cheers
Uwe
Previous Topic:Disable one of the built in security filters?
Next Topic:Scout server not starting anymore
Goto Forum:
  


Current Time: Thu Apr 25 16:07:12 GMT 2024

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

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

Back to the top