diff --git a/build/org.eclipse.cdt.make.ui/plugin.xml b/build/org.eclipse.cdt.make.ui/plugin.xml index 58a537556e0..2baeac9a1e5 100644 --- a/build/org.eclipse.cdt.make.ui/plugin.xml +++ b/build/org.eclipse.cdt.make.ui/plugin.xml @@ -435,42 +435,6 @@ profileId="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"/> - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/org.eclipse.cdt.managedbuilder.ui/plugin.xml b/build/org.eclipse.cdt.managedbuilder.ui/plugin.xml index ad5c995b610..ddc46803c2d 100644 --- a/build/org.eclipse.cdt.managedbuilder.ui/plugin.xml +++ b/build/org.eclipse.cdt.managedbuilder.ui/plugin.xml @@ -161,16 +161,9 @@ point="org.eclipse.ui.navigator.navigatorContent"> - - - + wizardId="org.eclipse.cdt.ui.wizards.ConvertToMakeWizard"> diff --git a/core/org.eclipse.cdt.ui/plugin.xml b/core/org.eclipse.cdt.ui/plugin.xml index 86e136b67d5..e898bc1114e 100644 --- a/core/org.eclipse.cdt.ui/plugin.xml +++ b/core/org.eclipse.cdt.ui/plugin.xml @@ -27,20 +27,26 @@ - - - - - - + + + + + + + + + + + @@ -1915,6 +1921,38 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CElementAdapterFactory.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CElementAdapterFactory.java index d62d01d7ca5..dab63204b00 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CElementAdapterFactory.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CElementAdapterFactory.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2005, 2006 IBM Corporation and others. + * Copyright (c) 2005, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -62,8 +62,7 @@ public class CElementAdapterFactory implements IAdapterFactory { if (resource != null && key.isAssignableFrom(resource.getClass())) { return resource; } - return null; - } if (IPersistableElement.class.equals(key)) { + } else if (IPersistableElement.class.equals(key)) { return new PersistableCElementFactory(celem); } else if (IDeferredWorkbenchAdapter.class.equals(key)) { return getDeferredWorkbenchAdapter(celem);