Class TreeMasterDetailSWTFactory
- java.lang.Object
-
- org.eclipse.emfforms.spi.swt.treemasterdetail.TreeMasterDetailSWTFactory
-
public final class TreeMasterDetailSWTFactory extends java.lang.ObjectThis factory allows to createTreeMasterDetailComposites.- Author:
- Johannes Faltermeier
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TreeMasterDetailCompositecreateTreeMasterDetail(org.eclipse.swt.widgets.Composite parent, int style, java.lang.Object input)Creates aTreeMasterDetailCompositewith the default behavior.static TreeMasterDetailCompositecreateTreeMasterDetail(org.eclipse.swt.widgets.Composite parent, int style, java.lang.Object input, int updateDelay, TreeMasterDetailSWTCustomization buildBehaviour)Creates aTreeMasterDetailCompositewith a customized behavior.static TreeMasterDetailCompositecreateTreeMasterDetail(org.eclipse.swt.widgets.Composite parent, int style, java.lang.Object input, TreeMasterDetailSWTCustomization buildBehaviour)Creates aTreeMasterDetailCompositewith a customized behavior.static TreeMasterDetailSWTBuilderfillDefaults(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 aTreeMasterDetailSWTBuilderwhich allows to customize certain aspects.- Parameters:
composite- the parent compositeswtStyleBits- the style bits which will be passed to theTreeMasterDetailCompositeinput- the input object- Returns:
- the builder
-
createTreeMasterDetail
public static TreeMasterDetailComposite createTreeMasterDetail(org.eclipse.swt.widgets.Composite parent, int style, java.lang.Object input)
Creates aTreeMasterDetailCompositewith the default behavior.- Parameters:
parent- the parent compositestyle- the style bits which will be passed to theTreeMasterDetailCompositeinput- 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 aTreeMasterDetailCompositewith 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 theTreeMasterDetailCompositeinput- 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 aTreeMasterDetailCompositewith 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 theTreeMasterDetailCompositeinput- 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
-
-