Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Scout/Concepts/Icons"

m (Use the current version template.)
Line 1: Line 1:
 
{{ScoutPage|cat=Client}}
 
{{ScoutPage|cat=Client}}
  
Class that contains as static members the icons that are available.
+
Moved to new Scout documentation at http://eclipsescout.github.io/6.0/technical-guide.html#icons
 
+
== Description ==
+
Every where icons are needed, a String <code>IconId</code> is requested. (for example property {{ScoutProp|IconId}} of a {{ScoutLink|Concepts|Code|Code}})).  
+
 
+
extends {{ScoutJavadoc|<TODO:ScoutIcons>|C}} ???
+
 
+
static members mapping from the requested IconId String values to the name of the icon image files.
+
<source lang="java">
+
public static final String UserHome ="home_red";
+
</source>
+
 
+
 
+
Usage :
+
<source lang="java">
+
@Override
+
protected String getConfiguredIconId(){
+
  return Icons.UserHome;
+
}
+
</source>
+
 
+
 
+
== See Also ==
+
* {{ScoutLink|HowTo/{{ScoutCurrentVersion}}|Add_an_icon|How to add an icon ?}}
+
* {{ScoutLink|Concepts|Shared Plug-In|Shared Plug-In}}
+

Revision as of 11:03, 29 June 2016

The Scout documentation has been moved to https://eclipsescout.github.io/.

Moved to new Scout documentation at http://eclipsescout.github.io/6.0/technical-guide.html#icons

Back to the top