|
|
@ -689,8 +689,10 @@ public class EastRegionContainerPane extends UIEastResizableContainer { |
|
|
|
popupDialog.setVisible(false); |
|
|
|
popupDialog.setVisible(false); |
|
|
|
initContentPane(); |
|
|
|
initContentPane(); |
|
|
|
onResize(); |
|
|
|
onResize(); |
|
|
|
propertyCard.show(rightPane, getName()); |
|
|
|
if (isEnabled()) { |
|
|
|
setTabButtonSelected(); |
|
|
|
propertyCard.show(rightPane, getName()); |
|
|
|
|
|
|
|
setTabButtonSelected(); |
|
|
|
|
|
|
|
} |
|
|
|
refreshContainer(); |
|
|
|
refreshContainer(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -889,6 +891,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer { |
|
|
|
private Cursor originCursor; |
|
|
|
private Cursor originCursor; |
|
|
|
private Cursor southResizeCursor = Cursor.getPredefinedCursor(Cursor.S_RESIZE_CURSOR); |
|
|
|
private Cursor southResizeCursor = Cursor.getPredefinedCursor(Cursor.S_RESIZE_CURSOR); |
|
|
|
private Point mouseDownCompCoords; |
|
|
|
private Point mouseDownCompCoords; |
|
|
|
|
|
|
|
private JPanel contentWrapper; |
|
|
|
|
|
|
|
|
|
|
|
private JComponent contentPane; |
|
|
|
private JComponent contentPane; |
|
|
|
private PropertyItem propertyItem; |
|
|
|
private PropertyItem propertyItem; |
|
|
@ -901,7 +904,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer { |
|
|
|
popupToolPane.setParentDialog(this); |
|
|
|
popupToolPane.setParentDialog(this); |
|
|
|
contentPane = propertyItem.getContentPane(); |
|
|
|
contentPane = propertyItem.getContentPane(); |
|
|
|
|
|
|
|
|
|
|
|
JPanel contentWrapper = new JPanel(new BorderLayout()); |
|
|
|
contentWrapper = new JPanel(new BorderLayout()); |
|
|
|
contentWrapper.add(popupToolPane, BorderLayout.NORTH); |
|
|
|
contentWrapper.add(popupToolPane, BorderLayout.NORTH); |
|
|
|
contentWrapper.add(contentPane, BorderLayout.CENTER); |
|
|
|
contentWrapper.add(contentPane, BorderLayout.CENTER); |
|
|
|
contentWrapper.setBorder(BorderFactory.createLineBorder(UIConstants.PROPERTY_DIALOG_BORDER)); |
|
|
|
contentWrapper.setBorder(BorderFactory.createLineBorder(UIConstants.PROPERTY_DIALOG_BORDER)); |
|
|
@ -933,12 +936,8 @@ public class EastRegionContainerPane extends UIEastResizableContainer { |
|
|
|
public void replaceContentPane(PropertyItem propertyItem) { |
|
|
|
public void replaceContentPane(PropertyItem propertyItem) { |
|
|
|
this.propertyItem = propertyItem; |
|
|
|
this.propertyItem = propertyItem; |
|
|
|
JComponent contentPane = propertyItem.getContentPane(); |
|
|
|
JComponent contentPane = propertyItem.getContentPane(); |
|
|
|
container.remove(this.contentPane); |
|
|
|
contentWrapper.remove(this.contentPane); |
|
|
|
container.add(this.contentPane = contentPane); |
|
|
|
contentWrapper.add(this.contentPane = contentPane, BorderLayout.CENTER); |
|
|
|
// pack();
|
|
|
|
|
|
|
|
if (getSize().height < container.getPreferredSize().height) { |
|
|
|
|
|
|
|
setSize(CONTENT_WIDTH, container.getPreferredSize().height); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
refreshContainer(); |
|
|
|
refreshContainer(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|