org.eclipse.emf.emfstore.internal.client.ui.util
Interface EMFStoreFileDialogHelper

All Known Implementing Classes:
EMFStoreFileDialogHelperImpl

public interface EMFStoreFileDialogHelper

Interface defining methods for retrieving Filepaths from a FileDialog.

Author:
jfaltermeier

Method Summary
 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.
 

Method Detail

getPathForImport

String getPathForImport(org.eclipse.swt.widgets.Shell shell)
Returns the absolute file path of the file selected by the user.

Parameters:
shell - The shell to open the FileDialog
Returns:
the absolute filename or null if no file was selected

getPathForExport

String getPathForExport(org.eclipse.swt.widgets.Shell shell,
                        String fileName)
Returns the file path to export a model element to.

Parameters:
shell - The shell to open the FileDialog
fileName - a proposed filename for the export
Returns:
the file path


Copyright © 2015. All Rights Reserved.