|
|
|
@ -157,6 +157,8 @@ public class ECBlockEditor extends BlockEditor<ECBlockPane, PolyECBlock> {
|
|
|
|
|
EastRegionContainerPane.getInstance().replaceCellAttrPane(CellElementPropertyPane.getInstance()); |
|
|
|
|
EastRegionContainerPane.getInstance().replaceCellElementPane(QuickEditorRegion.getInstance()); |
|
|
|
|
EastRegionContainerPane.getInstance().replaceWidgetSettingsPane(CellWidgetPropertyPane.getInstance()); |
|
|
|
|
|
|
|
|
|
EastRegionContainerPane.getInstance().updateCellElementState(isSelectedOneCell()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
EastRegionContainerPane.getInstance().replaceCellAttrPane(CellElementPropertyPane.getInstance()); |
|
|
|
@ -169,4 +171,13 @@ public class ECBlockEditor extends BlockEditor<ECBlockPane, PolyECBlock> {
|
|
|
|
|
ConditionAttributesGroupPane conditionAttributesGroupPane = ConditionAttributesGroupPane.getInstance(); |
|
|
|
|
conditionAttributesGroupPane.populate(editComponent); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private boolean isSelectedOneCell() { |
|
|
|
|
JTemplate jTemplate = DesignerContext.getDesignerFrame().getSelectedJTemplate(); |
|
|
|
|
if (jTemplate == null) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
ElementCasePane ePane = (ElementCasePane)jTemplate.getCurrentElementCasePane(); |
|
|
|
|
return ePane != null && ePane.isSelectedOneCell(); |
|
|
|
|
} |
|
|
|
|
} |