[nbgriffonsuite~subversion:30] adding project properties dialog

  • From: GWiel@kenai.com
  • To: commits@nbgriffonsuite.kenai.com
  • Subject: [nbgriffonsuite~subversion:30] adding project properties dialog
  • Date: Mon, 21 Dec 2009 14:44:39 +0000

Project:    nbgriffonsuite
Repository: subversion
Revision:   30
Author:     GWiel
Date:       2009-12-21 14:44:35 UTC
Link:       

Log Message:
------------
adding project properties dialog


Revisions:
----------
30


Modified Paths:
---------------
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/layer.xml
GriffonSuite/groovy.griffonproject/manifest.mf
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/GriffonProject.java
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/GrailsLogicalViewProvider.java
GriffonSuite/groovy.griffonproject/nbproject/project.xml
GriffonSuite/groovy.griffonproject/nbproject/genfiles.properties


Added Paths:
------------
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/GriffonProjectCustomizerProvider.java
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/LibrariesCustomizerPanel.java
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/GeneralCustomizerPanel.form
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/GeneralCustomizerPanel.java
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/LibrariesCustomizerPanel.form
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/GriffonProjectProperties.java
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/Bundle.properties


Diffs:
------
Index: GriffonSuite/groovy.griffonproject/nbproject/project.xml
===================================================================
--- GriffonSuite/groovy.griffonproject/nbproject/project.xml    (revision 29)
+++ GriffonSuite/groovy.griffonproject/nbproject/project.xml    (revision 30)
@@ -95,6 +95,15 @@
                     </run-dependency>
                 </dependency>
                 <dependency>
+                    
<code-name-base>org.netbeans.modules.java.api.common</code-name-base>
+                    <build-prerequisite/>
+                    <compile-dependency/>
+                    <run-dependency>
+                        <release-version>0</release-version>
+                        <implementation-version/>
+                    </run-dependency>
+                </dependency>
+                <dependency>
                     
<code-name-base>org.netbeans.modules.java.platform</code-name-base>
                     <build-prerequisite/>
                     <compile-dependency/>
Index: GriffonSuite/groovy.griffonproject/nbproject/genfiles.properties
===================================================================
--- GriffonSuite/groovy.griffonproject/nbproject/genfiles.properties    
(revision 29)
+++ GriffonSuite/groovy.griffonproject/nbproject/genfiles.properties    
(revision 30)
@@ -1,8 +1,8 @@
-build.xml.data.CRC32=321f9849
+build.xml.data.CRC32=458ad533
 build.xml.script.CRC32=6b91c3b9
-build.xml.stylesheet.CRC32=79c3b980@1.28.1.7
+build.xml.stylesheet.CRC32=79c3b980@1.31.1.7
 # 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=321f9849
+nbproject/build-impl.xml.data.CRC32=458ad533
 nbproject/build-impl.xml.script.CRC32=41f6d3bb
-nbproject/build-impl.xml.stylesheet.CRC32=261c4bef@1.28.1.7
+nbproject/build-impl.xml.stylesheet.CRC32=261c4bef@1.31.1.7
Index: GriffonSuite/groovy.griffonproject/manifest.mf
===================================================================
--- GriffonSuite/groovy.griffonproject/manifest.mf      (revision 29)
+++ GriffonSuite/groovy.griffonproject/manifest.mf      (revision 30)
@@ -2,5 +2,5 @@
 OpenIDE-Module: org.netbeans.modules.groovy.griffonproject
 OpenIDE-Module-Layer: org/netbeans/modules/groovy/griffonproject/layer.xml
 OpenIDE-Module-Localizing-Bundle: 
org/netbeans/modules/groovy/griffonproject/Bundle.properties
-OpenIDE-Module-Specification-Version: 2.4.2
+OpenIDE-Module-Specification-Version: 2.4.3
 
Index: 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/GriffonProject.java
===================================================================
--- 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/GriffonProject.java
       (revision 29)
+++ 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/GriffonProject.java
       (revision 30)
@@ -38,7 +38,6 @@
  * Version 2 license, then the option applies only if the new code is
  * made subject to such option by the copyright holder.
  */
-
 package org.netbeans.modules.groovy.griffonproject;
 
 import 
org.netbeans.modules.groovy.griffonproject.ui.GrailsLogicalViewProvider;
@@ -68,6 +67,7 @@
 import 
org.netbeans.modules.groovy.griffonproject.commands.GrailsCommandSupport;
 import org.netbeans.modules.groovy.griffonproject.config.BuildConfig;
 import org.netbeans.modules.groovy.griffonproject.ui.TemplatesImpl;
+import 
org.netbeans.modules.groovy.griffonproject.ui.customizer.GriffonProjectCustomizerProvider;
 import org.netbeans.modules.groovy.support.spi.GroovyFeature;
 import org.netbeans.spi.project.AuxiliaryConfiguration;
 import org.netbeans.spi.project.ui.PrivilegedTemplates;
@@ -78,7 +78,6 @@
 import org.openide.windows.WindowManager;
 import org.w3c.dom.Element;
 
