|
|
|
@ -485,24 +485,30 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
public void replaceAuthorityEditionPane(JComponent pane) { |
|
|
|
|
propertyItemMap.get(KEY_AUTHORITY_EDITION).replaceContentPane(pane); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public JComponent getAuthorityEditionPane() { |
|
|
|
|
return propertyItemMap.get(KEY_AUTHORITY_EDITION).getContentPane(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void replaceConfiguredRolesPane(JComponent pane) { |
|
|
|
|
propertyItemMap.get(KEY_CONFIGURED_ROLES).replaceContentPane(pane); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void replaceKeyPane(String key, JComponent pane) { |
|
|
|
|
|
|
|
|
|
propertyItemMap.get(key).replaceContentPane(pane); |
|
|
|
|
|
|
|
|
|
public void replaceKeyPane(final String key, final JComponent pane) { |
|
|
|
|
|
|
|
|
|
//需要放到 ui 线程中处理
|
|
|
|
|
UIUtil.invokeLaterIfNeeded(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
propertyItemMap.get(key).replaceContentPane(pane); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public JComponent getConfiguredRolesPane() { |
|
|
|
|
return propertyItemMap.get(KEY_CONFIGURED_ROLES).getContentPane(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void addParameterPane(JComponent paraPane) { |
|
|
|
|
propertyItemMap.get(KEY_WIDGET_SETTINGS).replaceHeaderPane(paraPane); |
|
|
|
|
} |
|
|
|
|