Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames2002-05-14 14:50:37 -0400
committerjames2002-05-14 14:50:37 -0400
commitdcc249b8827c12e2d1ceeee13aec3f92d851a22e (patch)
treedc339058baac222a91281471d9310902c97377d7 /bundles/org.eclipse.team.cvs.ui
parenta95bda4baacef07858c1523d96d3386a4349cfb1 (diff)
downloadeclipse.platform.team-dcc249b8827c12e2d1ceeee13aec3f92d851a22e.tar.gz
eclipse.platform.team-dcc249b8827c12e2d1ceeee13aec3f92d851a22e.tar.xz
eclipse.platform.team-dcc249b8827c12e2d1ceeee13aec3f92d851a22e.zip
Save preferences on "OK"
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java2
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSPreferencesPage.java2
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ExtMethodPreferencePage.java1
3 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java
index 2353756e9..1650bab57 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java
@@ -288,6 +288,8 @@ public class CVSDecoratorPreferencesPage extends PreferencePage implements IWork
store.setValue(ICVSUIConstants.PREF_CALCULATE_DIRTY, showDirty.getSelection());
CVSDecorator.refresh();
+
+ CVSUIPlugin.getPlugin().savePluginPreferences();
return true;
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSPreferencesPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSPreferencesPage.java
index 68921c0e2..7ccb0ed19 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSPreferencesPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSPreferencesPage.java
@@ -346,6 +346,8 @@ public class CVSPreferencesPage extends PreferencePage implements IWorkbenchPref
// changing the default keyword substitution mode for text files may affect
// information displayed in the decorators
if (! oldKSubst.equals(newKSubst)) CVSDecorator.refresh();
+
+ CVSUIPlugin.getPlugin().savePluginPreferences();
return true;
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ExtMethodPreferencePage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ExtMethodPreferencePage.java
index b89741e29..acda8d5c8 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ExtMethodPreferencePage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ExtMethodPreferencePage.java
@@ -139,6 +139,7 @@ public class ExtMethodPreferencePage extends PreferencePage implements IWorkbenc
store.setValue(ICVSUIConstants.PREF_CVS_SERVER, cvsServer.getText());
CVSProviderPlugin.getPlugin().setCvsRshCommand(cvsRsh.getText());
CVSProviderPlugin.getPlugin().setCvsServer(cvsServer.getText());
+ CVSUIPlugin.getPlugin().savePluginPreferences();
return super.performOk();
}
/*

Back to the top