Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347743 - [Palette customization] The icon selection dialog is broken
Summary: [Palette customization] The icon selection dialog is broken
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-31 03:59 EDT by Camille Letavernier CLA
Modified: 2011-05-31 04:53 EDT (History)
1 user (show)

See Also:


Attachments
Bug fix (8.98 KB, patch)
2011-05-31 04:01 EDT, Camille Letavernier CLA
Patrick.Tessier: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Letavernier CLA 2011-05-31 03:59:33 EDT
Build Identifier: I20110512-2000

It is not possible to change the icon of an element in the palette : a NPE occurs.

Reproducible: Always

Steps to Reproduce:
1. Edit a custom palette configuration
2. Select a Drawer or a Tool in the palette preview
3. Click the "Select..." button to change the icon

A NPE occurs
Comment 1 Camille Letavernier CLA 2011-05-31 04:01:53 EDT
Created attachment 196966 [details]
Bug fix

This patch fixes the bug.

It also adds some missing headers and fixes a String externalization bug.


I, Camille Letavernier, wrote 100% of the code I've provided.
This code contains no cryptography
I have the right to contribute the code to Eclipse.
I contribute the content under the EPL.
Comment 2 Patrick Tessier CLA 2011-05-31 04:50:20 EDT
Comment on attachment 196966 [details]
Bug fix

Done in the revision 4813
Comment 3 Patrick Tessier CLA 2011-05-31 04:53:19 EDT
Bug fixed confirmed