From 10a7fa2f6640201fc55a5f44d2538069303d5cd7 Mon Sep 17 00:00:00 2001 From: Jesse Weinstein Date: Thu, 12 Sep 2013 20:20:28 -0400 Subject: [PATCH] [bug 417138] Various schema cleanups in cdt.ui Change-Id: I56109bce78155e58b0f98155d5dec0eef625f007 Signed-off-by: Jesse Weinstein Reviewed-on: https://git.eclipse.org/r/16402 Reviewed-by: Sergey Prigogin IP-Clean: Sergey Prigogin Tested-by: Sergey Prigogin --- core/org.eclipse.cdt.ui/schema/CDTWizard.exsd | 57 +-- .../schema/CHelpProvider.exsd | 62 +-- .../schema/ConfigManager.exsd | 58 +-- .../schema/DocCommentOwner.exsd | 64 ++- core/org.eclipse.cdt.ui/schema/HelpInfo.exsd | 43 +- .../schema/IndexerPage.exsd | 74 +--- .../LanguageSettingsProviderAssociation.exsd | 383 +++++++++--------- .../schema/PathContainerPage.exsd | 42 +- .../schema/ProposalFilter.exsd | 57 ++- .../schema/RefreshExclusionContributor.exsd | 27 +- .../schema/cPropertyTab.exsd | 57 ++- .../schema/completionProposalComputer.exsd | 36 +- .../schema/foldingStructureProviders.exsd | 26 +- .../schema/newCfgDialog.exsd | 94 ++--- .../schema/projectTypePages.exsd | 198 ++++----- .../schema/quickAssistProcessors.exsd | 66 ++- .../schema/quickFixProcessors.exsd | 53 ++- .../schema/semanticHighlighting.exsd | 54 ++- .../org.eclipse.cdt.ui/schema/textHovers.exsd | 62 ++- .../schema/workingSetConfigurations.exsd | 9 - 20 files changed, 567 insertions(+), 955 deletions(-) diff --git a/core/org.eclipse.cdt.ui/schema/CDTWizard.exsd b/core/org.eclipse.cdt.ui/schema/CDTWizard.exsd index 3445900970e..3d0f1599594 100644 --- a/core/org.eclipse.cdt.ui/schema/CDTWizard.exsd +++ b/core/org.eclipse.cdt.ui/schema/CDTWizard.exsd @@ -1,16 +1,20 @@ - + - [Enter description of this extension point.] + - + + + + + @@ -41,7 +45,6 @@ - @@ -73,50 +76,4 @@ - - - - - - - [Enter the first release in which this extension point appears.] - - - - - - - - - [Enter extension point usage example here.] - - - - - - - - - [Enter API information here.] - - - - - - - - - [Enter information about supplied implementation of this extension point.] - - - - - - - - - - - - diff --git a/core/org.eclipse.cdt.ui/schema/CHelpProvider.exsd b/core/org.eclipse.cdt.ui/schema/CHelpProvider.exsd index af305424f10..e87a0296cd8 100644 --- a/core/org.eclipse.cdt.ui/schema/CHelpProvider.exsd +++ b/core/org.eclipse.cdt.ui/schema/CHelpProvider.exsd @@ -1,16 +1,20 @@ - + - [Enter description of this extension point.] + - + + + + + @@ -38,7 +42,6 @@ - @@ -47,7 +50,7 @@ - + @@ -56,54 +59,11 @@ + + + - - - - - - - [Enter the first release in which this extension point appears.] - - - - - - - - - [Enter extension point usage example here.] - - - - - - - - - [Enter API information here.] - - - - - - - - - [Enter information about supplied implementation of this extension point.] - - - - - - - - - - - - diff --git a/core/org.eclipse.cdt.ui/schema/ConfigManager.exsd b/core/org.eclipse.cdt.ui/schema/ConfigManager.exsd index 228a5885e57..1ef8033fdfe 100644 --- a/core/org.eclipse.cdt.ui/schema/ConfigManager.exsd +++ b/core/org.eclipse.cdt.ui/schema/ConfigManager.exsd @@ -1,6 +1,6 @@ - + @@ -9,12 +9,14 @@ In the new CDT 4.0 project model, you should be able to override the dialog that gets displayed when clicking the manage button on any of the C/C++ project property pages, - - - + + + + + @@ -45,13 +47,12 @@ project property pages, - - Class which implements IConfigManager interface + Class which implements IConfigManager interface. @@ -60,7 +61,6 @@ project property pages, - @@ -69,51 +69,15 @@ project property pages, CDT 4.0 - - - - - - - [Enter extension point usage example here.] - - - - - - - - - [Enter API information here.] - - - - - - - - - [Enter information about supplied implementation of this extension point.] - - - - /********************************************************************** - * Copyright (c) 2007 Intel 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Intel Corporation - initial API and implementation - **********************************************************************/ - + Copyright (c) 2007 Intel 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 http://www.eclipse.org/legal/epl-v10.html +Contributors: + Intel Corporation - initial API and implementation - diff --git a/core/org.eclipse.cdt.ui/schema/DocCommentOwner.exsd b/core/org.eclipse.cdt.ui/schema/DocCommentOwner.exsd index 65ccf71d49a..33136c3bf5a 100644 --- a/core/org.eclipse.cdt.ui/schema/DocCommentOwner.exsd +++ b/core/org.eclipse.cdt.ui/schema/DocCommentOwner.exsd @@ -1,23 +1,24 @@ - + This extension point allows contribution of document comment detection, presentation and editing behaviours to the CDT editor.<p> - Where C and C++ define single and multiline comments, there is no corresponding language level definition of distinguished comments recognized by documentation tools. A list of these is available here: <a href="http://en.wikipedia.org/wiki/Comparison_of_documentation_generators">Wikipedia Comparison of Documentation Generators</a><p> - The customization for single and multi-line comments is handled by two contributed implementations of the same interface <ul><li><code>org.eclipse.cdt.ui.text.doctools.IDocCommentViewerConfiguration</code></ul> The javadoc for this interface describes the individual editor features that can be contributed.<p> - A level of understanding of the eclipse and CDT editor infrastructure is needed in order to contribute to this extension point. A good starting point is to look at the GenericDocTag classes in the package - see the API Information section below. - + + + + + @@ -48,7 +49,6 @@ A level of understanding of the eclipse and CDT editor infrastructure is needed - @@ -56,6 +56,9 @@ A level of understanding of the eclipse and CDT editor infrastructure is needed a globally unique ID representing this owner. + + + @@ -71,7 +74,7 @@ A level of understanding of the eclipse and CDT editor infrastructure is needed - The comment viewer configuration that should be used for detection, presentation and editing of C/C++ multiline comments + The comment viewer configuration that should be used for detection, presentation and editing of C/C++ multiline comments. @@ -81,7 +84,7 @@ A level of understanding of the eclipse and CDT editor infrastructure is needed - The comment viewer configuration that should be used for detection, presentation and editing of C/C++ singleline comments + The comment viewer configuration that should be used for detection, presentation and editing of C/C++ singleline comments. @@ -90,7 +93,24 @@ A level of understanding of the eclipse and CDT editor infrastructure is needed - + + + + + + The javadoc is considered the primary source of information for plug-in implementors. Only a light outline is given here<p> +Key interfaces are: +<ul> +<li>org.eclipse.cdt.ui.text.doctools.IDocCommentOwner +<li>org.eclipse.cdt.ui.text.doctools.IDocCommentViewerConfiguration +<li>org.eclipse.cdt.ui.text.doctools.IDocCommentOwnershipListener +</ul> +Key implementations are: +<ul> +<li>the implementations in package org.eclipse.cdt.ui.text.doctools.generic +</ul> + + @@ -99,7 +119,6 @@ A level of understanding of the eclipse and CDT editor infrastructure is needed 5.0 - @@ -118,29 +137,6 @@ A level of understanding of the eclipse and CDT editor infrastructure is needed </pre> - - - - - - - <br> -The javadoc is considered the primary source of information for plug-in implementors. Only a light outline is given here<p> -Key interfaces are: -<ul> -<li>org.eclipse.cdt.ui.text.doctools.IDocCommentOwner -<li>org.eclipse.cdt.ui.text.doctools.IDocCommentViewerConfiguration -<li>org.eclipse.cdt.ui.text.doctools.IDocCommentOwnershipListener -</ul> - -Key implementations are: -<ul> -<li>the implementations in package org.eclipse.cdt.ui.text.doctools.generic -</ul> - - - - @@ -149,7 +145,6 @@ Key implementations are: An abstract implementation of some key interfaces is given in the package <code>org.eclipse.cdt.ui.text.doctools.generic</code> - @@ -162,5 +157,4 @@ which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> - diff --git a/core/org.eclipse.cdt.ui/schema/HelpInfo.exsd b/core/org.eclipse.cdt.ui/schema/HelpInfo.exsd index 65d08b37ffa..4960f852208 100644 --- a/core/org.eclipse.cdt.ui/schema/HelpInfo.exsd +++ b/core/org.eclipse.cdt.ui/schema/HelpInfo.exsd @@ -1,17 +1,20 @@ - + - Allows contributing the map files to -the map-file-based CDT CHelpProvider. + Allows contributing the map files to the map-file-based CDT CHelpProvider. - + + + + + @@ -42,7 +45,6 @@ the map-file-based CDT CHelpProvider. - @@ -65,13 +67,11 @@ the map-file-based CDT CHelpProvider. May contain ID of map file format. For now, there's only one (default) help map format. - - @@ -80,7 +80,6 @@ For now, there's only one (default) help map format. CDT 4.0.2 - @@ -96,32 +95,4 @@ For now, there's only one (default) help map format. </extension> - - - - - - - [Enter API information here.] - - - - - - - - - [Enter information about supplied implementation of this extension point.] - - - - - - - - - - - - diff --git a/core/org.eclipse.cdt.ui/schema/IndexerPage.exsd b/core/org.eclipse.cdt.ui/schema/IndexerPage.exsd index 376bc4ebd98..885af9c9ec3 100644 --- a/core/org.eclipse.cdt.ui/schema/IndexerPage.exsd +++ b/core/org.eclipse.cdt.ui/schema/IndexerPage.exsd @@ -1,16 +1,20 @@ - + - [Enter description of this extension point.] + - + + + + + @@ -38,34 +42,42 @@ - - a unique id for this indexer page + A unique id for this indexer page. + + + - a UI name for this page to be used in the UI + A name for this page to be used in the UI. + + + - the unique id of the indexer that this UI is associated with + The unique id of the indexer that this UI is associated with. + + + - the class that implements <code>org.eclipse.cdt.ui.index2.AbstractIndexerPage</code> + A class that extends <code>org.eclipse.cdt.ui.dialogs.AbstractIndexerPage</code>. @@ -74,50 +86,4 @@ - - - - - - - [Enter the first release in which this extension point appears.] - - - - - - - - - [Enter extension point usage example here.] - - - - - - - - - [Enter API information here.] - - - - - - - - - [Enter information about supplied implementation of this extension point.] - - - - - - - - - - - - diff --git a/core/org.eclipse.cdt.ui/schema/LanguageSettingsProviderAssociation.exsd b/core/org.eclipse.cdt.ui/schema/LanguageSettingsProviderAssociation.exsd index f4b54ca3a32..f66276811d4 100644 --- a/core/org.eclipse.cdt.ui/schema/LanguageSettingsProviderAssociation.exsd +++ b/core/org.eclipse.cdt.ui/schema/LanguageSettingsProviderAssociation.exsd @@ -1,200 +1,183 @@ - - - - - - - - - This extension point defines appearance and behavior of UI controls for Language Settings Providers defined with extension point <samp>org.eclipse.cdt.core.LanguageSettingsProvider</samp>. - - - - - - - - - - This extension point is used to define appearance and behavior of Language Settings Providers in user interface. - - - - - - - - - - - - - - - - - - ID of the extension point, not used - - - - - - - Name of the extension point, not used - - - - - - - - - - - - - The definition of UI elements associated with ID of language settings provider. - - - - - - - ID of language settings provider for which appearance is being defined. - - - - - - - The path to the provider icon in the defining plugin, for example icons/obj16/picture.gif. - - - - - - - - - - Options page for the provider to appear in preferences in Providers tab. - - - - - - - - - - Defines if user is allowed to edit provider's entries in UI. - - - - - - - Defines if user is allowed to clear provider's entries in UI. For some providers like compiler specs detectors that may trigger automatic rerun. - - - - - - - - - - The definition of UI elements associated with type of language settings provider. Providers subclassed from this type will inherit characteristics from closest super-type (unless exact ID association is defined). - - - - - - - Class of language settings provider for which appearance is being defined. - - - - - - - - - - The path to the provider icon in the defining plugin, for example icons/obj16/picture.gif. - - - - - - - - - - Options page for the provider to appear in preferences in Providers tab. - - - - - - - - - - Defines if user is allowed to edit provider's entries in UI. - - - - - - - Defines if user is allowed to clear provider's entries in UI. For some providers like compiler specs detectors that may trigger automatic rerun. - - - - - - - - - - - - CDT 8.1 - - - - - - - - - For an example see definition for org.eclipse.cdt.ui.UserLanguageSettingsProvider. - - - - - - - - - [Enter API information here.] - - - - - - - - - - Copyright (c) 2010, 2012 Andrew Gvozdev 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 -http://www.eclipse.org/legal/epl-v10.html - - - - + + + + + + + + + This extension point defines appearance and behavior of UI controls for Language Settings Providers defined with extension point <samp>org.eclipse.cdt.core.LanguageSettingsProvider</samp>. + + + + + + + + + This extension point is used to define appearance and behavior of Language Settings Providers in user interface. + + + + + + + + + + + + + + + + + + ID of the extension point, not used + + + + + + + Name of the extension point, not used + + + + + + + + + + + + The definition of UI elements associated with ID of language settings provider. + + + + + + + ID of language settings provider for which appearance is being defined. + + + + + + + The path to the provider icon in the defining plugin, for example icons/obj16/picture.gif. + + + + + + + + + + Options page for the provider to appear in preferences in Providers tab. + + + + + + + + + + Defines if user is allowed to edit provider's entries in UI. + + + + + + + Defines if user is allowed to clear provider's entries in UI. For some providers like compiler specs detectors that may trigger automatic rerun. + + + + + + + + + The definition of UI elements associated with type of language settings provider. Providers subclassed from this type will inherit characteristics from closest super-type (unless exact ID association is defined). + + + + + + + Class of language settings provider for which appearance is being defined. + + + + + + + + + + The path to the provider icon in the defining plugin, for example <code>icons/obj16/picture.gif</code>. + + + + + + + + + + Options page for the provider to appear in preferences in Providers tab. + + + + + + + + + + Defines if user is allowed to edit provider's entries in UI. + + + + + + + Defines if user is allowed to clear provider's entries in UI. For some providers like compiler specs detectors that may trigger automatic rerun. + + + + + + + + + + + CDT 8.1 + + + + + + + + For an example see definition for org.eclipse.cdt.ui.UserLanguageSettingsProvider. + + + + + + + + Copyright (c) 2010, 2012 Andrew Gvozdev 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 +http://www.eclipse.org/legal/epl-v10.html + + + diff --git a/core/org.eclipse.cdt.ui/schema/PathContainerPage.exsd b/core/org.eclipse.cdt.ui/schema/PathContainerPage.exsd index 21980f4ff03..a7d70089a5f 100644 --- a/core/org.eclipse.cdt.ui/schema/PathContainerPage.exsd +++ b/core/org.eclipse.cdt.ui/schema/PathContainerPage.exsd @@ -6,10 +6,9 @@ - [Enter description of this extension point.] + - @@ -43,7 +42,6 @@ - @@ -82,42 +80,4 @@ - - - - - - - [Enter the first release in which this extension point appears.] - - - - - - - - - [Enter extension point usage example here.] - - - - - - - - - [Enter API information here.] - - - - - - - - - [Enter information about supplied implementation of this extension point.] - - - - diff --git a/core/org.eclipse.cdt.ui/schema/ProposalFilter.exsd b/core/org.eclipse.cdt.ui/schema/ProposalFilter.exsd index 9b650aa48f3..2b06fb43a56 100644 --- a/core/org.eclipse.cdt.ui/schema/ProposalFilter.exsd +++ b/core/org.eclipse.cdt.ui/schema/ProposalFilter.exsd @@ -2,19 +2,21 @@ - + - + When the user requests code completion for an identifier prefix then proposals are gathered from a variety of sources. It is quite common that several proposals for the same completion are gathered. After gathering it is therefore necessary to filter proposals and present them in an optimal ordering to the user. - The notion of what is "optimal" may vary from one application to another. This extension point allows the contribution of completion filters which best suit the needs of the user in any given situation. - The decision about which filter will actually be used remains with the user who can select his preference from a list of all contributed filters (menu Window - Preferences - C/C++ - Editor - Content Assist). - + + + + + @@ -38,14 +40,13 @@ The decision about which filter will actually be used remains with the user who - + - + - @@ -53,6 +54,9 @@ The decision about which filter will actually be used remains with the user who The required unique id of the ProposalFilter + + + @@ -60,9 +64,9 @@ The decision about which filter will actually be used remains with the user who The required name of the ProposalFilter. This name will appear in the preferences combo and should therefore be informative for the user. - + - + @@ -70,66 +74,57 @@ The decision about which filter will actually be used remains with the user who The required fully qualified name of the implementing class which must implement org.eclipse.cdt.ui.text.contentassist.IProposalFilter - + - + - - + - + CDT 3.1 - - + - + See the default implementation in org.eclipse.cdt.internal.ui.text.contentassist.DefaultProposalFilter as an example. - - - + - + ProposalFilters must implement interface <code>org.eclipse.cdt.ui.text.contentassist.IProposalFilter<code>. - - + - + The default implementation in org.eclipse.cdt.internal.ui.text.contentassist.DefaultProposalFilter is the default filtering method which is used as long as the user preference is not changed. - - + - + Copyright (c) 2006 Norbert Ploett 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 http://www.eclipse.org/legal/epl-v10.html - Contributors: Norbert Ploett (Siemens) - Initial Contribution - diff --git a/core/org.eclipse.cdt.ui/schema/RefreshExclusionContributor.exsd b/core/org.eclipse.cdt.ui/schema/RefreshExclusionContributor.exsd index 77d5fb2c492..7373c6a88a8 100644 --- a/core/org.eclipse.cdt.ui/schema/RefreshExclusionContributor.exsd +++ b/core/org.eclipse.cdt.ui/schema/RefreshExclusionContributor.exsd @@ -9,7 +9,6 @@ This extension point allows for contribution of new types of refresh exclusions to CDT's refresh exclusion system. A refresh exclusion is essentially some arbitrary rule that can be tested against a given resource and evaluates to true or false. The exclusion returns true if it should be applied (i.e. the tested resource should be excluded). Rules can be nested, so it is possible to have exclusions to exclusions. - @@ -46,7 +45,6 @@ - @@ -69,6 +67,9 @@ A unique string that identifies this contribution. + + + @@ -87,7 +88,6 @@ - @@ -96,25 +96,6 @@ 5.3 - - - - - - - [Enter extension point usage example here.] - - - - - - - - - [Enter API information here.] - - - @@ -123,7 +104,6 @@ There is a supplied implementation for Resource Exclusions. - @@ -136,5 +116,4 @@ this distribution, and is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> - diff --git a/core/org.eclipse.cdt.ui/schema/cPropertyTab.exsd b/core/org.eclipse.cdt.ui/schema/cPropertyTab.exsd index 5dcd20a4eec..bdbe5acef9b 100644 --- a/core/org.eclipse.cdt.ui/schema/cPropertyTab.exsd +++ b/core/org.eclipse.cdt.ui/schema/cPropertyTab.exsd @@ -7,26 +7,21 @@ Implementation of property/preference UI element. - There're 2 ways to display property/preference data: either on pages with tabs, or on simple pages. - In first case, each cPropertyTab extending class represents single tab in tabfolder. In second case, cPropertyTab extending class represents whole page contents (except header elements which are common for all pages). - Note that cPropertyTab extending class ("tabs" below) do not distinguish these 2 cases, moreover, they may be shown both in multi-tab and single-tab mode. It's up to page to select displaying mode. - In multi-tab page, tabs are displayed in order defined by their weights. - @@ -63,7 +58,6 @@ their weights. - @@ -93,6 +87,9 @@ Ignored for single-tab pages Name of tab in tabfolder. Ignored for single-tab pages. + + + @@ -103,6 +100,9 @@ Usually pages are to be derived from org.eclipse.cdt.ui.newui.AbstractPage, but it is not obligatory. + + + @@ -110,6 +110,9 @@ but it is not obligatory. Text of tooltip shown over the tab. + + + @@ -125,11 +128,22 @@ Ignored for single-tab page. Help context Id for given tab. + + + - + + + + + + Tabs must implement interface: +org.eclipse.cdt.managedbuilder.ui.newproperties.ICPropertyTab + + @@ -138,7 +152,6 @@ Ignored for single-tab page. 4.0 - @@ -155,17 +168,6 @@ Ignored for single-tab page. </extension> - - - - - - - Tabs must implement interface: -org.eclipse.cdt.managedbuilder.ui.newproperties.ICPropertyTab - - - @@ -190,7 +192,6 @@ LibraryTab RefsTab SDKsTab SymbolTab - Implementors in org.eclipse.cdt.managedbuilder.ui.newui: ArtifactTab BuilderSettingsTab @@ -202,23 +203,15 @@ ToolChainEditTab ToolSettingsTab - - /******************************************************************************* - * Copyright (c) 2007 Intel 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Intel Corporation - initial API and implementation - *******************************************************************************/ + Copyright (c) 2007 Intel 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 http://www.eclipse.org/legal/epl-v10.html +Contributors: + Intel Corporation - initial API and implementation - diff --git a/core/org.eclipse.cdt.ui/schema/completionProposalComputer.exsd b/core/org.eclipse.cdt.ui/schema/completionProposalComputer.exsd index 22fd3357462..1fd8c72e7fa 100644 --- a/core/org.eclipse.cdt.ui/schema/completionProposalComputer.exsd +++ b/core/org.eclipse.cdt.ui/schema/completionProposalComputer.exsd @@ -1,6 +1,6 @@ - + @@ -9,11 +9,10 @@ This extension point allows to contribute completion proposal computers to participate in the content assist process of the C/C++ editor. - - + @@ -47,7 +46,6 @@ - @@ -67,7 +65,7 @@ class must be public and implement and must have a public 0-argument constructor. - + @@ -83,11 +81,13 @@ and must have a public 0-argument constructor. The id of a <tt>proposalCategory</tt> + + + - @@ -124,7 +124,6 @@ and must have a public 0-argument constructor. - @@ -144,7 +143,14 @@ and must have a public 0-argument constructor. - + + + + + + The contributed class must extend <code>org.eclipse.cdt.ui.text.contentassist.ICompletionProposalComputer</code> + + @@ -153,14 +159,12 @@ and must have a public 0-argument constructor. 4.0 - The following is an example of a completion proposal computer contribution: - <p> <pre> <extension point="org.eclipse.cdt.ui.completionProposalComputer" @@ -181,16 +185,6 @@ and must have a public 0-argument constructor. </p> - - - - - - - The contributed class must extend <code>org.eclipse.cdt.ui.text.contentassist.ICompletionProposalComputer</code> - - - @@ -199,7 +193,6 @@ and must have a public 0-argument constructor. see <code>org.eclipse.cdt.internal.ui.text.contentassist.HippieProposalComputer</code> for an example. - @@ -209,5 +202,4 @@ and must have a public 0-argument constructor. 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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> - diff --git a/core/org.eclipse.cdt.ui/schema/foldingStructureProviders.exsd b/core/org.eclipse.cdt.ui/schema/foldingStructureProviders.exsd index 32675c7808b..40a7c5ba3d1 100644 --- a/core/org.eclipse.cdt.ui/schema/foldingStructureProviders.exsd +++ b/core/org.eclipse.cdt.ui/schema/foldingStructureProviders.exsd @@ -1,6 +1,6 @@ - + @@ -12,8 +12,12 @@ Extensions may optionally contribute a preference block which will appear on the </p> - + + + + + @@ -44,7 +48,6 @@ Extensions may optionally contribute a preference block which will appear on the - @@ -57,6 +60,9 @@ Extensions may optionally contribute a preference block which will appear on the The unique identifier of this provider. + + + @@ -91,7 +97,6 @@ Extensions may optionally contribute a preference block which will appear on the - @@ -100,7 +105,6 @@ Extensions may optionally contribute a preference block which will appear on the 3.0 - @@ -109,16 +113,6 @@ Extensions may optionally contribute a preference block which will appear on the See <code>org.eclipse.cdt.ui.text.folding.DefaultCFoldingStructureProvider</code> for an example. - - - - - - - - - - @@ -128,7 +122,6 @@ Extensions may optionally contribute a preference block which will appear on the <code>org.eclipse.cdt.internal.ui.text.folding.DefaultCFoldingPreferenceBlock</code> provides the preference block for the default structure provider. - @@ -138,5 +131,4 @@ Extensions may optionally contribute a preference block which will appear on the 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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> - diff --git a/core/org.eclipse.cdt.ui/schema/newCfgDialog.exsd b/core/org.eclipse.cdt.ui/schema/newCfgDialog.exsd index da63547fd4e..522b2308c9c 100644 --- a/core/org.eclipse.cdt.ui/schema/newCfgDialog.exsd +++ b/core/org.eclipse.cdt.ui/schema/newCfgDialog.exsd @@ -1,6 +1,6 @@ - + @@ -9,12 +9,14 @@ Contributions to this extension point define specific dialog for new configuration creation. This dialog will be called from "Manage configurations" screen instead of standard (independent of managed build system) dialog. <br> Contributed extension is usually provided with whole managed build system (MBS), so new dialog may be able to handle some MBS-specific features.<br> To disinguish numerous dialogs for separate MBSs, mbs_id element should be the same as corresponding MBS Id. - - - + + + + + @@ -45,14 +47,13 @@ To disinguish numerous dialogs for separate MBSs, mbs_id element should be the s - - class - New configuration dialog class.<br> -Should implement org.eclipse.cdt.ui.newui.INewCfgDialog interface + New configuration dialog class.<br> +Should implement <code>org.eclipse.cdt.ui.newui.INewCfgDialog</code> @@ -62,48 +63,26 @@ Should implement org.eclipse.cdt.ui.newui.INewCfgDialog interface - title - initial title of New configuration dialog. - + Initial title of New configuration dialog. + + + - This element should contain ID of corresponding managed buld system (MBS).<br> -Dialog will be displayed only if MBS Id for current project equals to mbs_id. - + The ID of the corresponding managed buld system (MBS).<br> +The dialog will be displayed only if the MBS ID for the current project equals this attribute. + + + - - - - - - - 4.0 - - - - - - - - - <extension - point="org.eclipse.cdt.ui.newCfgDialog"> - <dialog - class="org.eclipse.cdt.managedbuilder.ui.newui.NewCfgDialog" - mbs_id="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" - title="MBS: create configuration"/> - </extension> - - - - @@ -112,7 +91,28 @@ Dialog will be displayed only if MBS Id for current project equals to mbs_id. "class" element should implement org.eclipse.cdt.ui.newui.INewCfgDialog interface - + + + + + + 4.0 + + + + + + + + <extension + point="org.eclipse.cdt.ui.newCfgDialog"> + <dialog + class="org.eclipse.cdt.managedbuilder.ui.newui.NewCfgDialog" + mbs_id="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" + title="MBS: create configuration"/> + </extension> + + @@ -121,23 +121,15 @@ Dialog will be displayed only if MBS Id for current project equals to mbs_id. org.eclipse.cdt.managedbuilder.ui.newui.NewCfgDialog - - /******************************************************************************* - * Copyright (c) 2007 Intel 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Intel Corporation - initial API and implementation - *******************************************************************************/ + Copyright (c) 2007 Intel 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 http://www.eclipse.org/legal/epl-v10.html +Contributors: + Intel Corporation - initial API and implementation - diff --git a/core/org.eclipse.cdt.ui/schema/projectTypePages.exsd b/core/org.eclipse.cdt.ui/schema/projectTypePages.exsd index c3268a79163..006828ce16e 100644 --- a/core/org.eclipse.cdt.ui/schema/projectTypePages.exsd +++ b/core/org.eclipse.cdt.ui/schema/projectTypePages.exsd @@ -1,118 +1,80 @@ - - - - - - - - - This extension is used to register a page in the CDT new project wizard to support -specifying additional information based on the project type associated with a template. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Enter the first release in which this extension point appears.] - - - - - - - - - [Enter extension point usage example here.] - - - - - - - - - [Enter API information here.] - - - - - - - - - [Enter information about supplied implementation of this extension point.] - - - - - + + + + + + + + + This extension is used to register a page in the CDT new project wizard to support +specifying additional information based on the project type associated with a template. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/org.eclipse.cdt.ui/schema/quickAssistProcessors.exsd b/core/org.eclipse.cdt.ui/schema/quickAssistProcessors.exsd index d524350c6d9..7e6c1b7afc9 100644 --- a/core/org.eclipse.cdt.ui/schema/quickAssistProcessors.exsd +++ b/core/org.eclipse.cdt.ui/schema/quickAssistProcessors.exsd @@ -1,6 +1,6 @@ - + @@ -10,15 +10,17 @@ This extension point supports the <code>enablement</code> tag. Properties to test on are: <dl> <li>translationUnit: type ITranslationUnit; the translation unit the quick assist is applied on</li> - <li>projectNatures: type Collection; all project natures of the current project</li> </dl> - - + + + + + @@ -49,7 +51,6 @@ This extension point supports the <code>enablement</code> tag. Prope - @@ -58,14 +59,14 @@ This extension point supports the <code>enablement</code> tag. Prope - a unique identifier for the Quick Assist processor + A unique identifier for the Quick Assist processor. - a localized name of the Quick Assist processor + A localized name of the Quick Assist processor. @@ -75,7 +76,7 @@ This extension point supports the <code>enablement</code> tag. Prope - the name of the class that implements this Quick Assist processor. The + The name of the class that implements this Quick Assist processor. The class must be public and implement <samp>org.eclipse.cdt.ui.text.IQuickAssistProcessor</samp> with a public 0-argument constructor. @@ -88,20 +89,34 @@ with a public 0-argument constructor. - an optional attribute to specify the minimal source compliance this processor requires + An optional attribute to specify the minimal source compliance this processor requires. - + + + + + + The contributed class must implement <code>org.eclipse.cdt.ui.text.IQuickAssistProcessor</code> + + + + + + + + 5.1 + + The following is an example of a Quick Assist processor contribution: - <p> <pre> <extension point="org.eclipse.cdt.ui.quickAssistProcessors"> @@ -123,34 +138,6 @@ with a public 0-argument constructor. </p> - - - - - - - 5.1 - - - - - - - - - The contributed class must implement <code>org.eclipse.cdt.ui.text.IQuickAssistProcessor</code> - - - - - - - - - - - - @@ -160,5 +147,4 @@ with a public 0-argument constructor. 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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> - diff --git a/core/org.eclipse.cdt.ui/schema/quickFixProcessors.exsd b/core/org.eclipse.cdt.ui/schema/quickFixProcessors.exsd index 211b5561cb0..2aff5d892b5 100644 --- a/core/org.eclipse.cdt.ui/schema/quickFixProcessors.exsd +++ b/core/org.eclipse.cdt.ui/schema/quickFixProcessors.exsd @@ -1,29 +1,31 @@ - + - This extension point allows to add a Quick Fix processor to offer new Quick Fixes on C/C++ problems. + This extension point allows users to add a Quick Fix processor to offer new Quick Fixes on C/C++ problems. <p> -Extension can specify which problem marker types it can handle. It will only get problems of these types to process. +The extension can specify which problem marker types it can handle. It will only get problems of these types to process. </p> <p> This extension point supports the <code>enablement</code> tag. Properties to test on are: <dl> <li>translationUnit: type ITranslationUnit; the translation unit the quick assist is applied on</li> - <li>projectNatures: type Collection; all project natures of the current project</li> </dl> </p> - - + + + + + @@ -54,7 +56,6 @@ This extension point supports the <code>enablement</code> tag. Prope - @@ -64,14 +65,17 @@ This extension point supports the <code>enablement</code> tag. Prope - a unique identifier for the Quick Fix processor + A unique identifier for the Quick Fix processor. + + + - a localized name of the Quick Fix processor + A localized name of the Quick Fix processor. @@ -81,7 +85,7 @@ This extension point supports the <code>enablement</code> tag. Prope - the name of the class that implements this Quick Fix processor. The + The name of the class that implements this Quick Fix processor. The class must be public and implement <samp>org.eclipse.cdt.ui.text.IQuickFixProcessor</samp> with a public 0-argument constructor. @@ -93,7 +97,6 @@ with a public 0-argument constructor. - @@ -107,19 +110,28 @@ If no handled marker type are specified, the processor will get problems of type - - the marker type id of the marker that can be handled by this processor + The marker type id of the marker that can be handled by this processor. + + + - + + + + + + The contributed class must implement <code>org.eclipse.cdt.ui.text.IQuickFixProcessor</code> + + @@ -128,14 +140,12 @@ If no handled marker type are specified, the processor will get problems of type 4.1 - The following is an example of a Quick Fix processor contribution: - <p> <pre> <extension point="org.eclipse.cdt.ui.quickFixProcessors"> @@ -159,16 +169,6 @@ If no handled marker type are specified, the processor will get problems of type </p> - - - - - - - The contributed class must implement <code>org.eclipse.cdt.ui.text.IQuickFixProcessor</code> - - - @@ -178,5 +178,4 @@ If no handled marker type are specified, the processor will get problems of type 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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> - diff --git a/core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd b/core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd index f5960fd03c8..f97968ede34 100644 --- a/core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd +++ b/core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd @@ -22,9 +22,7 @@ Contributed highlightings will be visible in the Code tree of the 'C/C++ - </p> - - @@ -61,7 +59,6 @@ Contributed highlightings will be visible in the Code tree of the 'C/C++ - - @@ -70,14 +67,17 @@ Contributed highlightings will be visible in the Code tree of the 'C/C++ - - a unique identifier for the Quick Fix processor + A unique identifier for the Quick Fix processor. + + + - a localized name of the Quick Fix processor + A localized name of the Quick Fix processor. @@ -101,8 +101,7 @@ with a public 0-argument constructor. The priority determines the order in which highlightings are given the opportunity to highlight a token. Lower values are more important. - -The priorities of the built-in highlightings are available in org.eclipse.cdt.internal.ui.editor.SemanticHighlightings.loadBuiltInSemanticHighlightings. +The priorities of the built-in highlightings are available in <code>org.eclipse.cdt.internal.ui.editor.SemanticHighlightings.loadBuiltInSemanticHighlightings</code>. @@ -133,41 +132,48 @@ The priorities of the built-in highlightings are available in org.eclipse.cdt.in - false by default + Defaults to <code>false</code>. - false by default + Defaults to <code>false</code>. - false by default + Defaults to <code>false</code>. - false by default + Defaults to <code>false</code>. - false by default + Defaults to <code>false</code>. - + + + + + + The contributed class must implement <code>org.eclipse.cdt.ui.text.ISemanticHighlighter</code> + + @@ -176,14 +182,12 @@ The priorities of the built-in highlightings are available in org.eclipse.cdt.in 8.2 - The following is an example of a Semantic Highligher contribution: - <p> <pre> <extension @@ -206,10 +210,10 @@ The priorities of the built-in highlightings are available in org.eclipse.cdt.in </iterate> </with> <with variable="languageId"> - <or> - <equals value="org.eclipse.cdt.core.g++"/> - <equals value="org.eclipse.cdt.core.gcc"/> - </or> + <or> + <equals value="org.eclipse.cdt.core.g++"/> + <equals value="org.eclipse.cdt.core.gcc"/> + </or> </with> </enablement> </semanticHighlighting> @@ -218,17 +222,6 @@ The priorities of the built-in highlightings are available in org.eclipse.cdt.in </p> - - - - - - - The contributed class must implement <code>org.eclipse.cdt.ui.text.ISemanticHighlighter</code> - - - - @@ -241,5 +234,4 @@ which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html - diff --git a/core/org.eclipse.cdt.ui/schema/textHovers.exsd b/core/org.eclipse.cdt.ui/schema/textHovers.exsd index 211180108bb..fa5ac6da1f5 100644 --- a/core/org.eclipse.cdt.ui/schema/textHovers.exsd +++ b/core/org.eclipse.cdt.ui/schema/textHovers.exsd @@ -1,6 +1,6 @@ - + @@ -9,8 +9,12 @@ This extension point is used to plug-in text hovers in a C/C++ editor. - + + + + + @@ -41,20 +45,22 @@ - - the id, typically the same as the fully qualified class name. + The id, typically the same as the fully qualified class name. + + + - the fully qualified class name implementing the interface <code>org.eclipse.cdt.ui.text.c.hover.ICEditorTextHover</code>. + The fully qualified class name implementing the interface <code>org.eclipse.cdt.ui.text.c.hover.ICEditorTextHover</code>. @@ -64,7 +70,7 @@ - the translatable label for this hover. + The translatable label for this hover. @@ -74,7 +80,7 @@ - the translatable description for this hover. + The translatable description for this hover. @@ -84,20 +90,27 @@ - if the attribute is set to "true" it will force this plug-in to be loaded on hover activation. + If the attribute is set to "true" it will force this plug-in to be loaded on hover activation. - + + + + + + Copyright (c) 2001, 2006 IBM Corporation and others.<br> +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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> + + The following is an example of a hover definition: - <p> <pre> <extension point="org.eclipse.cdt.ui.textHovers"> @@ -112,33 +125,4 @@ </p> - - - - - - - - - - - - - - - - - - - - - - - - - Copyright (c) 2001, 2006 IBM Corporation and others.<br> -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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> - - - diff --git a/core/org.eclipse.cdt.ui/schema/workingSetConfigurations.exsd b/core/org.eclipse.cdt.ui/schema/workingSetConfigurations.exsd index a1d6645638f..1031267d194 100644 --- a/core/org.eclipse.cdt.ui/schema/workingSetConfigurations.exsd +++ b/core/org.eclipse.cdt.ui/schema/workingSetConfigurations.exsd @@ -13,7 +13,6 @@ Extension point for registration of project configuration factories for handling </p> - @@ -50,7 +49,6 @@ Extension point for registration of project configuration factories for handling - @@ -80,7 +78,6 @@ Extension point for registration of project configuration factories for handling - @@ -100,7 +97,6 @@ Extension point for registration of project configuration factories for handling - @@ -109,7 +105,6 @@ Extension point for registration of project configuration factories for handling 6.0 - @@ -126,7 +121,6 @@ Extension point for registration of project configuration factories for handling </pre> - @@ -135,8 +129,6 @@ Extension point for registration of project configuration factories for handling Registered project configuration factories are required to implement the <tt>org.eclipse.cdt.internal.ui.workingsets.IWorkingSetProjectConfigurationFactory</tt> interface. - - @@ -145,5 +137,4 @@ Extension point for registration of project configuration factories for handling Copyright (c) 2009 QNX Software Systems and others. All rights reserved. -