1.1 --- a/python.project2/src/org/netbeans/modules/python/project2/ui/PythonPlatformChooser.form Wed Jul 08 18:26:38 2015 +0200
1.2 +++ b/python.project2/src/org/netbeans/modules/python/project2/ui/PythonPlatformChooser.form Wed Jul 08 19:50:14 2015 +0200
1.3 @@ -16,6 +16,7 @@
1.4 <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
1.5 <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
1.6 <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
1.7 + <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
1.8 </AuxValues>
1.9
1.10 <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
2.1 --- a/python.project2/src/org/netbeans/modules/python/project2/ui/PythonPlatformChooser.java Wed Jul 08 18:26:38 2015 +0200
2.2 +++ b/python.project2/src/org/netbeans/modules/python/project2/ui/PythonPlatformChooser.java Wed Jul 08 19:50:14 2015 +0200
2.3 @@ -12,7 +12,6 @@
2.4 import javax.swing.JButton;
2.5 import javax.swing.SwingUtilities;
2.6 import org.netbeans.modules.python.api.PythonPlatformManager;
2.7 -import org.netbeans.modules.python.project2.PythonProject2;
2.8 import org.openide.util.NbBundle;
2.9 import org.openide.util.RequestProcessor;
2.10
2.11 @@ -23,15 +22,12 @@
2.12 @NbBundle.Messages({"PPC_TXT_PleaseWait=Please Wait..."})
2.13 final class PythonPlatformChooser extends javax.swing.JPanel {
2.14
2.15 - private final PythonProject2 project;
2.16 private final JButton okButton;
2.17 private final static RequestProcessor RP = new RequestProcessor("PythonPlatformChooser"); //NOI18N
2.18
2.19 - PythonPlatformChooser (final PythonProject2 project, final JButton okButton) {
2.20 - assert project != null;
2.21 + PythonPlatformChooser (final JButton okButton) {
2.22 assert okButton != null;
2.23 initComponents();
2.24 - this.project = project;
2.25 this.okButton = okButton;
2.26 this.okButton.setEnabled(false);
2.27 ((DefaultListModel)this.pythonPlatforms.getModel()).addElement(NbBundle.getMessage(PythonPlatformChooser.class, "PPC_TXT_PleaseWait"));
3.1 --- a/python.project2/src/org/netbeans/modules/python/project2/ui/Utils.java Wed Jul 08 18:26:38 2015 +0200
3.2 +++ b/python.project2/src/org/netbeans/modules/python/project2/ui/Utils.java Wed Jul 08 19:50:14 2015 +0200
3.3 @@ -50,7 +50,7 @@
3.4 @NbBundle.Messages({"LBL_SelectPythonPlatform=Select Python Platform", "LBL_BrowsePythonPlatforms=Browse Python Platforms"})
3.5 public static String choosePythonPlatform(PythonProject2 project) {
3.6 final JButton okButton = new JButton (NbBundle.getMessage(Utils.class, "LBL_SelectPythonPlatform"));
3.7 - final PythonPlatformChooser ppc = new PythonPlatformChooser(project, okButton);
3.8 + final PythonPlatformChooser ppc = new PythonPlatformChooser(okButton);
3.9 final Object[] options = new Object[] {okButton, DialogDescriptor.CANCEL_OPTION};
3.10 final DialogDescriptor dd = new DialogDescriptor(ppc, NbBundle.getMessage(Utils.class, "LBL_BrowsePythonPlatforms"), true, options,
3.11 okButton,DialogDescriptor.RIGHT_ALIGN, HelpCtx.DEFAULT_HELP, null);