Skip to content

Commit e5af34d

Browse files
author
jossonsmith
committed
Add DialogTab in COntrolExample
1 parent 773fd2a commit e5af34d

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

tests/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ControlExample.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,14 @@ public ControlExample(Composite parent) {
6060
tabFolder = new TabFolder (parent, SWT.NONE);
6161
String[] tabs = new String[] {
6262
"Button",
63-
// "Label",
6463
// "Canvas",
64+
// "CLabel",
6565

6666
"Combo",
67-
// "CLabel",
68-
// "CTabFolder",
69-
"SashForm",
7067

7168
"CoolBar",
72-
// "Dialog",
69+
// "CTabFolder",
70+
"Dialog",
7371
"Group",
7472
"Label",
7573
"Link",
@@ -78,6 +76,7 @@ public ControlExample(Composite parent) {
7876
"ProgressBar",
7977

8078
"Sash",
79+
"SashForm",
8180
// shellTab = new ShellTab(this),
8281
"Shell",
8382
"Slider",

tests/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/DialogTab.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class DialogTab extends Tab {
4444
/**
4545
* Creates the Tab within a given instance of ControlExample.
4646
*/
47-
DialogTab(ControlExample instance) {
47+
public DialogTab(ControlExample instance) {
4848
super(instance);
4949
}
5050

0 commit comments

Comments
 (0)