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/HowTo/4.0/Exchange Default Images"

< Scout‎ | HowTo‎ | 4.0
(Created page with "{{ScoutPage|cat=HowTo 4.0}} When creating a new scout application you will notice that some fields and buttons use icons. There is also an info dialog which shows the applica...")
 
(Replaced content with "The Scout documentation has been moved to https://eclipsescout.github.io/.")
 
Line 1: Line 1:
{{ScoutPage|cat=HowTo 4.0}}
+
The Scout documentation has been moved to https://eclipsescout.github.io/.
 
+
When creating a new scout application you will notice that some fields and buttons use icons. There is also an info dialog which shows the application logo. This howto shows how these default icons can be exchanged.
+
 
+
== Where are the images? ==
+
The default images are located in the plugin org.eclipse.scout.rt.client in the folder resources/icons. The application specific icons are located in the application's client plugin.
+
 
+
== How can I exchange the images? ==
+
To exchange an image you can simply put your image in the folder resources/icons of your client plugin an name id like the image you would like to exchange. The application logo for instance is named application_logo_large.png. So you only need to name your logo the same and that's it.
+
 
+
<gallery>
+
Image:scout_howto_images_dialog.png|Dialog with default icons
+
Image:scout_howto_images_scout_info_dialog.png|Dialog with default logo
+
Image:scout_howto_images_dialog_exchanged.png|Dialog with exchanged icons
+
Image:scout_howto_images_scout_info_dialog_exchanged.png|Dialog with exchanged logo
+
</gallery>
+
 
+
== How is that implemented? ==
+
Scout uses the <code>org.eclipse.scout.rt.client.services.common.icon.IIconProviderService</code> respectively the <code>org.eclipse.scout.rt.client.ui.IIconLocator</code> to find and load an image.
+

Latest revision as of 07:33, 18 March 2024

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

Back to the top