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

Bug 348977

Summary: Add support for morphing JFace Viewers
Product: z_Archived Reporter: Eric Clayberg <clayberg>
Component: WindowBuilderAssignee: Konstantin Scheglov <Konstantin.Scheglov>
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Eric Clayberg CLA 2011-06-09 17:56:03 EDT
Requested by: Wim Jongman

Sometimes it is required to change an object that cannot be morphed. For example, change a checkboxtableviewer to a checkboxtreeviewer. The procedure is to remove the first and introduce the latter. However, SWT-Designer removes all references to the first viewer in the source. A viewer with the same name is introduced moments later so the code must be introduced again which can be quite difficult.

In the code there could be references to the viewer like 

viewer.getSelection();

I would like to have an option in SWT-Designer to not remove the references to the removed viewer, just like the message: 

"Also remove provider definitions"
Comment 1 Wim Jongman CLA 2021-02-27 12:56:52 EST
Closing. Please reopen if this is still an issue.