Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Applied[head]: managed builder adjustements.

Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.managedbuilder.ui/ChangeLog,v
retrieving revision 1.8
diff -u -r1.8 ChangeLog
--- ChangeLog	1 Oct 2003 23:56:26 -0000	1.8
+++ ChangeLog	14 Oct 2003 20:56:50 -0000
@@ -1,3 +1,13 @@
+2003-10-14  Alain Magloire
+
+	ICOptionPage was added a new method
+		Preferences getPreferences();
+	This is needed to get the preference store when saving
+	On the plugin.  We had the equivalent for project
+		IProject getProject();
+
+	* src/org/eclipse/cdt/managedbuilder/ui/wizards/NewManagedProjectOptionPage
+
 2003-10-01 Sean Evoy
 	Fix for bugs 43490 (trivial), 44020, and 43980.
 	A massive change has occurred in the plugin file. I added new C tools that apply 
Index: src/org/eclipse/cdt/managedbuilder/ui/wizards/NewManagedProjectOptionPage.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/NewManagedProjectOptionPage.java,v
retrieving revision 1.2
diff -u -r1.2 NewManagedProjectOptionPage.java
--- src/org/eclipse/cdt/managedbuilder/ui/wizards/NewManagedProjectOptionPage.java	22 Sep 2003 02:31:53 -0000	1.2
+++ src/org/eclipse/cdt/managedbuilder/ui/wizards/NewManagedProjectOptionPage.java	14 Oct 2003 20:56:50 -0000
@@ -11,6 +11,7 @@
  * IBM Rational Software - Initial API and implementation
  * **********************************************************************/
 
+import org.eclipse.cdt.managedbuilder.internal.ui.ManagedBuilderUIPlugin;
 import org.eclipse.cdt.managedbuilder.internal.ui.ManagedProjectOptionBlock;
 import org.eclipse.cdt.ui.dialogs.ICOptionContainer;
 import org.eclipse.cdt.ui.dialogs.ReferenceBlock;
@@ -18,6 +19,7 @@
 import org.eclipse.cdt.ui.wizards.NewCProjectWizard;
 import org.eclipse.cdt.ui.wizards.NewCProjectWizardOptionPage;
 import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.Preferences;
 
 public class NewManagedProjectOptionPage extends NewCProjectWizardOptionPage {
 
@@ -51,6 +53,13 @@
 	 */
 	public IProject getProject() {
 		return ((NewCProjectWizard)getWizard()).getNewProject();
+	}
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.cdt.ui.dialogs.ICOptionContainer#getPreferenceStore()
+	 */
+	public Preferences getPreferences() {
+		return ManagedBuilderUIPlugin.getDefault().getPluginPreferences();
 	}
 
 }



Back to the top