Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » How to Hide the tow button in Page
How to Hide the tow button in Page [message #1817487] Sat, 23 November 2019 16:22 Go to next message
Oueslati Anis is currently offline Oueslati AnisFriend
Messages: 128
Registered: June 2014
Location: Paris
Senior Member
Hello,
I would like to hide these tow button in a page and replace them with a home button in the Desktop,
Question 1 how to hide these buttons ( Capture Image )
Question 2 how to open the outline programmaticly.
Kind Regards



  • Attachment: Capture.PNG
    (Size: 1.65KB, Downloaded 65 times)
Re: How to Hide the tow button in Page [message #1817507 is a reply to message #1817487] Mon, 25 November 2019 08:45 Go to previous messageGo to next message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 204
Registered: September 2012
Location: Baden-Dättwil, Switzerla...
Senior Member
In case you're working with a newer Scout Classic version (=Java) you can simply set the following property on your Outline to hide the two navigation buttons:

@Override
protected boolean getConfiguredNavigateButtonsVisible() {
    return false;
}


In Scout the Desktop is responsible for managing the outline instances. You can activate an outline programmatically like this:

IDesktop desktop = ClientSession().get().getDesktop();
desktop.activateOutline(outlineInstance);


Use the method desktop#getAvailableOutlines() to retrieve a list of the registered outline instances.


Eclipse Scout Homepage | Documentation | GitHub
Re: How to Hide the tow button in Page [message #1819052 is a reply to message #1817507] Mon, 06 January 2020 11:12 Go to previous message
Oueslati Anis is currently offline Oueslati AnisFriend
Messages: 128
Registered: June 2014
Location: Paris
Senior Member
Done thank you !
Previous Topic:Reporting exceptions on the client ui
Next Topic:How to create a Home button
Goto Forum:
  


Current Time: Thu Mar 28 12:23:18 GMT 2024

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

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

Back to the top