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

Bug 349210

Summary: JGoodies Label issue
Product: z_Archived Reporter: Konstantin Scheglov <Konstantin.Scheglov>
Component: WindowBuilderAssignee: Konstantin Scheglov <Konstantin.Scheglov>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Konstantin Scheglov CLA 2011-06-13 12:46:20 EDT
Dropping a JGoodies Label in an Absolute Layout shows an error placeholder for the live widget. The code is created correctly when it is dropped. Dropping into any type of grid control works fine.

java.lang.ClassCastException: org.eclipse.wb.internal.swing.FormLayout.parser.DefaultComponentFactoryCreationSupport cannot be cast to org.eclipse.wb.internal.core.model.creation.ILiveCreationSupport
	at org.eclipse.wb.internal.core.model.util.live.AbstractLiveManager.createClone(AbstractLiveManager.java:221)
	at org.eclipse.wb.internal.swing.model.component.live.SwingLiveManager.createLiveComponent(SwingLiveManager.java:59)
	at org.eclipse.wb.internal.core.model.util.live.AbstractLiveManager.createCacheEntryEx(AbstractLiveManager.java:103)
	at org.eclipse.wb.internal.core.model.util.live.AbstractLiveManager.createCacheEntry(AbstractLiveManager.java:82)
	at org.eclipse.wb.internal.core.model.util.live.AbstractLiveManager.getCachedEntry(AbstractLiveManager.java:264)
	at org.eclipse.wb.internal.core.model.util.live.AbstractLiveManager.getCachedEntry(AbstractLiveManager.java:250)
	at org.eclipse.wb.internal.swing.model.component.live.SwingLiveManager.getImage(SwingLiveManager.java:131)
	at org.eclipse.wb.internal.swing.model.component.ComponentInfo.getLiveImage(ComponentInfo.java:258)
	at org.eclipse.wb.core.model.AbstractComponentInfo.getImage(AbstractComponentInfo.java:165)