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