Bug 397430 - Allow alternate text for icons from extensions
Summary: Allow alternate text for icons from extensions
Status: CLOSED MOVED
Alias: None
Product: MAT
Classification: Tools
Component: GUI (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 269608
  Show dependency tree
 
Reported: 2013-01-04 05:42 EST by Andrew Johnson CLA
Modified: 2024-05-08 14:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Johnson CLA 2013-01-04 05:42:50 EST
Task 341685 added screen reading of some icons.
It would be nice to add some more for any user extensions of MAT.
We could also add alternate text to HTML images, and allow locale dependent images.

FileLocator.find() can be used to find resources with locale variants selected by $nl$ etc. in the path.

User supplied images:

Queries:
@Icon("path/to/image.gif")

IIconProvider
URL getIcon(Object row)

ContextProvider
URL getIcon()

DetailResultProvider
URL getIcon()

Adding $nl$ to Icon won't be compatible with old levels of MAT < 1.3
@Icon("$nl$/path/to/image.gif")
We could add an annotation property which will only be read by MAT >= 1.3, and use the annotation otherwise.
myquery.icon = $nl$/path/to/image.gif
Comment 1 Eclipse Webmaster CLA 2024-05-08 14:45:23 EDT
This issue has been migrated to https://github.com/eclipse-mat/org.eclipse.mat/issues/19.