|
|
@ -220,6 +220,11 @@ public class EastRegionContainerPane extends UIEastResizableContainer { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void onResize() { |
|
|
|
public void onResize() { |
|
|
|
|
|
|
|
if (!isRightPaneVisible()) { |
|
|
|
|
|
|
|
resetPropertyIcons(); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
refreshRightPane(); |
|
|
|
|
|
|
|
} |
|
|
|
for (PropertyItem item : propertyItemMap.values()) { |
|
|
|
for (PropertyItem item : propertyItemMap.values()) { |
|
|
|
item.onResize(); |
|
|
|
item.onResize(); |
|
|
|
} |
|
|
|
} |
|
|
@ -377,6 +382,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer { |
|
|
|
public void refreshRightPane() { |
|
|
|
public void refreshRightPane() { |
|
|
|
// 可继承,就继承
|
|
|
|
// 可继承,就继承
|
|
|
|
if (selectedItem != null && selectedItem.isVisible() && selectedItem.isEnabled() && !selectedItem.isPoppedOut()) { |
|
|
|
if (selectedItem != null && selectedItem.isVisible() && selectedItem.isEnabled() && !selectedItem.isPoppedOut()) { |
|
|
|
|
|
|
|
selectedItem.setTabButtonSelected(); |
|
|
|
propertyCard.show(rightPane, selectedItem.getName()); |
|
|
|
propertyCard.show(rightPane, selectedItem.getName()); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
@ -426,6 +432,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void resetPropertyIcons() { |
|
|
|
private void resetPropertyIcons() { |
|
|
|
for (PropertyItem item : propertyItemMap.values()) { |
|
|
|
for (PropertyItem item : propertyItemMap.values()) { |
|
|
|
item.resetButtonIcon(); |
|
|
|
item.resetButtonIcon(); |
|
|
|