1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.commons.jelly.tags.jface.impl;
17
18 import org.eclipse.jface.window.ApplicationWindow;
19 import org.eclipse.swt.SWT;
20 import org.eclipse.swt.widgets.Control;
21 import org.eclipse.swt.widgets.Shell;
22
23 /***
24 * This is the default implementation for a ApplicationWindowTag
25 *
26 * @author <a href="mailto:ckl@dacelo.nl">Christiaan ten Klooster</a>
27 */
28 public class ApplicationWindowImpl extends ApplicationWindow {
29
30 /***
31 * @param shell
32 */
33 public ApplicationWindowImpl(Shell parentShell) {
34
35 super(parentShell);
36
37
38 addMenuBar();
39 addStatusLine();
40 addToolBar(SWT.NULL);
41
42 setBlockOnOpen(true);
43
44
45 create();
46 }
47
48
49
50
51
52 public Control getContents() {
53 return super.getContents();
54 }
55
56 }
57