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/Icon Locator"

m (Jbr.bsiag.com moved page Scout/Concepts/Icon Locator Service to Scout/Concepts/Icon Locator: Icon Locator is not a Service.)
Line 1: Line 1:
 
{{ScoutPage|cat=Concepts}}
 
{{ScoutPage|cat=Concepts}}
  
Icon Locator Services are services responsible to provide icons given an id usually defined as constant in the {{ScoutLink|Concepts|Icons}} class.
+
An Icon Locator is an interface for one operation: loading a file (defined as IconSpec) for a given String id (often called IconId).
 +
Usually the ids are defined as constant in the {{ScoutLink|Concepts|Icons}} class.
  
 
* implements: {{ScoutJavadoc|IIconLocator|I}}
 
* implements: {{ScoutJavadoc|IIconLocator|I}}
  
== Description ==
+
Most of the implementations relies on a {{ScoutLink|Concepts|Icon_Locator_Service|IconProviderService}} to do this operation.
{{Note|TODO|Add a description: BundleIconLocator, SwingBundleIconLocator, SwtBundleIconLocator. Add default location of the files}}
+
 
 +
* implementations:
 +
** {{ScoutJavadoc|IconLocator|C}}
 +
** {{ScoutJavadoc|BundleIconLocator|C}}
 +
** {{ScoutJavadoc|SwingBundleIconLocator|C}}
 +
** {{ScoutJavadoc|SwtBundleIconLocator|C}}
 +
 
 +
 
 +
== Implementations ==
 +
{{Note|TODO|Add a description: BundleIconLocator, SwingBundleIconLocator, SwtBundleIconLocator}}
 +
 
  
 
== See Also ==
 
== See Also ==
 
* {{ScoutLink|Concepts|Icons}}
 
* {{ScoutLink|Concepts|Icons}}
 +
* {{ScoutLink|Concepts|Icon Locator Service}}
 
* {{ScoutLink|SDK|Icons Editor}}
 
* {{ScoutLink|SDK|Icons Editor}}

Revision as of 12:54, 8 September 2014

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

An Icon Locator is an interface for one operation: loading a file (defined as IconSpec) for a given String id (often called IconId). Usually the ids are defined as constant in the The Scout documentation has been moved to https://eclipsescout.github.io/. class.

Most of the implementations relies on a The Scout documentation has been moved to https://eclipsescout.github.io/. to do this operation.


Implementations

Note.png
TODO
Add a description: BundleIconLocator, SwingBundleIconLocator, SwtBundleIconLocator


See Also

Back to the top