|
|
|
@ -45,7 +45,7 @@ public class ParameterPropertyPane extends JPanel{
|
|
|
|
|
revalidate(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ParameterPropertyPane() { |
|
|
|
|
private ParameterPropertyPane() { |
|
|
|
|
toolbarPane = new ParameterToolBarPane(); |
|
|
|
|
BasicScrollPane basicScrollPane = new BasicScrollPane() { |
|
|
|
|
@Override |
|
|
|
@ -77,6 +77,11 @@ public class ParameterPropertyPane extends JPanel{
|
|
|
|
|
this.add(addParaPane, BorderLayout.CENTER); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 显示或隐藏添加参数面板
|
|
|
|
|
public void refreshState() { |
|
|
|
|
setAddParaPaneVisible(toolbarPane.hasSelectedLabelItem()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setAddParaPaneVisible(boolean isVisible) { |
|
|
|
|
if (isVisible == addParaPane.isVisible()) { |
|
|
|
|
return; |
|
|
|
|