Class _5073_ColumnAndRowHideShowExample
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.examples.AbstractNatExample
-
- 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 theColumnHideShowLayer
and theRowHideShowLayer
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.
-
-
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
Constructors Constructor Description _5073_ColumnAndRowHideShowExample()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceINatExample
- Overrides:
getDescription
in classAbstractNatExample
-
createExampleControl
public org.eclipse.swt.widgets.Control createExampleControl(org.eclipse.swt.widgets.Composite parent)
-
-