Skip to content

Commit

Permalink
Hide the batch run simulation feature.
Browse files Browse the repository at this point in the history
Temporarily, for maintenance release.
  • Loading branch information
vasilescu authored and vasilescu committed Feb 4, 2021
1 parent 42b4e68 commit 33776c5
Showing 1 changed file with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ public class SimulationListPanel extends DocumentEditorSubPanel {
private JButton copyButton = null;
private JButton ivjNewButton = null;
private JButton ivjNativeResultsButton = null;
private JButton importBatchButton = null;
private JButton exportBatchButton = null;
// private JButton importBatchButton = null;
// private JButton exportBatchButton = null;

// private JButton ivjPythonResultsButton = null;
private JButton ivjRunButton = null;
Expand Down Expand Up @@ -148,11 +148,11 @@ public void actionPerformed(java.awt.event.ActionEvent e) {
runSimulations();
} else if (e.getSource() == stopButton) {
stopSimulations();
} else if (e.getSource() == exportBatchButton) {
// DialogUtils.showInfoDialog(SimulationListPanel.this, "Under Construction");
importBatchSimulations();
} else if (e.getSource() == importBatchButton) {
createBatchSimulations();
// } else if (e.getSource() == exportBatchButton) {
//// DialogUtils.showInfoDialog(SimulationListPanel.this, "Under Construction");
// importBatchSimulations();
// } else if (e.getSource() == importBatchButton) {
// createBatchSimulations();
} else if (e.getSource() == getNativeResultsButton()) {
showSimulationResults(ViewerType.NativeViewer_only);
// } else if (e.getSource() == getPythonResultsButton()) {
Expand Down Expand Up @@ -471,12 +471,12 @@ private javax.swing.JToolBar getToolBar() {
copyButton = new JButton("", VCellIcons.copySimIcon);
copyButton.setToolTipText("Copy Simulation");
copyButton.addActionListener(ivjEventHandler);
importBatchButton = new JButton("", VCellIcons.importBatchSimIcon);
importBatchButton.setToolTipText("Import Batch Simulation Data");
importBatchButton.addActionListener(ivjEventHandler);
exportBatchButton = new JButton("", VCellIcons.exportBatchSimIcon);
exportBatchButton.setToolTipText("Export Batch Simulation Results");
exportBatchButton.addActionListener(ivjEventHandler);
// importBatchButton = new JButton("", VCellIcons.importBatchSimIcon);
// importBatchButton.setToolTipText("Import Batch Simulation Data");
// importBatchButton.addActionListener(ivjEventHandler);
// exportBatchButton = new JButton("", VCellIcons.exportBatchSimIcon);
// exportBatchButton.setToolTipText("Export Batch Simulation Results");
// exportBatchButton.addActionListener(ivjEventHandler);
stopButton = new JButton("", VCellIcons.stopSimIcon);
stopButton.setToolTipText("Stop Simulation");
stopButton.setEnabled(false);
Expand All @@ -502,10 +502,10 @@ private javax.swing.JToolBar getToolBar() {
toolBar.add(copyButton);
toolBar.add(getEditButton());
toolBar.add(getDeleteButton());
toolBar.addSeparator();
toolBar.add(importBatchButton);
toolBar.add(exportBatchButton);
toolBar.addSeparator();
// toolBar.addSeparator();
// toolBar.add(importBatchButton);
// toolBar.add(exportBatchButton);
// toolBar.addSeparator();

toolBar.add(getMassConservationModelReductionPanel());
toolBar.add(Box.createHorizontalGlue());
Expand All @@ -522,8 +522,8 @@ private javax.swing.JToolBar getToolBar() {
// toolBar.add(particleViewButton);

ReactionCartoonEditorPanel.setToolBarButtonSizes(getNewButton());
ReactionCartoonEditorPanel.setToolBarButtonSizes(importBatchButton);
ReactionCartoonEditorPanel.setToolBarButtonSizes(exportBatchButton);
// ReactionCartoonEditorPanel.setToolBarButtonSizes(importBatchButton);
// ReactionCartoonEditorPanel.setToolBarButtonSizes(exportBatchButton);
ReactionCartoonEditorPanel.setToolBarButtonSizes(copyButton);
ReactionCartoonEditorPanel.setToolBarButtonSizes(getEditButton());
ReactionCartoonEditorPanel.setToolBarButtonSizes(getDeleteButton());
Expand Down Expand Up @@ -1156,8 +1156,8 @@ private void refreshButtonsLax() {
bHasData = bHasData || simStatus.getHasData();
}
}
importBatchButton.setEnabled(bBatch);
exportBatchButton.setEnabled(bBatch);
// importBatchButton.setEnabled(bBatch);
// exportBatchButton.setEnabled(bBatch);
copyButton.setEnabled(bCopy);
getEditButton().setEnabled(bEditable);
getDeleteButton().setEnabled(bDeletable);
Expand Down

0 comments on commit 33776c5

Please sign in to comment.