org.eclipse.nebula.widgets.nattable.examples._500_Layers._511_Grouping
Class _5112_TwoLevelColumnGroupingExample

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.examples.AbstractNatExample
      extended by org.eclipse.nebula.widgets.nattable.examples._500_Layers._511_Grouping._5112_TwoLevelColumnGroupingExample
All Implemented Interfaces:
INatExample

public class _5112_TwoLevelColumnGroupingExample
extends AbstractNatExample

Simple example showing how to add the ColumnGroupHeaderLayer and the ColumnGroupGroupHeaderLayer to the layer composition of a grid and how to add the corresponding actions to the column header menu.

Author:
Dirk Fauth

Field Summary
 
Fields inherited from interface org.eclipse.nebula.widgets.nattable.examples.INatExample
BASE_PACKAGE, BASE_PATH, CLASSIC_BASE_PACKAGE, CLASSIC_BASE_PATH, CLASSIC_EXAMPLES_PREFIX, TUTORIAL_EXAMPLES_PREFIX
 
Constructor Summary
_5112_TwoLevelColumnGroupingExample()
           
 
Method Summary
 org.eclipse.swt.widgets.Control createExampleControl(org.eclipse.swt.widgets.Composite parent)
           
 String getDescription()
           
static void main(String[] args)
           
 
Methods inherited from class org.eclipse.nebula.widgets.nattable.examples.AbstractNatExample
getName, getShortDescription, log, onStart, onStop, setupTextArea
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

_5112_TwoLevelColumnGroupingExample

public _5112_TwoLevelColumnGroupingExample()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

getDescription

public String getDescription()
Specified by:
getDescription in interface INatExample
Overrides:
getDescription in class AbstractNatExample

createExampleControl

public org.eclipse.swt.widgets.Control createExampleControl(org.eclipse.swt.widgets.Composite parent)


Copyright © 2014. All rights reserved.