Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Indexer block for Managed Make Wizard


This patch contributes an indexer block to the managed make project wizard, allowing users to enable/disable indexing for the project.

- Bogdan

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.4
diff -u -r1.4 NewManagedProjectOptionPage.java
--- src/org/eclipse/cdt/managedbuilder/ui/wizards/NewManagedProjectOptionPage.java	22 Apr 2004 18:10:51 -0000	1.4
+++ src/org/eclipse/cdt/managedbuilder/ui/wizards/NewManagedProjectOptionPage.java	7 May 2004 16:09:22 -0000
@@ -11,9 +11,10 @@
  * IBM Rational Software - Initial API and implementation
  * **********************************************************************/
 
+import org.eclipse.cdt.managedbuilder.internal.ui.ErrorParserBlock;
 import org.eclipse.cdt.managedbuilder.internal.ui.ManagedBuilderUIPlugin;
 import org.eclipse.cdt.managedbuilder.internal.ui.ManagedProjectOptionBlock;
-import org.eclipse.cdt.managedbuilder.internal.ui.ErrorParserBlock;
+import org.eclipse.cdt.ui.dialogs.IndexerBlock;
 import org.eclipse.cdt.ui.dialogs.ReferenceBlock;
 import org.eclipse.cdt.ui.dialogs.TabFolderOptionBlock;
 import org.eclipse.cdt.ui.wizards.NewCProjectWizard;
@@ -22,11 +23,14 @@
 import org.eclipse.core.runtime.Preferences;
 
 public class NewManagedProjectOptionPage extends NewCProjectWizardOptionPage {
+	
 
 	public class ManagedWizardOptionBlock extends ManagedProjectOptionBlock {
 		
 		NewManagedProjectOptionPage parent;
 		ErrorParserBlock errorParsers;
+		IndexerBlock indexBlock;
+		
 
 		public ManagedWizardOptionBlock(NewManagedProjectOptionPage parentPage) {
 			super(parentPage);
@@ -47,6 +51,7 @@
 			addTab(new ReferenceBlock());
 			errorParsers = new ErrorParserBlock();
 			addTab(errorParsers);
+			addTab(indexBlock = new IndexerBlock()); 
 		}
 	}
 	
@@ -87,4 +92,6 @@
 		//  Update the error parser list
 		optionBlock.updateTargetProperties();
 	}
+	
+	
 }

Back to the top