Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348977 - Add support for morphing JFace Viewers
Summary: Add support for morphing JFace Viewers
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WindowBuilder (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Scheglov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 17:56 EDT by Eric Clayberg CLA
Modified: 2021-06-04 16: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 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.