Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Icons disapear when setting permission
Icons disapear when setting permission [message #1798910] Tue, 27 November 2018 11:00 Go to next message
Oueslati Anis is currently offline Oueslati AnisFriend
Messages: 37
Registered: June 2014
I have an issue with icons when setting view permission on outlines,
if you see the image you will see that last outline does not contain the icon,
the icon is visible only when I comment the code :

protected void execInitAction() {
setVisiblePermission(new ViewSettingsOutlinePermission());

in Desktop Class in the SettingsOutlineViewButton class,
Does any one know this issue, and how to implement the view permission to avoid that icons disapear.
Kind Regards
Re: Icons disapear when setting permission [message #1798917 is a reply to message #1798910] Tue, 27 November 2018 11:46 Go to previous message
Patrick Bänziger is currently offline Patrick BänzigerFriend
Messages: 91
Registered: September 2011
If you're trying to achieve that the outline is not visible for some users:
Try setting the permission on the Outline itself (and not on the button). If your OutlineButton is inheriting from AbstractOutlineViewButton, it will adjust its visibility based on the outline it represents.
Previous Topic:Detail Form on TablePage
Next Topic:Scanner Application with injected JavaScript
Goto Forum:

Current Time: Fri Feb 21 10:57:05 GMT 2020

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

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

Back to the top