Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347743

Summary: [Palette customization] The icon selection dialog is broken
Product: [Modeling] Papyrus Reporter: Camille Letavernier <cletavernier>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: Patrick.Tessier
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Bug fix Patrick.Tessier: iplog+

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