KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis > tool > service > eclipse > ui > WizardPane3


1 /*
2  * Copyright 2004,2005 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.axis.tool.service.eclipse.ui;
17
18 import org.apache.axis.tool.service.eclipse.plugin.ServiceArchiver;
19 import org.eclipse.jface.wizard.WizardPage;
20 import org.eclipse.swt.SWT;
21 import org.eclipse.swt.layout.GridData;
22 import org.eclipse.swt.layout.GridLayout;
23 import org.eclipse.swt.widgets.Composite;
24 import org.eclipse.swt.widgets.Label;
25
26
27 public class WizardPane3 extends WizardPage{
28     
29     public WizardPane3(){
30         super("page3");
31         this.setTitle(ServiceArchiver.getResourceString("page2.title"));
32         this.setDescription(ServiceArchiver.getResourceString("Generate the service XML file"));
33         this.setImageDescriptor(ServiceArchiver.getWizardImageDescriptor());
34     }
35     
36     /* (non-Javadoc)
37      * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
38      */

39     public void createControl(Composite parent) {
40         Composite container = new Composite(parent, SWT.NULL);
41         GridLayout layout = new GridLayout();
42         layout.numColumns=3;
43         container.setLayout(layout);
44                
45         Label manualSelectionLabel = new Label(container,SWT.NULL);
46         manualSelectionLabel.setText("Make the service XML file");
47         
48         GridData gd = new GridData(GridData.FILL_HORIZONTAL);
49         
50         setControl(container);
51
52     }
53     
54     
55     
56     /* (non-Javadoc)
57      * @see org.eclipse.jface.wizard.IWizardPage#canFlipToNextPage()
58      */

59     public boolean canFlipToNextPage() {
60         // TODO Auto-generated method stub
61
return super.canFlipToNextPage();
62     }
63 }
64
Popular Tags