Class TableColumnGenerator

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void addColumn​(org.eclipse.emf.ecore.EAttribute attribute, VTableControl vTableControl)
      Generates a column for the given EAttribute and adds it to the VTableControl.
      static void generateColumns​(org.eclipse.emf.ecore.EClass clazz, VTableControl vTableControl)
      Generates columns for every EAttribute of the given EClass and adds them to the VTableControl.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • generateColumns

        public static void generateColumns​(org.eclipse.emf.ecore.EClass clazz,
                                           VTableControl vTableControl)
        Generates columns for every EAttribute of the given EClass and adds them to the VTableControl.
        Parameters:
        clazz - the EClass to use
        vTableControl - the table control to use
      • addColumn

        public static void addColumn​(org.eclipse.emf.ecore.EAttribute attribute,
                                     VTableControl vTableControl)
        Generates a column for the given EAttribute and adds it to the VTableControl.
        Parameters:
        attribute - the attribute to use
        vTableControl - the table control to use