Class ControlGenerator
- java.lang.Object
-
- org.eclipse.emf.ecp.view.internal.editor.handler.ControlGenerator
-
public final class ControlGenerator extends java.lang.Object
Generates and sets a list of controls to aVView
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addControls(org.eclipse.emf.ecore.EClass rootClass, VElement compositeToFill, java.util.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.
-
-
-
Method Detail
-
addControls
public static void addControls(org.eclipse.emf.ecore.EClass rootClass, VElement compositeToFill, java.util.Set<org.eclipse.emf.ecore.EStructuralFeature> features)
Create controls and set them to the view.- Parameters:
rootClass
- the rootClass for identifying the pathcompositeToFill
- theVElement
to fill , must be of typeVView
orVContainer
features
- the list of features to create
-
generateAllControls
public static void generateAllControls(VView view)
Create all the controls and set them to the given view.- Parameters:
view
- the view for which the controls are created for
-
-