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: 32
Registered: June 2014
Member
Hello,
I have an issue with icons when setting view permission on outlines,
index.php/fa/34408/0/
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 :

@Override
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
Anis
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: 90
Registered: September 2011
Member
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: Thu Dec 12 19:34:48 GMT 2019

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

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

Back to the top