public abstract class WidgetUtils extends Object
Modifier and Type | Method and Description |
---|---|
static ComboVar |
createFieldDropDown(org.eclipse.swt.widgets.Composite parentComposite,
PropsUI props,
BaseStepMeta stepMeta,
org.eclipse.swt.layout.FormData formData)
creates a ComboVar populated with fields from the previous step.
|
static org.eclipse.swt.custom.CTabFolder |
createTabFolder(org.eclipse.swt.widgets.Composite composite,
org.eclipse.swt.layout.FormData fd,
String... titles) |
static org.eclipse.swt.layout.FormData |
firstColumn(org.eclipse.swt.widgets.Control top) |
static org.eclipse.swt.layout.FormData |
formDataBelow(org.eclipse.swt.widgets.Control anchorControl,
int width,
int pixelsBetweenAnchor)
Creates a FormData object specifying placement below anchorControl, with pixelsBetweeenAnchor space between
anchor and the control.
|
static org.eclipse.swt.layout.FormData |
secondColumn(org.eclipse.swt.widgets.Control top) |
static void |
setFormLayout(org.eclipse.swt.widgets.Composite composite,
int margin) |
public static void setFormLayout(org.eclipse.swt.widgets.Composite composite, int margin)
public static ComboVar createFieldDropDown(org.eclipse.swt.widgets.Composite parentComposite, PropsUI props, BaseStepMeta stepMeta, org.eclipse.swt.layout.FormData formData)
parentComposite
- - the composite in which the widget will be placedprops
- - PropsUI props for L&FstepMeta
- - stepMeta of the current stepformData
- - FormData to use for placementpublic static org.eclipse.swt.layout.FormData formDataBelow(org.eclipse.swt.widgets.Control anchorControl, int width, int pixelsBetweenAnchor)
public static org.eclipse.swt.custom.CTabFolder createTabFolder(org.eclipse.swt.widgets.Composite composite, org.eclipse.swt.layout.FormData fd, String... titles)
public static org.eclipse.swt.layout.FormData firstColumn(org.eclipse.swt.widgets.Control top)
public static org.eclipse.swt.layout.FormData secondColumn(org.eclipse.swt.widgets.Control top)
Copyright © 2019 Hitachi Vantara. All rights reserved.