# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /home/theofanis/repositories/core-main
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: groovy.grails/manifest.mf
--- groovy.grails/manifest.mf
+++ groovy.grails/manifest.mf
@@ -3,5 +3,5 @@
OpenIDE-Module: org.netbeans.modules.groovy.grails
OpenIDE-Module-Layer: org/netbeans/modules/groovy/grails/resources/layer.xml
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/groovy/grails/resources/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.38
+OpenIDE-Module-Specification-Version: 1.39
Index: groovy.grails/nbproject/project.xml
--- groovy.grails/nbproject/project.xml
+++ groovy.grails/nbproject/project.xml
@@ -28,7 +28,7 @@
- 1.4
+ 1.34
Index: groovy.grails/src/org/netbeans/modules/groovy/grails/settings/GrailsRuntimePanel.java
--- groovy.grails/src/org/netbeans/modules/groovy/grails/settings/GrailsRuntimePanel.java
+++ groovy.grails/src/org/netbeans/modules/groovy/grails/settings/GrailsRuntimePanel.java
@@ -204,6 +204,12 @@
return true;
}
+ @Override
+ public boolean changed() {
+ String grailsBase = settings.getGrailsBase();
+ return !grailsHomeLocation.getText().equals(grailsBase == null ? "" : grailsBase);
+ }
+
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton chooseDir;
private javax.swing.JTextField grailsHomeLocation;
Index: groovy.support/manifest.mf
--- groovy.support/manifest.mf
+++ groovy.support/manifest.mf
@@ -3,5 +3,5 @@
OpenIDE-Module: org.netbeans.modules.groovy.support
OpenIDE-Module-Layer: org/netbeans/modules/groovy/support/resources/layer.xml
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/groovy/support/resources/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.33
+OpenIDE-Module-Specification-Version: 1.34
OpenIDE-Module-Needs: javax.script.ScriptEngine.freemarker
Index: groovy.support/src/org/netbeans/modules/groovy/support/options/SupportOptionsPanelController.java
--- groovy.support/src/org/netbeans/modules/groovy/support/options/SupportOptionsPanelController.java
+++ groovy.support/src/org/netbeans/modules/groovy/support/options/SupportOptionsPanelController.java
@@ -95,7 +95,7 @@
@Override
public boolean isChanged() {
- return changed;
+ return getPanel().changed();
}
@Override
Index: groovy.support/src/org/netbeans/modules/groovy/support/options/SupportPanel.java
--- groovy.support/src/org/netbeans/modules/groovy/support/options/SupportPanel.java
+++ groovy.support/src/org/netbeans/modules/groovy/support/options/SupportPanel.java
@@ -254,6 +254,21 @@
return true;
}
+ boolean changed() {
+ String text = GroovySettings.getInstance().getGroovyDoc();
+ if (text == null) {
+ text = "";
+ }
+ if (!text.equals(groovyDocTextField.getText().trim())) {
+ return true;
+ }
+ boolean isChanged = false;
+ for (GroovyOptionsSubpanel subpanel: this.subpanels) {
+ isChanged |= subpanel.changed();
+ }
+ return isChanged;
+ }
+
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton chooseDocButton;
private javax.swing.JLabel docLabel;
Index: groovy.support/src/org/netbeans/modules/groovy/support/spi/GroovyOptionsSubpanel.java
--- groovy.support/src/org/netbeans/modules/groovy/support/spi/GroovyOptionsSubpanel.java
+++ groovy.support/src/org/netbeans/modules/groovy/support/spi/GroovyOptionsSubpanel.java
@@ -60,4 +60,5 @@
boolean valid();
+ boolean changed();
}