Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 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: 128
Registered: June 2014
Location: Paris
Senior 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
  • Attachment: iconsShow.png
    (Size: 14.32KB, Downloaded 158 times)
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 Baenziger is currently offline Patrick BaenzigerFriend
Messages: 96
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: Sat Apr 20 15:04:04 GMT 2024

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

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

Back to the top