Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » sub-icon (with a suffix)
sub-icon (with a suffix) [message #756934] Tue, 15 November 2011 15:26 Go to next message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 758
Registered: October 2011
Senior Member
I know Scout support some kind of sub-icons describing a specific state. This is realized with suffix.

For example, I have a folder.png Icon for a page. If the page is opened (the node in the Page Tree is expended) Scout will look for the Icon corresponding to the state: folder_open.png. If not found the default Icon (folder.png in this case) will be used.

* What are the possible suffix ?
* And where are they used ?


Related how to:
http://wiki.eclipse.org/Scout/HowTo/Add_an_icon
Re: sub-icon (with a suffix) [message #757459 is a reply to message #756934] Fri, 18 November 2011 14:02 Go to previous message
Daniel Wiehl is currently offline Daniel Wiehl
Messages: 24
Registered: April 2010
Junior Member
Here are the supported suffixes:
'_open': for expanded / collapsed node-state in AbstractPage
'_mouse_over' or '_rollover': for hoover effect on buttons (e.g. ToolButton)
'_active' or '_pressed' or '_selected': for pressed-state on buttons (e.g. ToolButton with toggle action)
'_disabled': for disabled icons

If no such icons are provided for the given state, the fallback icon without suffix is used instead. For disabled state, the icon is simply greyed out if missing.
Previous Topic:Scout + RAP + Charts
Next Topic:opening multiple editors
Goto Forum:
  


Current Time: Wed Oct 22 09:40:31 GMT 2014

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

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