Class ControlGenerator


  • public final class ControlGenerator
    extends java.lang.Object
    Generates and sets a list of controls to a VView.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 path
        compositeToFill - the VElement to fill , must be of type VView or VContainer
        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