Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Extend Desktop with fixed Form / View
Extend Desktop with fixed Form / View [message #1864612] Thu, 28 March 2024 11:00 Go to next message
Ni ni is currently offline Ni niFriend
Messages: 18
Registered: January 2024
Junior Member
Hello everyone,
I would like to expand a Scout application so that another frame is permanently displayed on the right side of the screen. Maybe even like the menu bar on the left side of the screen, to slide in and out.
But, how is it possible to expand the desktop like that? Unfortunately I couldn't find any suitable documentation for this.
It would be brilliant if I could then drag and drop into the individual views, i.e. the individual views would have to be made known to each other. Is there something like this for eclipse scout?
It would be great if someone could help me!
Re: Extend Desktop with fixed Form / View [message #1864617 is a reply to message #1864612] Thu, 28 March 2024 14:39 Go to previous messageGo to next message
Ni ni is currently offline Ni niFriend
Messages: 18
Registered: January 2024
Junior Member
Just solved it reading the source code of the Scout Widgets Demo.
Re: Extend Desktop with fixed Form / View [message #1864665 is a reply to message #1864617] Tue, 02 April 2024 14:43 Go to previous messageGo to next message
Pr Nico is currently offline Pr NicoFriend
Messages: 15
Registered: February 2021
Junior Member
Hello, what widget helped to solve this if I may ask?
Re: Extend Desktop with fixed Form / View [message #1864772 is a reply to message #1864665] Tue, 09 April 2024 08:08 Go to previous messageGo to next message
Ni ni is currently offline Ni niFriend
Messages: 18
Registered: January 2024
Junior Member
Hello, in the constructor of the Desktop class I have implemented

setBenchLayoutData(
new BenchLayoutData()
.withWest(new BenchColumnData().withInitial(1).withRelative(true).withGrow(0).withShrink(0))
.withCenter(new BenchColumnData().withInitial(1).withRelative(true).withGrow(0).withShrink(-1))
.withEast(new BenchColumnData().withInitial(300).withRelative(false).withGrow(0).withShrink(0))
);

to get a fixed layout of the page.

Then I overwrote the execOpened() method and here via

MyForm form= new MyForm();
form.setDisplayHint(IForm.DISPLAY_HINT_VIEW);
form.setDisplayViewId(IForm.VIEW_ID_E);
form.start();

a view appears.
Re: Extend Desktop with fixed Form / View [message #1864773 is a reply to message #1864772] Tue, 09 April 2024 08:12 Go to previous messageGo to next message
Ni ni is currently offline Ni niFriend
Messages: 18
Registered: January 2024
Junior Member
I have another question: Is it possible to disable the resizing of the menu to the left?
With adjusting the @desktop-navigation-min-width parameter i could set my preferred size. But how can i set it to the fixed width?
Re: Extend Desktop with fixed Form / View [message #1864782 is a reply to message #1864773] Tue, 09 April 2024 15:27 Go to previous messageGo to next message
Ni ni is currently offline Ni niFriend
Messages: 18
Registered: January 2024
Junior Member
Solved it setting the splitter-width to 0px
Re: Extend Desktop with fixed Form / View [message #1864817 is a reply to message #1864782] Wed, 10 April 2024 23:47 Go to previous message
Pr Nico is currently offline Pr NicoFriend
Messages: 15
Registered: February 2021
Junior Member
Thank you that is very interesting!
Previous Topic:[Solved] Session quirks - User loading session meant for someone else in the UI
Next Topic:Single Outline with View Tab
Goto Forum:
  


Current Time: Sun May 19 21:09:09 GMT 2024

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

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

Back to the top