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.ui.e4.handlers
Class ImportHandler

    java.lang.Object
      org.eclipse.emf.ecp.ui.e4.handlers.ImportHandler

    public class ImportHandler

extends Object

Handler to import an `EObject`.

Author:
  David

Constructor Summary
`ImportHandler()`

Method Summary
`void` | `execute(org.eclipse.swt.widgets.Shell shell, org.eclipse.emf.ecore.EObject eObject, ECPProject ecpProject)` Imports an `EObject` which will be selected via a dialog into the current project.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ImportHandler

    public ImportHandler()

Method Detail

### execute

    @Execute
    public void execute(org.eclipse.swt.widgets.Shell shell,
                                @Named(value="org.eclipse.ui.selection")@Optional
                                org.eclipse.emf.ecore.EObject eObject,
                                @Named(value="org.eclipse.ui.selection")@Optional
                                ECPProject ecpProject)

  Imports an `EObject` which will be selected via a dialog into the current project.

  Parameters:
    `shell` - `Shell` which should be used for the dialogs
    `eObject` - The selected `EObject` which should be connected with the imported `EObject` or null if an `ECPProject` was selected
    `ecpProject` - The selected `ECPProject` which should be connected with the imported `EObject` or null if an `EObject` was selected

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.