Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emf.ecp.view.internal.table.generator
Class TableColumnGenerator

    java.lang.Object
      org.eclipse.emf.ecp.view.internal.table.generator.TableColumnGenerator

    public final class TableColumnGenerator

extends Object

Helper class to generate `VTableColumnConfiguration`s for a `VTableControl`.

Author:
  jfaltermeier

Method Summary
`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
`equals, 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

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.