Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Besedin2008-07-09 14:54:13 +0000
committerOleg Besedin2008-07-09 14:54:13 +0000
commitefbcc3401e49814ad2d91e368701e7a475554a34 (patch)
tree69bb47dfd1f5dcaf4bbdf55e760a4b30ee7a48f3 /bundles/org.eclipse.equinox.security
parentbc429788dbdcf9dd3ed46cded9f23332e5c9a227 (diff)
downloadrt.equinox.bundles-efbcc3401e49814ad2d91e368701e7a475554a34.tar.gz
rt.equinox.bundles-efbcc3401e49814ad2d91e368701e7a475554a34.tar.xz
rt.equinox.bundles-efbcc3401e49814ad2d91e368701e7a475554a34.zip
Bug 235857 Enablement of the Save button on the Secure Storage preference page
Diffstat (limited to 'bundles/org.eclipse.equinox.security')
-rw-r--r--bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/friends/InternalExchangeUtils.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/friends/InternalExchangeUtils.java b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/friends/InternalExchangeUtils.java
index 5ee5a6179..fe954432a 100644
--- a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/friends/InternalExchangeUtils.java
+++ b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/friends/InternalExchangeUtils.java
@@ -135,6 +135,11 @@ public class InternalExchangeUtils {
return password;
}
+ static public boolean isModified(ISecurePreferences node) {
+ SecurePreferencesRoot rootData = ((SecurePreferencesWrapper) node).getContainer().getRootData();
+ return rootData.isModified();
+ }
+
/**
* This is a bit of a strange code that tries to determine if we are running in a JUnit
*/

Back to the top