Skip to content

Commit 33776c5

Browse files
vasilescuvasilescu
authored andcommitted
Hide the batch run simulation feature.
Temporarily, for maintenance release.
1 parent 42b4e68 commit 33776c5

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

vcell-client/src/main/java/cbit/vcell/client/desktop/simulation/SimulationListPanel.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ public class SimulationListPanel extends DocumentEditorSubPanel {
111111
private JButton copyButton = null;
112112
private JButton ivjNewButton = null;
113113
private JButton ivjNativeResultsButton = null;
114-
private JButton importBatchButton = null;
115-
private JButton exportBatchButton = null;
114+
// private JButton importBatchButton = null;
115+
// private JButton exportBatchButton = null;
116116

117117
// private JButton ivjPythonResultsButton = null;
118118
private JButton ivjRunButton = null;
@@ -148,11 +148,11 @@ public void actionPerformed(java.awt.event.ActionEvent e) {
148148
runSimulations();
149149
} else if (e.getSource() == stopButton) {
150150
stopSimulations();
151-
} else if (e.getSource() == exportBatchButton) {
152-
// DialogUtils.showInfoDialog(SimulationListPanel.this, "Under Construction");
153-
importBatchSimulations();
154-
} else if (e.getSource() == importBatchButton) {
155-
createBatchSimulations();
151+
// } else if (e.getSource() == exportBatchButton) {
152+
//// DialogUtils.showInfoDialog(SimulationListPanel.this, "Under Construction");
153+
// importBatchSimulations();
154+
// } else if (e.getSource() == importBatchButton) {
155+
// createBatchSimulations();
156156
} else if (e.getSource() == getNativeResultsButton()) {
157157
showSimulationResults(ViewerType.NativeViewer_only);
158158
// } else if (e.getSource() == getPythonResultsButton()) {
@@ -471,12 +471,12 @@ private javax.swing.JToolBar getToolBar() {
471471
copyButton = new JButton("", VCellIcons.copySimIcon);
472472
copyButton.setToolTipText("Copy Simulation");
473473
copyButton.addActionListener(ivjEventHandler);
474-
importBatchButton = new JButton("", VCellIcons.importBatchSimIcon);
475-
importBatchButton.setToolTipText("Import Batch Simulation Data");
476-
importBatchButton.addActionListener(ivjEventHandler);
477-
exportBatchButton = new JButton("", VCellIcons.exportBatchSimIcon);
478-
exportBatchButton.setToolTipText("Export Batch Simulation Results");
479-
exportBatchButton.addActionListener(ivjEventHandler);
474+
// importBatchButton = new JButton("", VCellIcons.importBatchSimIcon);
475+
// importBatchButton.setToolTipText("Import Batch Simulation Data");
476+
// importBatchButton.addActionListener(ivjEventHandler);
477+
// exportBatchButton = new JButton("", VCellIcons.exportBatchSimIcon);
478+
// exportBatchButton.setToolTipText("Export Batch Simulation Results");
479+
// exportBatchButton.addActionListener(ivjEventHandler);
480480
stopButton = new JButton("", VCellIcons.stopSimIcon);
481481
stopButton.setToolTipText("Stop Simulation");
482482
stopButton.setEnabled(false);
@@ -502,10 +502,10 @@ private javax.swing.JToolBar getToolBar() {
502502
toolBar.add(copyButton);
503503
toolBar.add(getEditButton());
504504
toolBar.add(getDeleteButton());
505-
toolBar.addSeparator();
506-
toolBar.add(importBatchButton);
507-
toolBar.add(exportBatchButton);
508-
toolBar.addSeparator();
505+
// toolBar.addSeparator();
506+
// toolBar.add(importBatchButton);
507+
// toolBar.add(exportBatchButton);
508+
// toolBar.addSeparator();
509509

510510
toolBar.add(getMassConservationModelReductionPanel());
511511
toolBar.add(Box.createHorizontalGlue());
@@ -522,8 +522,8 @@ private javax.swing.JToolBar getToolBar() {
522522
// toolBar.add(particleViewButton);
523523

524524
ReactionCartoonEditorPanel.setToolBarButtonSizes(getNewButton());
525-
ReactionCartoonEditorPanel.setToolBarButtonSizes(importBatchButton);
526-
ReactionCartoonEditorPanel.setToolBarButtonSizes(exportBatchButton);
525+
// ReactionCartoonEditorPanel.setToolBarButtonSizes(importBatchButton);
526+
// ReactionCartoonEditorPanel.setToolBarButtonSizes(exportBatchButton);
527527
ReactionCartoonEditorPanel.setToolBarButtonSizes(copyButton);
528528
ReactionCartoonEditorPanel.setToolBarButtonSizes(getEditButton());
529529
ReactionCartoonEditorPanel.setToolBarButtonSizes(getDeleteButton());
@@ -1156,8 +1156,8 @@ private void refreshButtonsLax() {
11561156
bHasData = bHasData || simStatus.getHasData();
11571157
}
11581158
}
1159-
importBatchButton.setEnabled(bBatch);
1160-
exportBatchButton.setEnabled(bBatch);
1159+
// importBatchButton.setEnabled(bBatch);
1160+
// exportBatchButton.setEnabled(bBatch);
11611161
copyButton.setEnabled(bCopy);
11621162
getEditButton().setEnabled(bEditable);
11631163
getDeleteButton().setEnabled(bDeletable);

0 commit comments

Comments
 (0)