equal
deleted
inserted
replaced
36 { |
36 { |
37 super(aFormLayouter); |
37 super(aFormLayouter); |
38 } |
38 } |
39 |
39 |
40 /** |
40 /** |
41 * Creates LayoutObject for the given Item. |
41 * Creates eSWT Control for the given Item. |
42 * |
42 * |
43 * @param item Item to layout |
43 * @param item Item to create the Control |
44 * @return LayoutObject |
44 * @param parent parent to create the Control |
45 */ |
45 * @return eSWT Control |
46 LayoutObject getLayoutObject(Item item) |
46 */ |
47 { |
47 Control createItemControl(Composite parent, Item item) |
48 LayoutObject lo = formLayouter.getLayoutObject(item); |
48 { |
49 if(lo == null) |
49 return eswtGetControl(parent, item); |
50 { |
50 } |
51 lo = new LayoutObject(item, eswtGetControl(formComposite, item)); |
|
52 } |
|
53 return lo; |
|
54 } |
|
55 |
51 |
56 /** |
52 /** |
57 * Creates the eSWT CaptionedControl or Composite for this item. |
53 * Creates the eSWT CaptionedControl or Composite for this item. |
58 */ |
54 */ |
59 Control eswtGetControl(Composite parent, Item item) |
55 Control eswtGetControl(Composite parent, Item item) |