|
|
@ -71,7 +71,7 @@ public class WidgetPane extends BasicPane implements ItemListener { |
|
|
|
Widget selectedItem = editorTypeComboBox.getCellWidget(); |
|
|
|
Widget selectedItem = editorTypeComboBox.getCellWidget(); |
|
|
|
WidgetDesignHandler handler = ExtraDesignClassManager.getInstance().getWidgetDesignHandler(); |
|
|
|
WidgetDesignHandler handler = ExtraDesignClassManager.getInstance().getWidgetDesignHandler(); |
|
|
|
if (handler != null) { |
|
|
|
if (handler != null) { |
|
|
|
selectedItem = handler.dealWithWidget(oldWidget, selectedItem); |
|
|
|
handler.dealWithWidget(oldWidget, selectedItem); |
|
|
|
} |
|
|
|
} |
|
|
|
if (e.getItem() instanceof Item && ((Item) e.getItem()).getValue() instanceof WidgetConfig) { |
|
|
|
if (e.getItem() instanceof Item && ((Item) e.getItem()).getValue() instanceof WidgetConfig) { |
|
|
|
populate(selectedItem); |
|
|
|
populate(selectedItem); |
|
|
|