1 package org.argeo.cms.ui.util;
2
3 import org.eclipse.swt.SWT;
4 import org.eclipse.swt.layout.GridData;
5 import org.eclipse.swt.layout.GridLayout;
6 import org.eclipse.swt.layout.RowLayout;
7 import org.eclipse.swt.widgets.Composite;
8
9
10 public class CmsPane {
11
12 private Composite mainArea;
13 private Composite qaArea;
14 private Composite supportArea;
15
16 public CmsPane(Composite parent, int style) {
17 parent.setLayout(CmsUiUtils.noSpaceGridLayout());
18
19
20
21
22
23
24
25 mainArea = new Composite(parent, SWT.NONE);
26 mainArea.setLayout(new GridLayout());
27 mainArea.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
28
29
30
31
32
33
34 }
35
36 public Composite getMainArea() {
37 return mainArea;
38 }
39
40 public Composite getQaArea() {
41 return qaArea;
42 }
43
44 public Composite getSupportArea() {
45 return supportArea;
46 }
47
48 }