Class TreeMasterDetailSWTFactory
- java.lang.Object
-
- org.eclipse.emfforms.spi.swt.treemasterdetail.TreeMasterDetailSWTFactory
-
public final class TreeMasterDetailSWTFactory extends java.lang.Object
This factory allows to createTreeMasterDetailComposites
.- Author:
- Johannes Faltermeier
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TreeMasterDetailComposite
createTreeMasterDetail(org.eclipse.swt.widgets.Composite parent, int style, java.lang.Object input)
Creates aTreeMasterDetailComposite
with the default behavior.static TreeMasterDetailComposite
createTreeMasterDetail(org.eclipse.swt.widgets.Composite parent, int style, java.lang.Object input, int updateDelay, TreeMasterDetailSWTCustomization buildBehaviour)
Creates aTreeMasterDetailComposite
with a customized behavior.static TreeMasterDetailComposite
createTreeMasterDetail(org.eclipse.swt.widgets.Composite parent, int style, java.lang.Object input, TreeMasterDetailSWTCustomization buildBehaviour)
Creates aTreeMasterDetailComposite
with a customized behavior.static TreeMasterDetailSWTBuilder
fillDefaults(org.eclipse.swt.widgets.Composite composite, int swtStyleBits, java.lang.Object input)
Use this method if you want to customize any behavior of theTreeMasterDetailComposite
.
-
-
-
Method Detail
-
fillDefaults
public static TreeMasterDetailSWTBuilder fillDefaults(org.eclipse.swt.widgets.Composite composite, int swtStyleBits, java.lang.Object input)
Use this method if you want to customize any behavior of theTreeMasterDetailComposite
. This will return aTreeMasterDetailSWTBuilder
which allows to customize certain aspects.- Parameters:
composite
- the parent compositeswtStyleBits
- the style bits which will be passed to theTreeMasterDetailComposite
input
- the input object- Returns:
- the builder
-
createTreeMasterDetail
public static TreeMasterDetailComposite createTreeMasterDetail(org.eclipse.swt.widgets.Composite parent, int style, java.lang.Object input)
Creates aTreeMasterDetailComposite
with the default behavior.- Parameters:
parent
- the parent compositestyle
- the style bits which will be passed to theTreeMasterDetailComposite
input
- the input object- Returns:
- the tree master detail
-
createTreeMasterDetail
public static TreeMasterDetailComposite createTreeMasterDetail(org.eclipse.swt.widgets.Composite parent, int style, java.lang.Object input, TreeMasterDetailSWTCustomization buildBehaviour)
Creates aTreeMasterDetailComposite
with a customized behavior. Please note that there is also thefillDefaults(Composite, int, Object)
method which allows to customize single aspects of the default behavior without having to provider a full implementaion ofTreeMasterDetailSWTCustomization
.- Parameters:
parent
- the parent compositestyle
- the style bits which will be passed to theTreeMasterDetailComposite
input
- the input objectbuildBehaviour
- the custom behavior- Returns:
- the tree master detail
-
createTreeMasterDetail
public static TreeMasterDetailComposite createTreeMasterDetail(org.eclipse.swt.widgets.Composite parent, int style, java.lang.Object input, int updateDelay, TreeMasterDetailSWTCustomization buildBehaviour)
Creates aTreeMasterDetailComposite
with a customized behavior. Please note that there is also thefillDefaults(Composite, int, Object)
method which allows to customize single aspects of the default behavior without having to provider a full implementaion ofTreeMasterDetailSWTCustomization
.- Parameters:
parent
- the parent compositestyle
- the style bits which will be passed to theTreeMasterDetailComposite
input
- the input objectbuildBehaviour
- the custom behaviorupdateDelay
- the time between a detected selection change and updating the detail panel in ms- Returns:
- the tree master detail
- Since:
- 1.11
-
-