/** Get the current panel. * @return the panel */ public Panel current() { return targetChooser (); }
+ "Don't forget to include org.netbeans.modules.java.project.ui module in your application.", t ); panel = wizard.targetChooser();
static void fillPanels( TemplateWizard wizard, AbstractWizard aw, List<WizardDescriptor.Panel<WizardDescriptor>> panels, List<String> steps ) { int cnt = steps.size(); if (cnt == 0) { cnt = 1; } for (int i = 0; i < cnt; i++) { if (steps.size() > i) { final String panelName = steps.get(i); if ("targetChooser".equals(panelName)) { // NOI18N panels.add(wizard.targetChooser()); continue; } final String tcPrefix = "targetChooser:"; // NOI18N if (panelName != null && panelName.startsWith(tcPrefix)) { WizardDescriptor.Panel<WizardDescriptor> panel = aw.getChooser(wizard, panelName.substring(tcPrefix.length())); panels.add(panel); continue; } } final HTMLPanel p = new HTMLPanel(i, aw); panels.add(p); } }
if (wizard.getTemplate() != template) { Component c = wizard.targetChooser().getComponent(); if (c instanceof JComponent) { ((JComponent)c).putClientProperty(PROP_CONTENT_DATA, new String[] { c.getName() }); Component c = wizard.targetChooser().getComponent(); if (c instanceof JComponent) { if (((JComponent)c).getClientProperty (PROP_CONTENT_DATA) == null) {
return panel; } else { return wiz.targetChooser();