forked from thorstenv/PoCoTo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
64 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Manifest-Version: 1.0 | ||
OpenIDE-Module: jav.gui.wizard | ||
OpenIDE-Module-Implementation-Version: 1 | ||
OpenIDE-Module-Implementation-Version: 2 | ||
OpenIDE-Module-Localizing-Bundle: jav/gui/wizard/Bundle.properties | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
import java.text.MessageFormat; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
import javax.swing.JFileChooser; | ||
import org.openide.WizardDescriptor; | ||
import org.openide.util.NbBundle; | ||
|
||
|
@@ -38,19 +39,19 @@ | |
* @author thorsten ([email protected]) | ||
*/ | ||
public class NewProjectWizardDescriptor extends WizardDescriptor { | ||
|
||
private NewProjectWizardPanel0 panel0 = new NewProjectWizardPanel0(); | ||
private NewProjectWizardPanel1 panel1 = new NewProjectWizardPanel1(); | ||
private NewProjectWizardPanel2 panel2 = new NewProjectWizardPanel2(); | ||
private JFileChooser jfc = new JFileChooser(); | ||
private NewProjectWizardPanel0 panel0 = new NewProjectWizardPanel0(jfc); | ||
private NewProjectWizardPanel1 panel1 = new NewProjectWizardPanel1(jfc); | ||
private NewProjectWizardPanel2 panel2 = new NewProjectWizardPanel2(jfc); | ||
// private NewProjectWizardPanel3 panel3 = new NewProjectWizardPanel3(); | ||
|
||
public NewProjectWizardDescriptor() { | ||
List<Panel<WizardDescriptor>> panels = new ArrayList<Panel<WizardDescriptor>>(); | ||
List<Panel<WizardDescriptor>> panels = new ArrayList<>(); | ||
panels.add(panel0); | ||
panels.add(panel1); | ||
panels.add(panel2); | ||
// panels.add(panel3); | ||
this.setPanelsAndSettings(new ArrayIterator<WizardDescriptor>(panels), this); | ||
this.setPanelsAndSettings(new ArrayIterator<>(panels), this); | ||
|
||
// {0} will be replaced by WizardDesriptor.Panel.getComponent().getName() | ||
this.setTitleFormat(new MessageFormat("{0}")); | ||
|
@@ -61,4 +62,4 @@ public NewProjectWizardDescriptor() { | |
putProperty("WizardPanel_contentNumbered", Boolean.TRUE); | ||
putProperty("WizardPanel_contentData", new String[]{panel0.getName(), panel1.getName(), panel2.getName()}); //, panel3.getName()}); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters