Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Extend Desktop with fixed Form / View
Extend Desktop with fixed Form / View [message #1864612] Thu, 28 March 2024 07:00 Go to next message
Eclipse UserFriend
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 10:39 Go to previous messageGo to next message
Eclipse UserFriend
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 10:43 Go to previous messageGo to next message
Eclipse UserFriend
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 04:08 Go to previous messageGo to next message
Eclipse UserFriend
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 04:12 Go to previous messageGo to next message
Eclipse UserFriend
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 11:27 Go to previous messageGo to next message
Eclipse UserFriend
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 19:47 Go to previous message
Eclipse UserFriend
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: Fri Jun 20 01:21:10 EDT 2025

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

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

Back to the top