Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » How to Show / Hide Outlines depending on User Session
How to Show / Hide Outlines depending on User Session [message #1797186] Sat, 27 October 2018 06:28 Go to next message
Eclipse UserFriend
Hi All,
I would like to show or hide outlines for specific users, How can I achieve this ?
Kind Regards
Anis
Re: How to Show / Hide Outlines depending on User Session [message #1797477 is a reply to message #1797186] Wed, 31 October 2018 08:46 Go to previous messageGo to next message
Eclipse UserFriend
Hi Oueslati

You can overwrite the method execInitTree(). Within this method you can set the visibility of the outline using setVisibleGranted() or setVisiblePermission() if you are working with java.security.Permission instances.

Does this work for you?

Kind regards
Mat
Re: How to Show / Hide Outlines depending on User Session [message #1797536 is a reply to message #1797477] Thu, 01 November 2018 08:26 Go to previous messageGo to next message
Eclipse UserFriend
Hello ;
I am actually looking for a working sample, or a documentation ( beginner guide ) that show how to implement it, the beginner guide of scout does not ccontain such informations.
Kind Regards
Anis
Re: How to Show / Hide Outlines depending on User Session [message #1797537 is a reply to message #1797536] Thu, 01 November 2018 09:10 Go to previous message
Eclipse UserFriend
Hi

The contacts application in our documentation repository might make a good working sample. You can also start with a helloworld application created by Eclipse (File -> New... -> Project... -> Scout Project)

Here you can find our technical guide.

And here you have a sample that uses the setVisible() method to hide an outline.

Hope this helps

Kind regards
Mat
Previous Topic:Hierarchical Table
Next Topic:Refresh displaytext on SmartField
Goto Forum:
  


Current Time: Tue Jun 17 04:31:43 EDT 2025

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

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

Back to the top