public class ECPFileDialogHelperImpl extends Object implements ECPFileDialogHelper
ECPFileDialogHelper using the SWT implementation of the FileDialog.| Constructor and Description |
|---|
ECPFileDialogHelperImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPathForExport(org.eclipse.swt.widgets.Shell shell,
String fileName)
Returns the file path to export a model element to.
|
String |
getPathForImport(org.eclipse.swt.widgets.Shell shell)
Returns the absolute file path of the file selected by the user.
|
public String getPathForImport(org.eclipse.swt.widgets.Shell shell)
getPathForImport in interface ECPFileDialogHelpershell - The shell to open the FileDialognull if no file was selectedECPFileDialogHelper.getPathForImport(org.eclipse.swt.widgets.Shell)public String getPathForExport(org.eclipse.swt.widgets.Shell shell, String fileName)
getPathForExport in interface ECPFileDialogHelpershell - The shell to open the FileDialogfileName - a proposed filename for the exportECPFileDialogHelper.getPathForExport(org.eclipse.swt.widgets.Shell,
java.lang.String)Copyright © 2018. All rights reserved.