Commits

Jan Lahoda  committed 7805627

Remote filesystem browsing in index customization apparently not important

  • Participants
  • Parent commits f170301

Comments (0)

Files changed (7)

File remoting/ide/api/src/org/netbeans/modules/jackpot30/remotingapi/options/CustomizeRemoteIndex.java

     // End of variables declaration//GEN-END:variables
 
     private void showFileChooser(JTextField folder) {
-        URL result = FSChooser.select("Select folder", "Select", Utils.fromDisplayName(folder.getText()));
+        JFileChooser c = new JFileChooser();
 
-        if (result != null) {
-            folder.setText(Utils.toDisplayName(result));
+        c.setSelectedFile(new File(folder.getText()));
+        c.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
+        c.setMultiSelectionEnabled(false);
+        c.setApproveButtonText("Select");
+
+        if (c.showDialog(this, null) == JFileChooser.APPROVE_OPTION) {
+            folder.setText(c.getSelectedFile().getAbsolutePath());
         }
+//
+//        URL result = FSChooser.select("Select folder", "Select", Utils.fromDisplayName(folder.getText()));
+//
+//        if (result != null) {
+//            folder.setText(Utils.toDisplayName(result));
+//        }
     }
 
     private String tempSubIndexSelection;

File remoting/ide/cnd.remote.bridge/nbproject/build-impl.xml

             </not>
         </condition>
     </fail>
-    <property file="nbproject/private/suite-private.properties"/>
-    <property file="nbproject/suite.properties"/>
-    <fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
-    <property file="${suite.dir}/nbproject/private/platform-private.properties"/>
-    <property file="${suite.dir}/nbproject/platform.properties"/>
+    <property file="nbproject/private/platform-private.properties"/>
+    <property file="nbproject/platform.properties"/>
     <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
         <attribute name="name"/>
         <attribute name="value"/>

File remoting/ide/cnd.remote.bridge/nbproject/genfiles.properties

 build.xml.stylesheet.CRC32=a56c6a5b@2.45
 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=629cf149
-nbproject/build-impl.xml.script.CRC32=05802808
-nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.45
+nbproject/build-impl.xml.data.CRC32=40b31b06
+nbproject/build-impl.xml.script.CRC32=e8d8c5e0
+nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.53

File remoting/ide/cnd.remote.bridge/nbproject/project.xml

     <configuration>
         <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
             <code-name-base>org.netbeans.modules.jackpot30.cnd.remote.bridge</code-name-base>
-            <suite-component/>
+            <standalone/>
             <module-dependencies>
                 <dependency>
                     <code-name-base>org.netbeans.modules.cnd.api.remote</code-name-base>

File remoting/ide/cnd.remote.bridge/nbproject/suite.properties

-suite.dir=${basedir}/..

File remoting/ide/nbproject/platform.properties

     ../common/build/cluster
 extcluster.../common/build/cluster.javadoc=
 extcluster.../common/build/cluster.sources=../common
-nbplatform.active=default
+nbplatform.active=working

File remoting/ide/nbproject/project.properties

     ${project.org.netbeans.modules.jackpot30.remoting.api}:\
     ${project.org.netbeans.modules.jackpot30.ide.usages}:\
     ${project.org.netbeans.modules.jackpot30.remoting.kit}:\
-    ${project.org.netbeans.modules.jackpot30.cnd.remote.bridge}:\
     ${project.org.netbeans.modules.jackpot30.remoting.downloadable}:\
     ${project.org.netbeans.modules.jackpot30.remoting.local}
-project.org.netbeans.modules.jackpot30.cnd.remote.bridge=cnd.remote.bridge
 project.org.netbeans.modules.jackpot30.ide.usages=usages
 project.org.netbeans.modules.jackpot30.jumpto=jumpto
 project.org.netbeans.modules.jackpot30.remoting.api=api