Class PropertyTableSnippet
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.propertytable.snippets.PropertyTableSnippet
-
public class PropertyTableSnippet extends java.lang.Object
This snippet demonstrates the PropertyTable widget
-
-
Constructor Summary
Constructors Constructor Description PropertyTableSnippet()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static PropertyTable
buildPropertyTable(org.eclipse.swt.widgets.TabFolder tabFolder, boolean showButton, boolean showAsCategory, boolean showDescription)
Build a property tablestatic void
main(java.lang.String[] args)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
- Parameters:
args
-
-
buildPropertyTable
private static PropertyTable buildPropertyTable(org.eclipse.swt.widgets.TabFolder tabFolder, boolean showButton, boolean showAsCategory, boolean showDescription)
Build a property table- Parameters:
tabFolder
- tabFolder that holds the property tableshowButton
- iftrue
, show buttonsshowAsCategory
- iftrue
, show property as categories. Iffalse
, show property as a flat listshowDescription
- iftrue
, show description- Returns:
- a property table
-
-