JButton btnCancel = new JButton("Cancel");
- private boolean hasHiddenSeq, hasHiddenCols, isComplexAlignFile;
-
- boolean isComplexFormat = false;
+ private boolean hasHiddenSeq, hasHiddenCols, isComplexAlignFile,
+ showDialog;
public GAlignExportSettings(boolean hasHiddenSeq, boolean hasHiddenCols,
String alignFileFormat)
break;
}
}
-
+ if (this.hasHiddenCols || this.hasHiddenSeq || this.isComplexAlignFile)
+ {
+ this.showDialog = true;
+ }
init();
}
optionsPanel.add(hiddenRegionConfPanel);
}
- if (isComplexAlignFile)
+ if (this.isComplexAlignFile)
{
optionsPanel.add(complexExportPanel);
}
add(actionPanel, BorderLayout.SOUTH);
}
-
-
private void checkAllAction()
{
&& chkExportGrps.isEnabled() && isSelected);
}
+ public boolean isShowDialog()
+ {
+ return showDialog;
+ }
+
+ public void setShowDialog(boolean showDialog)
+ {
+ this.showDialog = showDialog;
+ }
+
public abstract void ok_actionPerformed(ActionEvent e);
public abstract void cancel_actionPerformed(ActionEvent e);