-
 /**
  *
  * @author Martin Adamek
@@ -86,23 +85,14 @@
 public final class GriffonProject implements Project {
 
     private static final Logger LOG = 
Logger.getLogger(GriffonProject.class.getName());
-
     private final FileObject projectDir;
-
     private final ProjectState projectState;
-
     private final LogicalViewProvider logicalView;
-
     private final ClassPathProviderImpl cpProvider;
-
     private final GrailsCommandSupport commandSupport;
-
     private final BuildConfig buildConfig;
-    
     private SourceRoots sourceRoots;
-
     private SourceRoots testRoots;
-
     private Lookup lookup;
 
     public GriffonProject(FileObject projectDir, ProjectState projectState) {
@@ -201,25 +191,26 @@
     public Lookup getLookup() {
         if (lookup == null) {
             lookup = Lookups.fixed(new Object[]{
-                this,  //project spec requires a project be in its own lookup
-                projectState, //allow outside code to mark the project as 
needing saving
-                new Info(), //Project information implementation
-                new GriffonActionProvider(this),
-                GriffonSources.create(projectDir),
-                new GriffonServerState(this),
-                new GriffonProjectOperations(this),
-                new GrailsProjectEncodingQueryImpl(),
-                new OpenHook(),
-                new AuxiliaryConfigurationImpl(),
-                new RecommendedTemplatesImpl(),
-                new GroovyFeatureImpl(),
-                // FIXME check this
-             //   new ControllerCompletionProvider(),
-             //   new DomainCompletionProvider(),
-                logicalView, //Logical view of project implementation
-                cpProvider,
-                new GrailsProjectConfig(this)
-            });
+                        this, //project spec requires a project be in its 
own lookup
+                        projectState, //allow outside code to mark the 
project as needing saving
+                        new Info(), //Project information implementation
+                        new GriffonActionProvider(this),
+                        GriffonSources.create(projectDir),
+                        new GriffonServerState(this),
+                        new GriffonProjectCustomizerProvider(this),
+                        new GriffonProjectOperations(this),
+                        new GrailsProjectEncodingQueryImpl(),
+                        new OpenHook(),
+                        new AuxiliaryConfigurationImpl(),
+                        new RecommendedTemplatesImpl(),
+                        new GroovyFeatureImpl(),
+                        // FIXME check this
+                        //   new ControllerCompletionProvider(),
+                        //   new DomainCompletionProvider(),
+                        logicalView, //Logical view of project implementation
+                        cpProvider,
+                        new GrailsProjectConfig(this)
+                    });
         }
         return lookup;
     }
@@ -269,7 +260,6 @@
     private class OpenHook extends ProjectOpenedHook {
 
         //private org.netbeans.modules.gsfpath.api.classpath.ClassPath cp;
-
         @Override
         protected void projectOpened() {
             ClassPath[] sourceClasspaths = 
cpProvider.getProjectClassPaths(ClassPath.SOURCE);
@@ -302,7 +292,6 @@
 //                        new 
org.netbeans.modules.gsfpath.api.classpath.ClassPath[] { cp });
 //            }
         }
-
     }
 
     private static class AuxiliaryConfigurationImpl implements 
AuxiliaryConfiguration {
@@ -317,23 +306,20 @@
         public boolean removeConfigurationFragment(String elementName, 
String namespace, boolean shared) throws IllegalArgumentException {
             return false;
         }
-
     }
 
     private static final class RecommendedTemplatesImpl implements 
RecommendedTemplates, PrivilegedTemplates {
 
         // List of primarily supported templates
-
-        private static final String[] RECOMMENDED_TYPES = new String[] {
-            "groovy",               // NOI18N
-            "java-classes",         // NOI18N
-            "XML",                  // NOI18N
-            "simple-files"          // NOI18N
+        private static final String[] RECOMMENDED_TYPES = new String[]{
+            "groovy", // NOI18N
+            "java-classes", // NOI18N
+            "XML", // NOI18N
+            "simple-files" // NOI18N
         };
-
-        private static final String[] PRIVILEGED_NAMES = new String[] {
-//            TemplatesImpl.DOMAIN_CLASS,
-//            TemplatesImpl.CONTROLLER,
+        private static final String[] PRIVILEGED_NAMES = new String[]{
+            //            TemplatesImpl.DOMAIN_CLASS,
+            //            TemplatesImpl.CONTROLLER,
             TemplatesImpl.MVC_GROUP,
             TemplatesImpl.PLUGIN,
             //TemplatesImpl.SERVICE,
@@ -352,7 +338,6 @@
         public String[] getPrivilegedTemplates() {
             return PRIVILEGED_NAMES;
         }
-
     }
 
     private static final class GroovyFeatureImpl implements GroovyFeature {
@@ -360,7 +345,5 @@
         public boolean isGroovyEnabled() {
             return true;
         }
-
     }
-
 }
Index: 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/resources/layer.xml
===================================================================
--- 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/resources/layer.xml
       (revision 29)
+++ 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/resources/layer.xml
       (revision 30)
@@ -1,210 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" 
"http://www.netbeans.org/dtds/filesystem-1_2.dtd";>
-<filesystem>
-    <folder name="Actions">
-        <folder name="Build">
-            <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GenerateViewsAction.instance"/>
-            <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GenerateAllAction.instance"/>
-        </folder>
-        <folder name="Groovy">
-            <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GotoControllerAction.instance"/>
-            <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GotoDomainClassAction.instance"/>
-            <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GotoViewAction.instance"/>
-            <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GrailsCommandAction.instance"/>
-        </folder>
-    </folder>
-
-    <folder name="Loaders">
-        <folder name="text">
-            <folder name="x-groovy">
-                <folder name="Actions">
-                    <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GenerateViewsAction.shadow">
-                        <attr name="originalFile" 
stringvalue="Actions/Build/org-netbeans-modules-groovy-griffonproject-actions-GenerateViewsAction.instance"/>
-                        <attr name="position" intvalue="0"/>
-                    </file>
-                    <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GenerateAllAction.shadow">
-                        <attr name="originalFile" 
stringvalue="Actions/Build/org-netbeans-modules-groovy-griffonproject-actions-GenerateAllAction.instance"/>
-                        <attr name="position" intvalue="20"/>
-                    </file>
-                    <file 
name="org-netbeans-modules-groovy-griffonproject-actions-separatorAfter.instance">
-                        <attr name="instanceClass" 
stringvalue="javax.swing.JSeparator"/>
-                        <attr name="position" intvalue="50"/>
-                    </file>
-                    <file 
name="org-netbeans-modules-groovy-griffonproject-actions-separatorBefore.instance">
-                        <attr name="instanceClass" 
stringvalue="javax.swing.JSeparator"/>
-                        <attr name="position" intvalue="-100"/>
-                    </file>
-                </folder>
-            </folder>
-        </folder>
-    </folder>
-    <folder name="Menu">
-        <folder name="GoTo">
-            <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GotoControllerAction.shadow">
-                <attr name="originalFile" 
stringvalue="Actions/Groovy/org-netbeans-modules-groovy-griffonproject-actions-GotoControllerAction.instance"/>
-                <attr name="position" intvalue="550"/>
-            </file>
-            <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GotoViewAction.shadow">
-                <attr name="originalFile" 
stringvalue="Actions/Groovy/org-netbeans-modules-groovy-griffonproject-actions-GotoViewAction.instance"/>
-                <attr name="position" intvalue="575"/>
-            </file>
-        </folder>
-    </folder>
-    <folder name="Templates">
-        <folder name="Project">
-            <folder name="Groovy">
-                <attr name="SystemFileSystem.localizingBundle" 
stringvalue="org.netbeans.modules.groovy.griffonproject.ui.wizards.Bundle"/>
-                <attr name="instantiatingWizardURL" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/desktop.html"/>
-                <attr name="position" intvalue="825"/>
-                <file name="emptyGriffon.xml">
-                    <attr name="position" intvalue="400"/>
-                    <attr name="template" boolvalue="true"/>
-                    <attr name="instantiatingIterator" 
methodvalue="org.netbeans.modules.groovy.griffonproject.ui.wizards.NewGrailsProjectWizardIterator.create"/>
-                    <attr name="SystemFileSystem.localizingBundle" 
stringvalue="org.netbeans.modules.groovy.griffonproject.ui.wizards.Bundle"/>
-                    <attr name="SystemFileSystem.icon" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/GriffonIcon16x16.png"/>
-                    <attr name="instantiatingWizardURL" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/emptyProject.html"/>
-                </file>
-            </folder>
-        </folder>
-        <folder name="Groovy">
-         <!--   <file name="GriffonDomainClass.groovy">
-                <attr name="position" intvalue="130"/>
-                <attr name="template" boolvalue="true"/>
-                <attr name="templateCategory" stringvalue="groovy"/>
-                <attr name="instantiatingIterator" 
methodvalue="org.netbeans.modules.groovy.griffonproject.templates.GrailsTemplates.createArtifactIterator"/>
-                <attr name="SystemFileSystem.localizingBundle" 
stringvalue="org.netbeans.modules.groovy.griffonproject.ui.wizards.Bundle"/>
-                <attr name="SystemFileSystem.icon" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/GriffonIcon16x16.png"/>
-                <attr name="instantiatingWizardURL" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/DomainClass.html"/>
-            </file>
-            <file name="GriffonController.groovy">
-                <attr name="position" intvalue="140"/>
-                <attr name="template" boolvalue="true"/>
-                <attr name="templateCategory" stringvalue="groovy"/>
-                <attr name="instantiatingIterator" 
methodvalue="org.netbeans.modules.groovy.griffonproject.templates.GrailsTemplates.createArtifactIterator"/>
-                <attr name="SystemFileSystem.localizingBundle" 
stringvalue="org.netbeans.modules.groovy.griffonproject.ui.wizards.Bundle"/>
-                <attr name="SystemFileSystem.icon" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/GriffonIcon16x16.png"/>
-                <attr name="instantiatingWizardURL" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/Controller.html"/>
-            </file>-->
-            <file name="GriffonMVC.groovy">
-                <attr name="position" intvalue="100"/>
-                <attr name="template" boolvalue="true"/>
-                <attr name="templateCategory" stringvalue="groovy"/>
-                <attr name="instantiatingIterator" 
methodvalue="org.netbeans.modules.groovy.griffonproject.templates.GrailsTemplates.createArtifactIterator"/>
-                <attr name="SystemFileSystem.localizingBundle" 
stringvalue="org.netbeans.modules.groovy.griffonproject.ui.wizards.Bundle"/>
-                <attr name="SystemFileSystem.icon" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/GriffonIcon16x16.png"/>
-                <attr name="instantiatingWizardURL" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/Mvc.html"/>
-            </file>
-            <file name="GriffonUnitTest.groovy">
-                <attr name="position" intvalue="150"/>
-                <attr name="template" boolvalue="true"/>
-                <attr name="templateCategory" stringvalue="groovy"/>
-                <attr name="instantiatingIterator" 
methodvalue="org.netbeans.modules.groovy.griffonproject.templates.GrailsTemplates.createArtifactIterator"/>
-                <attr name="SystemFileSystem.localizingBundle" 
stringvalue="org.netbeans.modules.groovy.griffonproject.ui.wizards.Bundle"/>
-                <attr name="SystemFileSystem.icon" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/GriffonIcon16x16.png"/>
-                <attr name="instantiatingWizardURL" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/UnitTest.html"/>
-            </file>
-            <file name="GriffonIntegrationTest.groovy">
-                <attr name="position" intvalue="200"/>
-                <attr name="template" boolvalue="true"/>
-                <attr name="templateCategory" stringvalue="groovy"/>
-                <attr name="instantiatingIterator" 
methodvalue="org.netbeans.modules.groovy.griffonproject.templates.GrailsTemplates.createArtifactIterator"/>
-                <attr name="SystemFileSystem.localizingBundle" 
stringvalue="org.netbeans.modules.groovy.griffonproject.ui.wizards.Bundle"/>
-                <attr name="SystemFileSystem.icon" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/GriffonIcon16x16.png"/>
-                <attr name="instantiatingWizardURL" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/IntegrationTest.html"/>
-            </file>
-            <file name="GriffonCreatePlugin.groovy">
-                <attr name="position" intvalue="250"/>
-                <attr name="template" boolvalue="true"/>
-                <attr name="templateCategory" stringvalue="groovy"/>
-                <attr name="instantiatingIterator" 
methodvalue="org.netbeans.modules.groovy.griffonproject.templates.GrailsTemplates.createArtifactIterator"/>
-                <attr name="SystemFileSystem.localizingBundle" 
stringvalue="org.netbeans.modules.groovy.griffonproject.ui.wizards.Bundle"/>
-                <attr name="SystemFileSystem.icon" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/GriffonIcon16x16.png"/>
-                <attr name="instantiatingWizardURL" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/CreatePlugin.html"/>
-            </file>
-          
-      <!--      <file name="GriffonService.groovy">
-                <attr name="position" intvalue="170"/>
-                <attr name="template" boolvalue="true"/>
-                <attr name="templateCategory" stringvalue="groovy"/>
-                <attr name="instantiatingIterator" 
methodvalue="org.netbeans.modules.groovy.griffonproject.templates.GrailsTemplates.createArtifactIterator"/>
-                <attr name="SystemFileSystem.localizingBundle" 
stringvalue="org.netbeans.modules.groovy.griffonproject.ui.wizards.Bundle"/>
-                <attr name="SystemFileSystem.icon" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/GriffonIcon16x16.png"/>
-                <attr name="instantiatingWizardURL" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/Service.html"/>
-            </file>
-            <file name="GriffonTagLib.groovy">
-                <attr name="position" intvalue="180"/>
-                <attr name="template" boolvalue="true"/>
-                <attr name="templateCategory" stringvalue="groovy"/>
-                <attr name="instantiatingIterator" 
methodvalue="org.netbeans.modules.groovy.griffonproject.templates.GrailsTemplates.createArtifactIterator"/>
-                <attr name="SystemFileSystem.localizingBundle" 
stringvalue="org.netbeans.modules.groovy.griffonproject.ui.wizards.Bundle"/>
-                <attr name="SystemFileSystem.icon" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/GriffonIcon16x16.png"/>
-                <attr name="instantiatingWizardURL" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/TagLib.html"/>
-            </file> -->
-
-        </folder>
-    </folder>
-    
-    <folder name="Projects">
-        <folder name="org-netbeans-modules-groovy-griffonproject">
-            <folder name="Customizer">
-                <file name="General.instance">
-                    <attr name="instanceCreate" 
methodvalue="org.netbeans.modules.groovy.griffonproject.ui.customizer.GrailsProjectCustomizerProvider.createGeneral"/>
-                    <attr name="position" intvalue="100"/>
-                </file>
-                <file name="Libraries.instance">
-                    <attr name="instanceCreate" 
methodvalue="org.netbeans.modules.groovy.griffonproject.ui.customizer.GrailsProjectCustomizerProvider.createLibraries"/>
-                    <attr name="position" intvalue="150"/>
-                </file>
-                <file name="Debugging.instance">
-                    <attr name="instanceCreate" 
methodvalue="org.netbeans.modules.groovy.griffonproject.ui.customizer.GrailsProjectCustomizerProvider.createDebugging"/>
-                    <attr name="position" intvalue="200"/>
-                </file>
-                <file name="Formatting.instance">
-                    <attr name="instanceOf" 
stringvalue="org.netbeans.spi.project.ui.support.ProjectCustomizer$CompositeCategoryProvider"/>
-                    <attr name="instanceCreate" 
methodvalue="org.netbeans.modules.options.indentation.FormattingCustomizerPanel.createCategoryProvider"/>
-                    <attr name="allowedMimeTypes" 
stringvalue="text/x-groovy,text/x-java"/>
-                    <attr name="position" intvalue="1000"/>
-                </file>
-            </folder>
-
-            <folder name="Lookup"/>
-            
-        </folder>
-    </folder>
-
-    <folder name="Editors">
-        <folder name="text">
-            <folder name="x-groovy">
-                <folder name="Popup">
-                    <folder name="goto">
-                        <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GotoViewAction.shadow">
-                            <attr name="originalFile" 
stringvalue="Actions/Groovy/org-netbeans-modules-groovy-griffonproject-actions-GotoViewAction.instance"/>
-                            <attr name="position" intvalue="100"/>
-                        </file>
-                        <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GotoControllerAction.shadow">
-                            <attr name="originalFile" 
stringvalue="Actions/Groovy/org-netbeans-modules-groovy-griffonproject-actions-GotoControllerAction.instance"/>
-                            <attr name="position" intvalue="150"/>
-                        </file>
-                    </folder>
-                </folder>
-            </folder>
-            <folder name="x-gsp">
-                <folder name="Popup">
-                    <folder name="goto">
-                        <attr name="SystemFileSystem.localizingBundle" 
stringvalue="org.netbeans.modules.groovy.griffonproject.Bundle"/>
-                        <attr name="position" intvalue="100"/>
-                        <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GotoViewAction.shadow">
-                            <attr name="originalFile" 
stringvalue="Actions/Groovy/org-netbeans-modules-groovy-griffonproject-actions-GotoViewAction.instance"/>
-                            <attr name="position" intvalue="100"/>
-                        </file>
-                        <file 
name="org-netbeans-modules-groovy-griffonproject-actions-GotoControllerAction.shadow">
-                            <attr name="originalFile" 
stringvalue="Actions/Groovy/org-netbeans-modules-groovy-griffonproject-actions-GotoControllerAction.instance"/>
-                            <attr name="position" intvalue="150"/>
-                        </file>
-                    </folder>
-                </folder>
-            </folder>
-        </folder>
-    </folder>
-
-</filesystem>
Index: 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/layer.xml
===================================================================
--- 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/layer.xml
 (revision 29)
+++ 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/layer.xml
 (revision 30)
@@ -66,7 +66,7 @@
             </folder>
         </folder>
         <folder name="Groovy">
-         <!--   <file name="GriffonDomainClass.groovy">
+            <!--   <file name="GriffonDomainClass.groovy">
                 <attr name="position" intvalue="130"/>
                 <attr name="template" boolvalue="true"/>
                 <attr name="templateCategory" stringvalue="groovy"/>
@@ -121,7 +121,7 @@
                 <attr name="instantiatingWizardURL" 
urlvalue="nbresloc:/org/netbeans/modules/groovy/griffonproject/resources/CreatePlugin.html"/>
             </file>
 
-      <!--      <file name="GriffonService.groovy">
+            <!--      <file name="GriffonService.groovy">
                 <attr name="position" intvalue="170"/>
                 <attr name="template" boolvalue="true"/>
                 <attr name="templateCategory" stringvalue="groovy"/>
@@ -143,6 +143,24 @@
         </folder>
     </folder>
 
+    <folder name="Projects">
+    <folder name="org-netbeans-modules-groovy-griffonproject">
+        <folder name="Customizer">
+            <file name="General.instance">
+                <attr name="instanceCreate" 
methodvalue="org.netbeans.modules.groovy.griffonproject.ui.customizer.GriffonProjectCustomizerProvider.createGeneral"/>
+                <attr name="position" intvalue="100"/>
+            </file>
+            <file name="Libraries.instance">
+                <attr name="instanceCreate" 
methodvalue="org.netbeans.modules.groovy.griffonproject.ui.customizer.GriffonProjectCustomizerProvider.createLibraries"/>
+                <attr name="position" intvalue="150"/>
+            </file>
+        </folder>
+
+        <folder name="Lookup"/>
+
+        </folder>
+    </folder>
+
     <folder name="Editors">
         <folder name="text">
             <folder name="x-groovy">
Index: 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/GrailsLogicalViewProvider.java
===================================================================
--- 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/GrailsLogicalViewProvider.java
 (revision 29)
+++ 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/GrailsLogicalViewProvider.java
 (revision 30)
@@ -194,8 +194,8 @@
             // honor 57874 contact
             actions.addAll(Utilities.actionsForPath("Projects/Actions")); 
//NOI18N
 
-            //  actions.add(null);
-            //  actions.add(CommonProjectActions.customizeProjectAction());
+              actions.add(null);
+              actions.add(CommonProjectActions.customizeProjectAction());
 
             return actions.toArray(new Action[actions.size()]);
 
Index: 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/GriffonProjectCustomizerProvider.java
===================================================================
--- 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/GriffonProjectCustomizerProvider.java
       (revision 0)
+++ 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/GriffonProjectCustomizerProvider.java
       (revision 30)
@@ -0,0 +1,167 @@
+/*
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+ * 
+ * Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
+ * 
+ * The contents of this file are subject to the terms of either the GNU
+ * General Public License Version 2 only ("GPL") or the Common
+ * Development and Distribution License("CDDL") (collectively, the
+ * "License"). You may not use this file except in compliance with the
+ * License. You can obtain a copy of the License at
+ * http://www.netbeans.org/cddl-gplv2.html
+ * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
+ * specific language governing permissions and limitations under the
+ * License.  When distributing the software, include this License Header
+ * Notice in each file and include the License file at
+ * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the GPL Version 2 section of the License file that
+ * accompanied this code. If applicable, add the following below the
+ * License Header, with the fields enclosed by brackets [] replaced by
+ * your own identifying information:
+ * "Portions Copyrighted [year] [name of copyright owner]"
+ * 
+ * Contributor(s):
+ * 
+ * Portions Copyrighted 2007 Sun Microsystems, Inc.
+ */
+
+package org.netbeans.modules.groovy.griffonproject.ui.customizer;
+
+import java.awt.Dialog;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.WindowAdapter;
+import java.awt.event.WindowEvent;
+import javax.swing.JComponent;
+import org.netbeans.api.project.Project;
+import org.netbeans.api.project.ProjectUtils;
+import org.netbeans.spi.project.ui.CustomizerProvider;
+import org.netbeans.spi.project.ui.support.ProjectCustomizer;
+import org.netbeans.spi.project.ui.support.ProjectCustomizer.Category;
+import org.openide.util.Lookup;
+import org.openide.util.NbBundle;
+import org.openide.util.lookup.Lookups;
+
+
+/**
+ *
+ * @author schmidtm
+ */
+public class GriffonProjectCustomizerProvider implements CustomizerProvider {
+
+    public static final String CUSTOMIZER_FOLDER_PATH = 
"Projects/org-netbeans-modules-groovy-griffonproject/Customizer"; //NO18N
+
+    // Names of categories
+    private static final String GENERAL_CATEGORY = "GeneralCategory";
+    private static final String LIBRARIES_CATEGORY = "LibrariesCategory";
+//    private static final String DEBUG_CATEGORY = "DebugCategory"; // NOI18N
+    
+    private final Project project;
+    
+    public GriffonProjectCustomizerProvider(Project project) {
+        this.project = project;
+    }
+    
+    public void showCustomizer() {
+        showCustomizer(null);
+    }
+
+    public void showCustomizer(String preselectedCategory) {
+        GriffonProjectProperties uiProperties = new 
GriffonProjectProperties(project);
+        Lookup context = Lookups.fixed(project, uiProperties);
+        OptionListener optionListener = new OptionListener(project);
+        StoreListener storeListener = new StoreListener(uiProperties);
+        Dialog dialog = 
ProjectCustomizer.createCustomizerDialog(CUSTOMIZER_FOLDER_PATH, context, 
preselectedCategory,
+                optionListener, storeListener, null);
+        dialog.addWindowListener(optionListener);
+        
dialog.setTitle(ProjectUtils.getInformation(project).getDisplayName());
+        dialog.setVisible(true);
+    }
+
+    private class OptionListener extends WindowAdapter implements 
ActionListener {
+        private Project project;
+
+        OptionListener(Project project) {
+            this.project = project;
+        }
+
+        public void actionPerformed(ActionEvent e) {
+            // Close and dispose the dialog
+            }
+
+        @Override
+        public void windowClosed(WindowEvent e) {
+
+        }
+
+        @Override
+        public void windowClosing(WindowEvent e) {
+            // Close and dispose the dialog
+        }
+    }
+    
+    // used from XML layer
+    public static ProjectCustomizer.CompositeCategoryProvider 
createGeneral() {
+        return new ProjectCustomizer.CompositeCategoryProvider() {
+            public Category createCategory(Lookup context) {
+                return ProjectCustomizer.Category.create(
+                    GENERAL_CATEGORY,
+                    
NbBundle.getMessage(GriffonProjectCustomizerProvider.class, 
"LBL_GeneralSettings"), //NOI18N
+                    null);
+            }
+
+            public JComponent createComponent(Category category, Lookup 
context) {
+                return new 
GeneralCustomizerPanel(context.lookup(GriffonProjectProperties.class));
+            }
+        };
+    }
+
+    // used from XML layer
+    public static ProjectCustomizer.CompositeCategoryProvider 
createLibraries() {
+        return new ProjectCustomizer.CompositeCategoryProvider() {
+            public Category createCategory(Lookup context) {
+                return ProjectCustomizer.Category.create(
+                    LIBRARIES_CATEGORY,
+                    
NbBundle.getMessage(GriffonProjectCustomizerProvider.class, "LBL_Libraries"), 
//NOI18N
+                    null);
+            }
+
+            public JComponent createComponent(Category category, Lookup 
context) {
+                return new 
LibrariesCustomizerPanel(context.lookup(GriffonProjectProperties.class));
+            }
+        };
+    }
+
+    // used from XML layer
+//    public static ProjectCustomizer.CompositeCategoryProvider 
createDebugging() {
+//        return new ProjectCustomizer.CompositeCategoryProvider() {
+//            public Category createCategory(Lookup context) {
+////                if (WebClientToolsSessionStarterService.isAvailable()) {
+////                    return ProjectCustomizer.Category.create(
+////                        DEBUG_CATEGORY,
+////                        
NbBundle.getMessage(GrailsProjectCustomizerProvider.class, "DEBUG_CATEGORY"), 
// NOI18N
+////                        null);
+////                } else {
+////                    return null;
+////                }
+//            }
+//
+//            public JComponent createComponent(Category category, Lookup 
context) {
+//                return new 
DebugCustomizerPanel(context.lookup(GrailsProjectProperties.class));
+//            }
+//        };
+//    }
+
+    private class StoreListener implements ActionListener {
+        private final GriffonProjectProperties uiProperties;
+
+        StoreListener(GriffonProjectProperties uiProperties) {
+            this.uiProperties = uiProperties;
+        }
+
+        public void actionPerformed(ActionEvent e) {
+            uiProperties.save();
+        }
+    }
+}
Index: 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/LibrariesCustomizerPanel.java
===================================================================
--- 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/LibrariesCustomizerPanel.java
       (revision 0)
+++ 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/LibrariesCustomizerPanel.java
       (revision 30)
@@ -0,0 +1,140 @@
+/*
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+ *
+ * Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
+ *
+ * The contents of this file are subject to the terms of either the GNU
+ * General Public License Version 2 only ("GPL") or the Common
+ * Development and Distribution License("CDDL") (collectively, the
+ * "License"). You may not use this file except in compliance with the
+ * License. You can obtain a copy of the License at
+ * http://www.netbeans.org/cddl-gplv2.html
+ * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
+ * specific language governing permissions and limitations under the
+ * License.  When distributing the software, include this License Header
+ * Notice in each file and include the License file at
+ * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the GPL Version 2 section of the License file that
+ * accompanied this code. If applicable, add the following below the
+ * License Header, with the fields enclosed by brackets [] replaced by
+ * your own identifying information:
+ * "Portions Copyrighted [year] [name of copyright owner]"
+ *
+ * Contributor(s):
+ *
+ * The Original Software is NetBeans. The Initial Developer of the Original
+ * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
+ * Microsystems, Inc. All Rights Reserved.
+ *
+ * If you wish your version of this file to be governed by only the CDDL
+ * or only the GPL Version 2, indicate your decision by adding
+ * "[Contributor] elects to include this software in this distribution
+ * under the [CDDL or GPL Version 2] license." If you do not indicate a
+ * single choice of license, a recipient has the option to distribute
+ * your version of this file under either the CDDL, the GPL Version 2 or
+ * to extend the choice of license to its licensees as provided above.
+ * However, if you add GPL Version 2 code and therefore, elected the GPL
+ * Version 2 license, then the option applies only if the new code is
+ * made subject to such option by the copyright holder.
+ */
+
+package org.netbeans.modules.groovy.griffonproject.ui.customizer;
+
+import javax.swing.JPanel;
+import org.netbeans.api.java.platform.JavaPlatform;
+import org.netbeans.api.java.platform.PlatformsCustomizer;
+import org.netbeans.modules.java.api.common.ui.PlatformUiSupport;
+import org.openide.util.HelpCtx;
+
+/** Customizer for general project attributes.
+ *
+ * @author  phrebejk
+ */
+public class LibrariesCustomizerPanel extends JPanel implements 
HelpCtx.Provider {
+
+    private final GriffonProjectProperties uiProperties;
+
+    LibrariesCustomizerPanel(GriffonProjectProperties uiProperties) {
+        this.uiProperties = uiProperties;
+
+        initComponents();
+
+        jComboBoxTarget.setModel(uiProperties.getJavaPlatformModel());
+        jComboBoxTarget.setRenderer(uiProperties.getJavaPlatformRenderer());
+        jComboBoxTarget.putClientProperty("JComboBox.isTableCellEditor", 
Boolean.TRUE);    //NOI18N
+        jComboBoxTarget.addItemListener(new java.awt.event.ItemListener(){
+            public void itemStateChanged(java.awt.event.ItemEvent e){
+                javax.swing.JComboBox combo = 
(javax.swing.JComboBox)e.getSource();
+                combo.setPopupVisible(false);
+            }
+        });
+    }
+
+    // Implementation of HelpCtx.Provider 
--------------------------------------
+
+    public HelpCtx getHelpCtx() {
+        return new HelpCtx(LibrariesCustomizerPanel.class);
+    }
+
+    /** This method is called from within the constructor to
+     * initialize the form.
+     * WARNING: Do NOT modify this code. The content of this method is
+     * always regenerated by the Form Editor.
+     */
+    // <editor-fold defaultstate="collapsed" desc="Generated 
Code">//GEN-BEGIN:initComponents
+    private void initComponents() {
+
+        jLabelTarget = new javax.swing.JLabel();
+        jComboBoxTarget = new javax.swing.JComboBox();
+        jButton1 = new javax.swing.JButton();
+
+        jLabelTarget.setLabelFor(jComboBoxTarget);
+        org.openide.awt.Mnemonics.setLocalizedText(jLabelTarget, 
org.openide.util.NbBundle.getMessage(LibrariesCustomizerPanel.class, 
"LBL_CustomizeGeneral_Platform_JLabel")); // NOI18N
+
+        
jComboBoxTarget.setMinimumSize(this.jComboBoxTarget.getPreferredSize());
+
+        org.openide.awt.Mnemonics.setLocalizedText(jButton1, 
org.openide.util.NbBundle.getMessage(LibrariesCustomizerPanel.class, 
"LBL_CustomizeGeneral_Platform_JButton")); // NOI18N
+        jButton1.addActionListener(new java.awt.event.ActionListener() {
+            public void actionPerformed(java.awt.event.ActionEvent evt) {
+                createNewPlatform(evt);
+            }
+        });
+
+        org.jdesktop.layout.GroupLayout layout = new 
org.jdesktop.layout.GroupLayout(this);
+        this.setLayout(layout);
+        layout.setHorizontalGroup(
+            
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+            .add(layout.createSequentialGroup()
+                .add(jLabelTarget)
+                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+                .add(jComboBoxTarget, 0, 317, Short.MAX_VALUE)
+                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+                .add(jButton1))
+        );
+        layout.setVerticalGroup(
+            
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+            
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+                .add(jLabelTarget)
+                .add(jButton1)
+                .add(jComboBoxTarget, 
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+        );
+
+        
jLabelTarget.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(LibrariesCustomizerPanel.class,
 "ACSD_CustomizerGeneral_jLabelTarget")); // NOI18N
+        
jButton1.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(LibrariesCustomizerPanel.class,
 "ACSD_CustomizerGeneral_jButton1")); // NOI18N
+    }// </editor-fold>//GEN-END:initComponents
+
+    private void createNewPlatform(java.awt.event.ActionEvent evt) 
{//GEN-FIRST:event_createNewPlatform
+        Object selectedItem = this.jComboBoxTarget.getSelectedItem();
+        JavaPlatform jp = (selectedItem == null ? null : 
PlatformUiSupport.getPlatform(selectedItem));
+        PlatformsCustomizer.showCustomizer(jp);
+    }//GEN-LAST:event_createNewPlatform
+
+
+    // Variables declaration - do not modify//GEN-BEGIN:variables
+    private javax.swing.JButton jButton1;
+    private javax.swing.JComboBox jComboBoxTarget;
+    private javax.swing.JLabel jLabelTarget;
+    // End of variables declaration//GEN-END:variables
+
+}
Index: 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/GeneralCustomizerPanel.java
===================================================================
--- 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/GeneralCustomizerPanel.java
 (revision 0)
