1 19 20 package org.netbeans.modules.xml.wsdl.ui.wizard; 21 22 import java.awt.Component ; 23 import java.awt.Dimension ; 24 import java.util.ArrayList ; 25 import java.util.Iterator ; 26 import java.util.List ; 27 28 import javax.swing.event.ChangeEvent ; 29 import javax.swing.event.ChangeListener ; 30 import javax.swing.event.DocumentEvent ; 31 import javax.swing.event.DocumentListener ; 32 import javax.swing.text.Document ; 33 34 import org.netbeans.api.project.Project; 35 import org.netbeans.modules.xml.wsdl.ui.view.OperationType; 36 import org.netbeans.modules.xml.wsdl.ui.view.PartAndElementOrTypeTableModel; 37 import org.netbeans.modules.xml.wsdl.ui.view.PortTypeConfigurationPanel; 38 import org.openide.WizardDescriptor; 39 import org.openide.loaders.TemplateWizard; 40 import org.openide.util.HelpCtx; 41 import org.openide.util.NbBundle; 42 43 47 public class WizardNewWSDLStep implements WizardDescriptor.FinishablePanel { 48 private WizardDescriptor.Panel mPanel; 49 50 51 public WizardNewWSDLStep(WizardDescriptor.Panel panel) { 52 this.mPanel = panel; 53 } 54 55 public boolean isFinishPanel() { 56 return true; 57 } 58 59 public Component getComponent() { 60 return mPanel.getComponent(); 61 } 62 63 public HelpCtx getHelp() { 64 return mPanel.getHelp(); 65 } 66 67 public void readSettings(Object settings) { 68 mPanel.readSettings(settings); 69 } 70 71 public void storeSettings(Object settings) { 72 String title = (String ) ((WizardDescriptor)settings).getProperty ("NewFileWizard_Title"); mPanel.storeSettings(settings); 75 ((WizardDescriptor)settings).putProperty ("NewFileWizard_Title", title); } 77 78 public boolean isValid() { 79 return mPanel.isValid(); 80 } 81 82 public void addChangeListener(ChangeListener l) { 83 mPanel.addChangeListener(l); 84 } 85 86 public void removeChangeListener(ChangeListener l) { 87 mPanel.removeChangeListener(l); 88 } 89 90 } 91 | Popular Tags |