public class ECPE4Editor extends Object
EObject
.Modifier and Type | Field and Description |
---|---|
static String |
INPUT
Key to set the input of the editor into the
IEclipseContext . |
Constructor and Description |
---|
ECPE4Editor(org.eclipse.swt.widgets.Composite composite,
org.eclipse.swt.widgets.Shell shell)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setInput(org.eclipse.emf.ecore.EObject modelElement,
ECPProject ecpProject,
org.eclipse.e4.ui.model.application.ui.basic.MPart part)
Sets the input of the editor part.
|
public static final String INPUT
IEclipseContext
.@Inject public ECPE4Editor(org.eclipse.swt.widgets.Composite composite, org.eclipse.swt.widgets.Shell shell)
composite
- the parent composite.shell
- to retrieve the display from. Used to retrieve the system colors.@Inject public void setInput(@Optional @Named(value="ecpEditorInput") org.eclipse.emf.ecore.EObject modelElement, @Optional ECPProject ecpProject, org.eclipse.e4.ui.model.application.ui.basic.MPart part)
modelElement
- the EObject
to be openedecpProject
- the ECPProject
in which the EObject
is containedpart
- the corresponding MPart
Copyright © 2017. All rights reserved.