# HG changeset patch # User wpaul # Date 1244141472 18000 # Node ID 432a9f56a75ca8116c56bdcd0558bf9462eb1d32 # Parent c14cf2c1fe78399ce2a926ffeb166e75214a6b83 added Carbide Extensions project property page (bug #9218). diff -r c14cf2c1fe78 -r 432a9f56a75c core/com.nokia.carbide.cpp/META-INF/MANIFEST.MF --- 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 diff -r c14cf2c1fe78 -r 432a9f56a75c core/com.nokia.carbide.cpp/plugin.xml --- 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"/> + + + + + + + + + + + + + diff -r c14cf2c1fe78 -r 432a9f56a75c core/com.nokia.carbide.cpp/src/com/nokia/carbide/cpp/preferences/ExtensionsPropertiesPage.java --- /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; + } +}