Class CSVSettingsDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
de.uka.ipd.sdq.sensorframework.visualisation.dialogs.CSVSettingsDialog
Deprecated.
Superseded by EDP2.
A dialog for the settings of the CSV data export.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCSVSettingsDialog
(String pathParentDir, String fileOrDirName, String fileExtension, DialogType type) Deprecated.Create the dialog. -
Method Summary
-
Field Details
-
result
Deprecated. -
frmDialog
Deprecated.
-
-
Constructor Details
-
CSVSettingsDialog
public CSVSettingsDialog(String pathParentDir, String fileOrDirName, String fileExtension, DialogType type) Deprecated.Create the dialog.- Parameters:
pathParentDir
- Default path of the parent directory.fileOrDirName
- If the type isFILE
then it means the default file name or if the type isDIRECTORY
then it means the child directory name (but not a whole path).fileExtension
- Default file extension (only for type =FILE
).type
- The type of the dialog either DialogType.DIRECTORY stands for SWT DirectoryDialog for choosing a directory path or DialogType.FILE stands for SWT FileDialog for choosing a file path.
-
-
Method Details
-
open
Deprecated.Open the dialog while you cancel or click on the Save As Button.- Returns:
- The result is not defined at the moment.
-
getValidPath
public boolean getValidPath()Deprecated.- Returns:
isPathValid()
-
getPath
Deprecated.- Returns:
- The complete target path for the CSV export.
-
isHeader
public boolean isHeader()Deprecated.- Returns:
true
: Save CSV file with integrated header.
false
: Save CSV file without any header.
-
getSeparator
Deprecated.- Returns:
- The chosen separator which is one of the following characters:
- Semicolon ";"
- Comma ","
- Tabulator "\t"
-
dispose
public void dispose()Deprecated.Dispose the resources of the dialog widgets. -
isPathValid
public boolean isPathValid()Deprecated.- Returns:
true
if a path is chosen and the both dialog are not canceled or
false
if one of the dialogs is canceled or the path is an empty string.
-