|
|
@ -523,8 +523,9 @@ public abstract class ElementCasePane<T extends TemplateElementCase> extends Tar |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setSelection(Selection selection) { |
|
|
|
public void setSelection(Selection selection) { |
|
|
|
if (!ComparatorUtils.equals(this.selection, selection) || |
|
|
|
if (!ComparatorUtils.equals(this.selection, selection) |
|
|
|
!ComparatorUtils.equals(EastRegionContainerPane.getInstance().getCellAttrPane(), CellElementPropertyPane.getInstance())) { |
|
|
|
|| !ComparatorUtils.equals(EastRegionContainerPane.getInstance().getCellAttrPane(), CellElementPropertyPane.getInstance()) |
|
|
|
|
|
|
|
|| DesignModeContext.isAuthorityEditing()) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
//旧选中内容编辑器释放模板对象
|
|
|
|
//旧选中内容编辑器释放模板对象
|
|
|
|
QuickEditor editor = this.getCurrentEditor(); |
|
|
|
QuickEditor editor = this.getCurrentEditor(); |
|
|
@ -535,6 +536,7 @@ public abstract class ElementCasePane<T extends TemplateElementCase> extends Tar |
|
|
|
FineLoggerFactory.getLogger().info("Nothing to release"); |
|
|
|
FineLoggerFactory.getLogger().info("Nothing to release"); |
|
|
|
} |
|
|
|
} |
|
|
|
this.selection = selection; |
|
|
|
this.selection = selection; |
|
|
|
|
|
|
|
fireSelectionChanged(); |
|
|
|
} |
|
|
|
} |
|
|
|
fireSelectionChanged(); |
|
|
|
fireSelectionChanged(); |
|
|
|
} |
|
|
|
} |
|
|
|