Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351805 - Mechanism for Aspect Provider does not work for registered icons
Summary: Mechanism for Aspect Provider does not work for registered icons
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tristan Faure CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-12 05:16 EDT by Tristan Faure CLA
Modified: 2011-07-12 09:28 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (5.10 KB, application/octet-stream)
2011-07-12 09:28 EDT, Tristan Faure CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Faure CLA 2011-07-12 05:16:15 EDT
When I add an aspect tool provider and if i inherits from org.eclipse.papyrus.diagram.common.service.palette.AbstractAspectActionProvider

The mecanism to retrieve icon is not correct it always search in the activator of plugin declaring the extension point I suggest getting the id of the plugin using the extension point in setConfiguration method
Comment 1 Tristan Faure CLA 2011-07-12 08:39:03 EDT
fix the activator id is taken from the plugin registered
Comment 2 Tristan Faure CLA 2011-07-12 09:28:01 EDT
Created attachment 199496 [details]
mylyn/context/zip