Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emf.ecp.internal.ui.util
Interface ECPFileDialogHelper

All Known Implementing Classes:
  ECPFileDialogHelperImpl

    public interface ECPFileDialogHelper

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

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.