+++ 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/GeneralCustomizerPanel.java
 (revision 30)
@@ -0,0 +1,119 @@
+/*
+ * GeneralCustomizerPanel.java
+ *
+ * Created on September 28, 2007, 3:19 PM
+ */
+
+package org.netbeans.modules.groovy.griffonproject.ui.customizer;
+
+import javax.swing.event.DocumentEvent;
+import javax.swing.event.DocumentListener;
+import javax.swing.text.Document;
+import org.openide.filesystems.FileUtil;
+import org.openide.util.HelpCtx;
+import org.openide.util.NbBundle;
+
+/**
+ *
+ * @author  schmidtm
+ */
+public class GeneralCustomizerPanel extends javax.swing.JPanel implements 
HelpCtx.Provider, DocumentListener {
+
+    private final GriffonProjectProperties uiProperties;
+
+    /** Creates new form GeneralCustomizerPanel */
+    public GeneralCustomizerPanel(GriffonProjectProperties uiProperties) {
+        this.uiProperties = uiProperties;
+
+        initComponents();
+
+        
projectFolderTextField.setText(FileUtil.getFileDisplayName(uiProperties.getProject().getProjectDirectory()));
+
+        // populating the port field
+
+//        grailsServerPort.getDocument().addDocumentListener(this);
+//        grailsServerPort.setText(uiProperties.getPort());
+
+//        vmOptionsTextField.getDocument().addDocumentListener(this);
+//        vmOptionsTextField.setText(uiProperties.getVmOptions());
+
+        // Here we define the indexes for the default enviroments as this:
+        // 0 : "Development",
+        // 1 : "Production",
+        // 2 : "Test"
+
+//        grailsEnvChooser.setModel(uiProperties.getEnvironmentModel());
+//        
grailsDisplayBrowser.setModel(uiProperties.getDisplayBrowserModel());
+    }
+
+    public HelpCtx getHelpCtx() {
+        return new HelpCtx(GeneralCustomizerPanel.class);
+    }
+
+
+
+    /** This method is called from within the constructor to
+     * initialize the form.
+     * WARNING: Do NOT modify this code. The content of this method is
+     * always regenerated by the Form Editor.
+     */
+    // <editor-fold defaultstate="collapsed" desc="Generated 
Code">//GEN-BEGIN:initComponents
+    private void initComponents() {
+
+        projectFolderLabel = new javax.swing.JLabel();
+        projectFolderTextField = new javax.swing.JTextField();
+
+        
projectFolderLabel.setText(org.openide.util.NbBundle.getMessage(GeneralCustomizerPanel.class,
 "GeneralCustomizerPanel.projectFolderLabel.text")); // NOI18N
+
+        projectFolderTextField.setEditable(false);
+        
projectFolderTextField.setText(org.openide.util.NbBundle.getMessage(GeneralCustomizerPanel.class,
 "GeneralCustomizerPanel.projectFolderTextField.text")); // NOI18N
+
+        org.jdesktop.layout.GroupLayout layout = new 
org.jdesktop.layout.GroupLayout(this);
+        this.setLayout(layout);
+        layout.setHorizontalGroup(
+            
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+            .add(layout.createSequentialGroup()
+                .add(projectFolderLabel)
+                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+                .add(projectFolderTextField, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 505, Short.MAX_VALUE))
+        );
+        layout.setVerticalGroup(
+            
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+            .add(layout.createSequentialGroup()
+                
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+                    .add(projectFolderLabel)
+                    .add(projectFolderTextField, 
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+                .add(168, 168, 168))
+        );
+    }// </editor-fold>//GEN-END:initComponents
+
+
+    // Variables declaration - do not modify//GEN-BEGIN:variables
+    private javax.swing.JLabel projectFolderLabel;
+    private javax.swing.JTextField projectFolderTextField;
+    // End of variables declaration//GEN-END:variables
+
+    public void insertUpdate(DocumentEvent e) {
+        updateTexts(e);
+    }
+
+    public void removeUpdate(DocumentEvent e) {
+        updateTexts(e);
+    }
+
+    public void changedUpdate(DocumentEvent e) {
+        updateTexts(e);
+    }
+
+    private void updateTexts( DocumentEvent e ) {
+        Document doc = e.getDocument();
+
+        // FIXME proper document model would be better
+//        if (doc == grailsServerPort.getDocument()) {
+//            uiProperties.setPort(grailsServerPort.getText().trim());
+//        } else if (doc == vmOptionsTextField.getDocument()) {
+//            uiProperties.setVmOptions(vmOptionsTextField.getText().trim());
+//        }
+    }
+
+}
Index: 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/LibrariesCustomizerPanel.form
===================================================================
--- 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/LibrariesCustomizerPanel.form
       (revision 0)
+++ 
GriffonSuite/groovy.griffonproject/src/org/netbeans/modules/groovy/griffonproject/ui/customizer/LibrariesCustomizerPanel.form
       (revision 30)
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<Form version="1.2" maxVersion="1.2" 
type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
+  <AuxValues>
+    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" 
value="0"/>
+    <AuxValue name="FormSettings_autoSetComponentName" 
type="java.lang.Boolean" value="false"/>
+    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" 
value="true"/>
+    <AuxValue name="FormSettings_generateMnemonicsCode" 
type="java.lang.Boolean" value="true"/>
+    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" 
value="false"/>
+    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" 
value="2"/>
+    <AuxValue name="FormSettings_listenerGenerationStyle" 
type="java.lang.Integer" value="0"/>
+    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" 
value="false"/>
+    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" 
value="2"/>
+  </AuxValues>
+
+  <Layout>
+    <DimensionLayout dim="0">
+      <Group type="103" groupAlignment="0" attributes="0">
+          <Group type="102" alignment="0" attributes="0">
+              <Component id="jLabelTarget" min="-2" max="-2" attributes="0"/>
+              <EmptySpace min="-2" max="-2" attributes="0"/>
+              <Component id="jComboBoxTarget" pref="317" max="32767" 
attributes="2"/>
+              <EmptySpace max="-2" attributes="0"/>
+              <Component id="jButton1" min="-2" max="-2" attributes="1"/>
+          </Group>
+      </Group>
+    </DimensionLayout>
+    <DimensionLayout dim="1">
+      <Group type="103" groupAlignment="0" attributes="0">
+          <Group type="103" groupAlignment="3" attributes="0">
+              <Component id="jLabelTarget" alignment="3" min="-2" max="-2" 
attributes="0"/>
+              <Component id="jButton1" alignment="3" min="-2" max="-2" 
attributes="0"/>
+              <Component id="jComboBoxTarget" alignment="3" min="-2" 
max="-2" attributes="0"/>
+          </Group>
+      </Group>
+    </DimensionLayout>
+  </Layout>
+  <SubComponents>
+    <Component class="javax.swing.JLabel" name="jLabelTarget">
+      <Properties>
+        <Property name="labelFor" type="java.awt.Component" 
editor="org.netbeans.modules.form.ComponentChooserEditor">
+          <ComponentRef name="jComboBoxTarget"/>
+        </Property>
+        <Property name="text" type="java.lang.String" 
editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+          <ResourceString 
bundle="org/netbeans/modules/groovy/grailsproject/ui/customizer/Bundle.properties"
 key="LBL_CustomizeGeneral_Platform_JLabel" 
replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, 
&quot;{key}&quot;)"/>
+        </Property>
+      </Properties>
+      <AccessibilityProperties>
+        <Property name="AccessibleContext.accessibleDescription" ty
[truncated due to length]



[nbgriffonsuite~subversion:30] adding project properties dialog

GWiel 12/21/2009
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close