|
|
|
@ -242,7 +242,10 @@ public class UIEastResizableContainer extends JPanel {
|
|
|
|
|
* 伸缩右子面板时,触发此方法 |
|
|
|
|
*/ |
|
|
|
|
public void onResize() { |
|
|
|
|
// do nothing here
|
|
|
|
|
refreshContainer(); |
|
|
|
|
if (DesignModeContext.isAuthorityEditing()) { |
|
|
|
|
DesignerContext.getDesignerFrame().doResize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void showContainer() { |
|
|
|
@ -251,10 +254,6 @@ public class UIEastResizableContainer extends JPanel {
|
|
|
|
|
} |
|
|
|
|
containerWidth = preferredWidth; |
|
|
|
|
onResize(); |
|
|
|
|
refreshContainer(); |
|
|
|
|
if (DesignModeContext.isAuthorityEditing()) { |
|
|
|
|
DesignerContext.getDesignerFrame().doResize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void hideContainer() { |
|
|
|
@ -264,10 +263,6 @@ public class UIEastResizableContainer extends JPanel {
|
|
|
|
|
setPreferredWidth(containerWidth); |
|
|
|
|
containerWidth = leftPaneWidth; |
|
|
|
|
onResize(); |
|
|
|
|
refreshContainer(); |
|
|
|
|
if (DesignModeContext.isAuthorityEditing()) { |
|
|
|
|
DesignerContext.getDesignerFrame().doResize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private class TopToolPane extends JPanel { |
|
|
|
|