core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/api/sdk/ui/BuildPlatformFilterPage.java
equal
deleted
inserted
replaced
41 |
41 |
42 public BuildPlatformFilterPage() { |
42 public BuildPlatformFilterPage() { |
43 super(); |
43 super(); |
44 } |
44 } |
45 |
45 |
46 /* (non-Javadoc) |
46 |
47 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite) |
47 public Control createContents(Composite parent) { |
48 */ |
|
49 public void createControl(Composite parent) { |
|
50 Composite content = new Composite(parent, SWT.NONE); |
48 Composite content = new Composite(parent, SWT.NONE); |
51 setControl(content); |
|
52 GridLayout gridLayout = new GridLayout(); |
49 GridLayout gridLayout = new GridLayout(); |
53 content.setLayout(gridLayout); |
50 content.setLayout(gridLayout); |
54 |
51 |
55 TabFolder tabFolder = new TabFolder(content, SWT.NONE); |
52 TabFolder tabFolder = new TabFolder(content, SWT.NONE); |
56 GridData tabFolderGridData = new GridData(SWT.FILL, SWT.FILL, true, true); |
53 GridData tabFolderGridData = new GridData(SWT.FILL, SWT.FILL, true, true); |
73 sbsv2Tab.createControls(); |
70 sbsv2Tab.createControls(); |
74 sbsv2TabItem.setControl(sbsv2Tab); |
71 sbsv2TabItem.setControl(sbsv2Tab); |
75 } |
72 } |
76 |
73 |
77 PlatformUI.getWorkbench().getHelpSystem().setHelp(super.getControl(), SDKUIHelpIds.SDK_BUILD_FILTER_PAGE); |
74 PlatformUI.getWorkbench().getHelpSystem().setHelp(super.getControl(), SDKUIHelpIds.SDK_BUILD_FILTER_PAGE); |
|
75 |
|
76 return content; |
78 } |
77 } |
79 |
78 |
80 @Override |
|
81 protected Control createContents(Composite parent) { |
|
82 return null; |
|
83 } |
|
84 |
79 |
85 public void init(IWorkbench workbench) { |
80 public void init(IWorkbench workbench) { |
86 } |
81 } |
87 |
82 |
88 public boolean performOk() { |
83 public boolean performOk() { |
92 sbsv2Tab.performOk(); |
87 sbsv2Tab.performOk(); |
93 } |
88 } |
94 |
89 |
95 return super.performOk(); |
90 return super.performOk(); |
96 } |
91 } |
|
92 |
|
93 @Override |
|
94 protected void performApply() { |
|
95 performOk(); |
|
96 super.performApply(); |
|
97 } |
|
98 |
|
99 @Override |
|
100 protected void performDefaults() { |
|
101 sbsv1Tab.setDefaults(); |
|
102 sbsv2Tab.setDefaults(); |
|
103 super.performDefaults(); |
|
104 } |
|
105 |
|
106 |
|
107 |
97 } |
108 } |