added Carbide Extensions project property page (bug #9218).
--- a/core/com.nokia.carbide.cpp/META-INF/MANIFEST.MF Thu Jun 04 11:50:19 2009 -0500
+++ b/core/com.nokia.carbide.cpp/META-INF/MANIFEST.MF Thu Jun 04 13:51:12 2009 -0500
@@ -12,7 +12,8 @@
org.eclipse.ui.cheatsheets,
org.eclipse.core.resources,
org.eclipse.core.filesystem,
- org.eclipse.ui.ide
+ org.eclipse.ui.ide,
+ org.eclipse.cdt.core
Bundle-ActivationPolicy: lazy
Export-Package: com.nokia.carbide.cpp,
com.nokia.carbide.cpp.logging
--- a/core/com.nokia.carbide.cpp/plugin.xml Thu Jun 04 11:50:19 2009 -0500
+++ b/core/com.nokia.carbide.cpp/plugin.xml Thu Jun 04 13:51:12 2009 -0500
@@ -541,4 +541,23 @@
id="com.nokia.carbide.cpp.preferences.ExtensionsPreferencesPage"/>
</extension>
+ <extension
+ point="org.eclipse.ui.propertyPages">
+ <page
+ name="Carbide Extensions"
+ class="com.nokia.carbide.cpp.preferences.ExtensionsPropertiesPage"
+ id="com.nokia.carbide.cpp.preferences.ExtensionsPropertiesPage">
+ <filter
+ name="nature"
+ value="com.nokia.carbide.cdt.builder.carbideCPPBuilderNature">
+ </filter>
+ <enabledWhen>
+ <or>
+ <instanceof value="org.eclipse.core.resources.IProject"/>
+ <instanceof value="org.eclipse.cdt.core.model.ICProject"/>
+ </or>
+ </enabledWhen>
+ </page>
+ </extension>
+
</plugin>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/core/com.nokia.carbide.cpp/src/com/nokia/carbide/cpp/preferences/ExtensionsPropertiesPage.java Thu Jun 04 13:51:12 2009 -0500
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+package com.nokia.carbide.cpp.preferences;
+
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.dialogs.PropertyPage;
+
+/**
+ * Creates an empty Carbide Extensions "category" to project properties page
+ */
+public class ExtensionsPropertiesPage extends PropertyPage {
+ /**
+ * Create the property page
+ */
+ public ExtensionsPropertiesPage() {
+ super();
+ }
+
+ public void init(IWorkbench arg0) {
+ }
+
+ @Override
+ public void createControl(Composite parent) {
+ Composite content = new Composite(parent, SWT.NONE);
+ setControl(content);
+ final GridLayout gridLayout = new GridLayout();
+ content.setLayout(gridLayout);
+
+ final Label selectWhichPlatformsLabel = new Label(content, SWT.NONE);
+ selectWhichPlatformsLabel.setLayoutData(new GridData());
+
+ selectWhichPlatformsLabel.setText("Carbide Extensions Property Page\n\nAdditional 3rd party plugins and utilities that contribute project settings\nto the Carbide.c++ product may reside under this property page."); //$NON-NLS-1$
+ }
+
+ @Override
+ protected Control createContents(Composite parent) {
+ return null;
+ }
+}