Package org.eclipse.emf.ecp.ui.e4.editor
Class ECPE4Editor
- java.lang.Object
-
- org.eclipse.emf.ecp.ui.e4.editor.ECPE4Editor
-
public class ECPE4Editor extends java.lang.Object
Editor displaying oneEObject
.- Author:
- Jonas
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
INPUT
Key to set the input of the editor into theIEclipseContext
.
-
Constructor Summary
Constructors Constructor Description ECPE4Editor(org.eclipse.swt.widgets.Composite composite, org.eclipse.swt.widgets.Shell shell)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setInput(org.eclipse.emf.ecore.EObject modelElement, org.eclipse.e4.ui.model.application.ui.basic.MPart part, ECPProject ecpProject)
Sets the input of the editor part.
-
-
-
Field Detail
-
INPUT
public static final java.lang.String INPUT
Key to set the input of the editor into theIEclipseContext
.- See Also:
- Constant Field Values
-
-
Method Detail
-
setInput
@Inject public void setInput(@Optional @Named("ecpEditorInput") org.eclipse.emf.ecore.EObject modelElement, org.eclipse.e4.ui.model.application.ui.basic.MPart part, @Optional ECPProject ecpProject)
Sets the input of the editor part.- Parameters:
modelElement
- theEObject
to be openedpart
- the correspondingMPart
ecpProject
- TheECPProject
(optional parameter)
-
-