Class TableColumnGenerator
- java.lang.Object
-
- org.eclipse.emf.ecp.view.internal.table.generator.TableColumnGenerator
-
public final class TableColumnGenerator extends java.lang.Object
Helper class to generateVTableColumnConfiguration
s for aVTableControl
.- Author:
- jfaltermeier
-
-
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 givenEAttribute
and adds it to theVTableControl
.static void
generateColumns(org.eclipse.emf.ecore.EClass clazz, VTableControl vTableControl)
-
-
-
Method Detail
-
generateColumns
public static void generateColumns(org.eclipse.emf.ecore.EClass clazz, VTableControl vTableControl)
- Parameters:
clazz
- the EClass to usevTableControl
- the table control to use
-
addColumn
public static void addColumn(org.eclipse.emf.ecore.EAttribute attribute, VTableControl vTableControl)
Generates a column for the givenEAttribute
and adds it to theVTableControl
.- Parameters:
attribute
- the attribute to usevTableControl
- the table control to use
-
-