View Javadoc
1 package org.argosfields.wizard; 2 3 import org.argosfields.resource.ResourceManager; 4 import org.eclipse.jface.resource.ImageDescriptor; 5 import org.eclipse.jface.wizard.IWizardPage; 6 import org.eclipse.jface.wizard.Wizard; 7 8 /*** 9 * ConnectionWizard.java 10 * 11 * @author Xavier Cho 12 * @version $Revision: 1.2 $ $Date: 2003/12/01 07:38:05 $ 13 */ 14 public class ConnectionWizard extends Wizard { 15 /*** 16 * @see org.eclipse.jface.wizard.IWizard#addPages() 17 */ 18 public void addPages() { 19 ResourceManager resources = ResourceManager.getInstance(); 20 21 String pageName = resources.getString("wizard.connection.page1.title"); 22 23 ImageDescriptor image = 24 resources.getImageDescriptor("wizard.connection.page1.image"); 25 26 setWindowTitle(pageName); 27 setDefaultPageImageDescriptor(image); 28 29 IWizardPage page = new ConnectionWizardPage1(pageName); 30 page.setTitle(pageName); 31 32 addPage(page); 33 34 setForcePreviousAndNextButtons(true); 35 } 36 37 public boolean performFinish() { 38 return true; 39 } 40 }

This page was automatically generated by Maven