Modifier and Type | Method and Description |
---|---|
static void |
addControls(org.eclipse.emf.ecore.EClass rootClass,
VElement compositeToFill,
Set<org.eclipse.emf.ecore.EStructuralFeature> features)
Create controls and set them to the view.
|
static void |
addControls(ECPProject project,
VContainer compositeToFill,
org.eclipse.emf.ecore.EClass datasegment,
Set<org.eclipse.emf.ecore.EStructuralFeature> features)
Create controls and set them to the view.
|
static void |
generateAllControls(VView view)
Create all the controls and set them to the given view.
|
public static void addControls(ECPProject project, VContainer compositeToFill, org.eclipse.emf.ecore.EClass datasegment, Set<org.eclipse.emf.ecore.EStructuralFeature> features)
project
- the ECPProject
from which the rootClass is retrieved. It is assumed that the project
contains only one VView
.compositeToFill
- the VElement
to fill , must be of type VView
or VContainer
datasegment
- the class to parsefeatures
- the list of features to createpublic static void addControls(org.eclipse.emf.ecore.EClass rootClass, VElement compositeToFill, Set<org.eclipse.emf.ecore.EStructuralFeature> features)
rootClass
- the rootClass for identifying the pathcompositeToFill
- the VElement
to fill , must be of type VView
or VContainer
features
- the list of features to createpublic static void generateAllControls(VView view)
view
- the view for which the controls are created forCopyright © 2016. All rights reserved.