org.eclipse.nebula.widgets.nattable.examples._500_Layers._507_HideShow
Class _5073_ColumnAndRowHideShowExample

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

public class _5073_ColumnAndRowHideShowExample
extends AbstractNatExample

Simple example showing how to add the ColumnHideShowLayer and the RowHideShowLayer to the layer composition of a grid and how to add the corresponding actions to the header menus. Also adds the functionality to manage NatTable states to proof that the visibility states are stored and loaded correctly.

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
_5073_ColumnAndRowHideShowExample()
           
 
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

_5073_ColumnAndRowHideShowExample

public _5073_ColumnAndRowHideShowExample()
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.