1 19 20 package org.netbeans.modules.apisupport.project.ui.wizard; 21 import java.awt.Component ; 22 import org.openide.util.HelpCtx; 23 24 29 final class LibraryStartWizardPanel extends BasicWizardPanel.NewTemplatePanel { 30 31 32 private LibraryStartVisualPanel visualPanel; 33 34 35 public LibraryStartWizardPanel(final NewModuleProjectData data) { 36 super(data); 37 } 38 39 public void reloadData() { 40 visualPanel.refreshData(); 41 } 42 43 public void storeData() { 44 visualPanel.storeData(); 45 } 46 47 public Component getComponent() { 48 if (visualPanel == null) { 49 visualPanel = new LibraryStartVisualPanel(getData()); 50 visualPanel.addPropertyChangeListener(this); 51 visualPanel.setName(getMessage("LBL_LibraryStartPanel_Title")); } 53 return visualPanel; 54 } 55 56 public HelpCtx getHelp() { 57 return new HelpCtx(LibraryStartWizardPanel.class); 58 } 59 60 } 61 | Popular Tags |