|
|
|
@ -18,6 +18,7 @@ import com.fr.design.actions.edit.HyperlinkAction;
|
|
|
|
|
import com.fr.design.actions.edit.merge.MergeCellAction; |
|
|
|
|
import com.fr.design.actions.edit.merge.UnmergeCellAction; |
|
|
|
|
import com.fr.design.actions.utils.DeprecatedActionManager; |
|
|
|
|
import com.fr.design.base.mode.DesignModeContext; |
|
|
|
|
import com.fr.design.event.TargetModifiedEvent; |
|
|
|
|
import com.fr.design.event.TargetModifiedListener; |
|
|
|
|
import com.fr.design.file.HistoryTemplateListPane; |
|
|
|
@ -55,10 +56,10 @@ public class ECBlockPane extends PolyElementCasePane {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void selectionChanged(SelectionEvent e) { |
|
|
|
|
if (!isEditable()) { |
|
|
|
|
if (!isEditable() && !DesignModeContext.isAuthorityEditing()) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (DesignerMode.isAuthorityEditing()) { |
|
|
|
|
if (DesignModeContext.isAuthorityEditing()) { |
|
|
|
|
if (designer.getSelection().getEditingElementCasePane() == null) { |
|
|
|
|
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.AUTHORITY_EDITION_DISABLED); |
|
|
|
|
EastRegionContainerPane.getInstance().replaceAuthorityEditionPane(new NoSupportAuthorityEdit()); |
|
|
|
|