1 19 20 package org.netbeans.modules.web.wizards; 21 22 import java.awt.Component ; 23 import java.util.HashSet ; 24 import java.util.Iterator ; 25 import java.util.Set ; 26 import javax.swing.event.ChangeEvent ; 27 import javax.swing.event.ChangeListener ; 28 29 import org.openide.WizardDescriptor; 30 import org.openide.util.HelpCtx; 31 import org.openide.loaders.TemplateWizard; 32 33 38 public class WrapperSelection implements WizardDescriptor.Panel { 39 40 44 private WrapperPanel component; 45 private transient TemplateWizard wizard; 46 47 48 public WrapperSelection(TemplateWizard wizard) { 49 this.wizard=wizard; 50 } 51 52 public Component getComponent() { 57 if (component == null) { 58 component = new WrapperPanel(this); 59 } 60 return component; 61 } 62 63 public HelpCtx getHelp() { 64 return null; 65 } 66 67 public boolean isValid() { 68 return true; 70 } 76 77 88 89 public final void addChangeListener(ChangeListener l) {} 90 public final void removeChangeListener(ChangeListener l) {} 91 114 115 public void readSettings(Object settings) { 120 } 121 public void storeSettings(Object settings) { 122 } 123 124 boolean isWrapper() {return component.isWrapper();} 125 126 } 127 | Popular Tags |