mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-12 10:45:37 +02:00
Bug 242004 ISVs should be able to position their cPropertyTabs amongst built-in CDT provided tabs
- Tabs should be sorted by 'weight' attribute (as detailed in the extension point documentation)
This commit is contained in:
parent
537b8d2c4c
commit
a39047b78c
3 changed files with 46 additions and 33 deletions
|
@ -436,7 +436,7 @@
|
||||||
class="org.eclipse.cdt.ui.newui.IncludeTab"
|
class="org.eclipse.cdt.ui.newui.IncludeTab"
|
||||||
name="%Includes"
|
name="%Includes"
|
||||||
icon="icons/obj16/hfolder_obj.gif"
|
icon="icons/obj16/hfolder_obj.gif"
|
||||||
weight="001"
|
weight="010"
|
||||||
helpId="cdt_u_prop_pns_inc"
|
helpId="cdt_u_prop_pns_inc"
|
||||||
parent="org.eclipse.cdt.make.internal.ui.properties.PathAndSymbolPage"
|
parent="org.eclipse.cdt.make.internal.ui.properties.PathAndSymbolPage"
|
||||||
tooltip="%Includes.tooltip"/>
|
tooltip="%Includes.tooltip"/>
|
||||||
|
@ -444,7 +444,7 @@
|
||||||
class="org.eclipse.cdt.ui.newui.SymbolTab"
|
class="org.eclipse.cdt.ui.newui.SymbolTab"
|
||||||
name="%Symbols"
|
name="%Symbols"
|
||||||
icon="icons/obj16/define_obj.gif"
|
icon="icons/obj16/define_obj.gif"
|
||||||
weight="002"
|
weight="020"
|
||||||
helpId="cdt_u_prop_pns_sym"
|
helpId="cdt_u_prop_pns_sym"
|
||||||
parent="org.eclipse.cdt.make.internal.ui.properties.PathAndSymbolPage"
|
parent="org.eclipse.cdt.make.internal.ui.properties.PathAndSymbolPage"
|
||||||
tooltip="%Symbols.tooltip"/>
|
tooltip="%Symbols.tooltip"/>
|
||||||
|
|
|
@ -200,14 +200,14 @@
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.properties.DiscoveryTab"
|
class="org.eclipse.cdt.managedbuilder.ui.properties.DiscoveryTab"
|
||||||
icon="icons/elcl16/discovery.gif"
|
icon="icons/elcl16/discovery.gif"
|
||||||
name="(Single) Discovery.options"
|
name="(Single) Discovery.options"
|
||||||
weight="005"
|
weight="050"
|
||||||
helpId="cdt_u_prop_build_discovery"
|
helpId="cdt_u_prop_build_discovery"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_Discovery"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_Discovery"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.properties.ToolSettingsTab"
|
class="org.eclipse.cdt.managedbuilder.ui.properties.ToolSettingsTab"
|
||||||
icon="icons/elcl16/config-tool.gif"
|
icon="icons/elcl16/config-tool.gif"
|
||||||
name="%Tool.settings"
|
name="%Tool.settings"
|
||||||
weight="001"
|
weight="010"
|
||||||
helpId="cdt_u_prop_build_setting_tool"
|
helpId="cdt_u_prop_build_setting_tool"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_BuildSettings"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_BuildSettings"/>
|
||||||
<tab
|
<tab
|
||||||
|
@ -216,28 +216,28 @@
|
||||||
name="%Build.steps"
|
name="%Build.steps"
|
||||||
helpId="cdt_u_prop_build_setting_steps"
|
helpId="cdt_u_prop_build_setting_steps"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_BuildSettings"
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_BuildSettings"
|
||||||
weight="002"/>
|
weight="020"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.properties.ArtifactTab"
|
class="org.eclipse.cdt.managedbuilder.ui.properties.ArtifactTab"
|
||||||
icon="icons/obj16/artifact.gif"
|
icon="icons/obj16/artifact.gif"
|
||||||
name="%Build.artifact"
|
name="%Build.artifact"
|
||||||
helpId="cdt_u_prop_build_setting_artifact"
|
helpId="cdt_u_prop_build_setting_artifact"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_BuildSettings"
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_BuildSettings"
|
||||||
weight="003"/>
|
weight="030"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.properties.BuilderSettingsTab"
|
class="org.eclipse.cdt.managedbuilder.ui.properties.BuilderSettingsTab"
|
||||||
icon="icons/obj16/build_settings.gif"
|
icon="icons/obj16/build_settings.gif"
|
||||||
name="%Builder.settings"
|
name="%Builder.settings"
|
||||||
helpId="cdt_u_prop_build"
|
helpId="cdt_u_prop_build"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_head_build"
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_head_build"
|
||||||
weight="004"/>
|
weight="040"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.properties.BuildBehaviourTab"
|
class="org.eclipse.cdt.managedbuilder.ui.properties.BuildBehaviourTab"
|
||||||
icon="icons/obj16/target_obj.gif"
|
icon="icons/obj16/target_obj.gif"
|
||||||
name="%WBB.settings"
|
name="%WBB.settings"
|
||||||
helpId="cdt_u_prop_build"
|
helpId="cdt_u_prop_build"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_head_build"
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_head_build"
|
||||||
weight="005"/>
|
weight="050"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.properties.CPropertyVarsTab"
|
class="org.eclipse.cdt.managedbuilder.ui.properties.CPropertyVarsTab"
|
||||||
name="(Single) CDT Vars (macros)"
|
name="(Single) CDT Vars (macros)"
|
||||||
|
@ -254,7 +254,7 @@
|
||||||
class="org.eclipse.cdt.ui.newui.IncludeTab"
|
class="org.eclipse.cdt.ui.newui.IncludeTab"
|
||||||
icon="icons/obj16/hfolder_obj.gif"
|
icon="icons/obj16/hfolder_obj.gif"
|
||||||
name="%Includes"
|
name="%Includes"
|
||||||
weight="001"
|
weight="010"
|
||||||
helpId="cdt_u_prop_pns_inc"
|
helpId="cdt_u_prop_pns_inc"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"
|
||||||
tooltip="%Includes.tooltip"/>
|
tooltip="%Includes.tooltip"/>
|
||||||
|
@ -262,7 +262,7 @@
|
||||||
class="org.eclipse.cdt.ui.newui.SymbolTab"
|
class="org.eclipse.cdt.ui.newui.SymbolTab"
|
||||||
icon="icons/obj16/define_obj.gif"
|
icon="icons/obj16/define_obj.gif"
|
||||||
name="%Symbols"
|
name="%Symbols"
|
||||||
weight="002"
|
weight="020"
|
||||||
helpId="cdt_u_prop_pns_sym"
|
helpId="cdt_u_prop_pns_sym"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"
|
||||||
tooltip="%Symbols.tooltip"/>
|
tooltip="%Symbols.tooltip"/>
|
||||||
|
@ -270,7 +270,7 @@
|
||||||
class="org.eclipse.cdt.ui.newui.LibraryTab"
|
class="org.eclipse.cdt.ui.newui.LibraryTab"
|
||||||
icon="icons/obj16/lib_obj.gif"
|
icon="icons/obj16/lib_obj.gif"
|
||||||
name="%Libraries"
|
name="%Libraries"
|
||||||
weight="003"
|
weight="030"
|
||||||
helpId="cdt_u_prop_pns_lib"
|
helpId="cdt_u_prop_pns_lib"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"
|
||||||
tooltip="%Libraries.tooltip"/>
|
tooltip="%Libraries.tooltip"/>
|
||||||
|
@ -278,28 +278,28 @@
|
||||||
class="org.eclipse.cdt.ui.newui.LibraryPathTab"
|
class="org.eclipse.cdt.ui.newui.LibraryPathTab"
|
||||||
icon="icons/obj16/opentype.gif"
|
icon="icons/obj16/opentype.gif"
|
||||||
name="%Library.paths"
|
name="%Library.paths"
|
||||||
weight="004"
|
weight="040"
|
||||||
helpId="cdt_u_prop_pns_libpath"
|
helpId="cdt_u_prop_pns_libpath"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.ui.newui.RefsTab"
|
class="org.eclipse.cdt.ui.newui.RefsTab"
|
||||||
icon="icons/obj16/search_ref_obj.gif"
|
icon="icons/obj16/search_ref_obj.gif"
|
||||||
name="%References"
|
name="%References"
|
||||||
weight="010"
|
weight="100"
|
||||||
helpId="cdt_u_prop_pns_ref"
|
helpId="cdt_u_prop_pns_ref"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.ui.newui.CLocationSourceTab"
|
class="org.eclipse.cdt.ui.newui.CLocationSourceTab"
|
||||||
icon="icons/obj16/fldr_obj.gif"
|
icon="icons/obj16/fldr_obj.gif"
|
||||||
name="%Source.location"
|
name="%Source.location"
|
||||||
weight="008"
|
weight="080"
|
||||||
helpId="cdt_u_prop_pns_src"
|
helpId="cdt_u_prop_pns_src"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.properties.CBuildLocationOutputTab"
|
class="org.eclipse.cdt.managedbuilder.ui.properties.CBuildLocationOutputTab"
|
||||||
icon="icons/obj16/output_folder_obj.gif"
|
icon="icons/obj16/output_folder_obj.gif"
|
||||||
name="%Output.location"
|
name="%Output.location"
|
||||||
weight="009"
|
weight="090"
|
||||||
helpId="cdt_u_prop_pns_out"
|
helpId="cdt_u_prop_pns_out"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"/>
|
||||||
<tab
|
<tab
|
||||||
|
@ -308,26 +308,26 @@
|
||||||
name="%Data.hierarchy"
|
name="%Data.hierarchy"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_PathAndSymb"
|
||||||
helpId=""
|
helpId=""
|
||||||
weight="012"/>
|
weight="120"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.ui.newui.EnvironmentTab"
|
class="org.eclipse.cdt.ui.newui.EnvironmentTab"
|
||||||
icon="icons/obj16/environment.gif"
|
icon="icons/obj16/environment.gif"
|
||||||
name="(Single) Environment"
|
name="(Single) Environment"
|
||||||
weight="005"
|
weight="050"
|
||||||
helpId="cdt_u_prop_build_environment"
|
helpId="cdt_u_prop_build_environment"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_Environment"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_Environment"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.ui.newui.BinaryParsTab"
|
class="org.eclipse.cdt.ui.newui.BinaryParsTab"
|
||||||
icon="icons/obj16/bin_obj.gif"
|
icon="icons/obj16/bin_obj.gif"
|
||||||
name="%Binary.parsers"
|
name="%Binary.parsers"
|
||||||
weight="006"
|
weight="060"
|
||||||
helpId="cdt_u_prop_build_setting_binparser"
|
helpId="cdt_u_prop_build_setting_binparser"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_BuildSettings"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_BuildSettings"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.ui.newui.ErrorParsTab"
|
class="org.eclipse.cdt.ui.newui.ErrorParsTab"
|
||||||
icon="icons/obj16/error_obj.gif"
|
icon="icons/obj16/error_obj.gif"
|
||||||
name="%Error.parsers"
|
name="%Error.parsers"
|
||||||
weight="007"
|
weight="070"
|
||||||
helpId="cdt_u_prop_build_setting_errparser"
|
helpId="cdt_u_prop_build_setting_errparser"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_BuildSettings"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_BuildSettings"/>
|
||||||
|
|
||||||
|
@ -336,6 +336,7 @@
|
||||||
class="org.eclipse.cdt.ui.newui.ExpIncludeTab"
|
class="org.eclipse.cdt.ui.newui.ExpIncludeTab"
|
||||||
icon="icons/obj16/hfolder_obj.gif"
|
icon="icons/obj16/hfolder_obj.gif"
|
||||||
name="%Includes"
|
name="%Includes"
|
||||||
|
weight="010"
|
||||||
helpId="cdt_u_prop_exp"
|
helpId="cdt_u_prop_exp"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_ExpPathAndSymb"
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_ExpPathAndSymb"
|
||||||
tooltip="%Includes.tooltip"/>
|
tooltip="%Includes.tooltip"/>
|
||||||
|
@ -343,6 +344,7 @@
|
||||||
class="org.eclipse.cdt.ui.newui.ExpSymbolTab"
|
class="org.eclipse.cdt.ui.newui.ExpSymbolTab"
|
||||||
icon="icons/obj16/define_obj.gif"
|
icon="icons/obj16/define_obj.gif"
|
||||||
name="%Symbols"
|
name="%Symbols"
|
||||||
|
weight="020"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_ExpPathAndSymb"
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_ExpPathAndSymb"
|
||||||
helpId="cdt_u_prop_exp"
|
helpId="cdt_u_prop_exp"
|
||||||
tooltip="%Symbols.tooltip"/>
|
tooltip="%Symbols.tooltip"/>
|
||||||
|
@ -350,6 +352,7 @@
|
||||||
class="org.eclipse.cdt.ui.newui.ExpLibraryTab"
|
class="org.eclipse.cdt.ui.newui.ExpLibraryTab"
|
||||||
icon="icons/obj16/lib_obj.gif"
|
icon="icons/obj16/lib_obj.gif"
|
||||||
name="%Libraries"
|
name="%Libraries"
|
||||||
|
weight="030"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_ExpPathAndSymb"
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_ExpPathAndSymb"
|
||||||
helpId="cdt_u_prop_exp"
|
helpId="cdt_u_prop_exp"
|
||||||
tooltip="%Libraries.tooltip"/>
|
tooltip="%Libraries.tooltip"/>
|
||||||
|
@ -357,6 +360,7 @@
|
||||||
class="org.eclipse.cdt.ui.newui.ExpLibraryPathTab"
|
class="org.eclipse.cdt.ui.newui.ExpLibraryPathTab"
|
||||||
icon="icons/obj16/opentype.gif"
|
icon="icons/obj16/opentype.gif"
|
||||||
name="%Library.paths"
|
name="%Library.paths"
|
||||||
|
weight="040"
|
||||||
helpId="cdt_u_prop_exp"
|
helpId="cdt_u_prop_exp"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_ExpPathAndSymb"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.properties.Page_ExpPathAndSymb"/>
|
||||||
|
|
||||||
|
@ -376,6 +380,7 @@
|
||||||
class="org.eclipse.cdt.ui.newui.BinaryParsTab"
|
class="org.eclipse.cdt.ui.newui.BinaryParsTab"
|
||||||
name="%Binary.parsers"
|
name="%Binary.parsers"
|
||||||
icon="icons/obj16/bin_obj.gif"
|
icon="icons/obj16/bin_obj.gif"
|
||||||
|
weight="010"
|
||||||
helpId="cdt_u_prop_build_setting_binparser"
|
helpId="cdt_u_prop_build_setting_binparser"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTProject"
|
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTProject"
|
||||||
/>
|
/>
|
||||||
|
@ -383,6 +388,7 @@
|
||||||
class="org.eclipse.cdt.ui.newui.ErrorParsTab"
|
class="org.eclipse.cdt.ui.newui.ErrorParsTab"
|
||||||
name="%Error.parsers"
|
name="%Error.parsers"
|
||||||
icon="icons/obj16/error_obj.gif"
|
icon="icons/obj16/error_obj.gif"
|
||||||
|
weight="020"
|
||||||
helpId="cdt_u_prop_build_setting_errparser"
|
helpId="cdt_u_prop_build_setting_errparser"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTProject"
|
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTProject"
|
||||||
/>
|
/>
|
||||||
|
@ -390,6 +396,7 @@
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.properties.DiscoveryTab"
|
class="org.eclipse.cdt.managedbuilder.ui.properties.DiscoveryTab"
|
||||||
icon="icons/elcl16/discovery.gif"
|
icon="icons/elcl16/discovery.gif"
|
||||||
name="%Discovery.options"
|
name="%Discovery.options"
|
||||||
|
weight="030"
|
||||||
helpId="cdt_u_prop_build_discovery"
|
helpId="cdt_u_prop_build_discovery"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTProject"
|
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTProject"
|
||||||
/>
|
/>
|
||||||
|
@ -397,32 +404,38 @@
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.properties.BuilderSettingsTab"
|
class="org.eclipse.cdt.managedbuilder.ui.properties.BuilderSettingsTab"
|
||||||
icon="icons/obj16/build_settings.gif"
|
icon="icons/obj16/build_settings.gif"
|
||||||
name="%Builder.settings"
|
name="%Builder.settings"
|
||||||
|
weight="040"
|
||||||
helpId="cdt_u_prop_build"
|
helpId="cdt_u_prop_build"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTProject"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTProject"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.properties.BuildBehaviourTab"
|
class="org.eclipse.cdt.managedbuilder.ui.properties.BuildBehaviourTab"
|
||||||
icon="icons/obj16/target_obj.gif"
|
icon="icons/obj16/target_obj.gif"
|
||||||
name="%WBB.settings"
|
name="%WBB.settings"
|
||||||
|
weight="050"
|
||||||
helpId="cdt_u_prop_build"
|
helpId="cdt_u_prop_build"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTProject"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTProject"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.preferences.PreferredToolchainsTab"
|
class="org.eclipse.cdt.managedbuilder.ui.preferences.PreferredToolchainsTab"
|
||||||
name="%Preferred.toolchains"
|
name="%Preferred.toolchains"
|
||||||
|
weight="060"
|
||||||
helpId="cdt_u_pref_wizard_toolchains"
|
helpId="cdt_u_pref_wizard_toolchains"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTWizard"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTWizard"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.preferences.WizardDefaultsTab"
|
class="org.eclipse.cdt.managedbuilder.ui.preferences.WizardDefaultsTab"
|
||||||
name="%Wizard.defaults"
|
name="%Wizard.defaults"
|
||||||
|
weight="070"
|
||||||
helpId="cdt_u_pref_wizard_defaults"
|
helpId="cdt_u_pref_wizard_defaults"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTWizard"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_NewCDTWizard"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.preferences.PropertyPageDefsTab"
|
class="org.eclipse.cdt.managedbuilder.ui.preferences.PropertyPageDefsTab"
|
||||||
name="%PropertyPage.defaults"
|
name="%PropertyPage.defaults"
|
||||||
|
weight="080"
|
||||||
helpId="cdt_u_pref_prop_pages"
|
helpId="cdt_u_pref_prop_pages"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_PropertyPage"/>
|
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_PropertyPage"/>
|
||||||
<tab
|
<tab
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.preferences.PropertyMultiCfgTab"
|
class="org.eclipse.cdt.managedbuilder.ui.preferences.PropertyMultiCfgTab"
|
||||||
name="%multicfg"
|
name="%multicfg"
|
||||||
|
weight="090"
|
||||||
helpId="cdt_u_pref_multi_cfg"
|
helpId="cdt_u_pref_multi_cfg"
|
||||||
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_MultiConfig">
|
parent="org.eclipse.cdt.managedbuilder.ui.preferences.PrefPage_MultiConfig">
|
||||||
</tab>
|
</tab>
|
||||||
|
|
|
@ -19,7 +19,9 @@ import java.net.MalformedURLException;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
import java.util.Collections;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import org.eclipse.core.resources.IFile;
|
import org.eclipse.core.resources.IFile;
|
||||||
import org.eclipse.core.resources.IFolder;
|
import org.eclipse.core.resources.IFolder;
|
||||||
|
@ -1018,8 +1020,7 @@ implements
|
||||||
return (s == null) ? EMPTY_STR : s;
|
return (s == null) ? EMPTY_STR : s;
|
||||||
}
|
}
|
||||||
|
|
||||||
private synchronized void loadExtensionsSynchronized(Composite parent)
|
private synchronized void loadExtensionsSynchronized(Composite parent) {
|
||||||
{
|
|
||||||
// Get the extensions
|
// Get the extensions
|
||||||
IExtensionPoint extensionPoint = Platform.getExtensionRegistry()
|
IExtensionPoint extensionPoint = Platform.getExtensionRegistry()
|
||||||
.getExtensionPoint(EXTENSION_POINT_ID);
|
.getExtensionPoint(EXTENSION_POINT_ID);
|
||||||
|
@ -1027,17 +1028,16 @@ implements
|
||||||
IExtension[] extensions = extensionPoint.getExtensions();
|
IExtension[] extensions = extensionPoint.getExtensions();
|
||||||
if (extensions == null) return;
|
if (extensions == null) return;
|
||||||
|
|
||||||
for (int i = 0; i < extensions.length; ++i) {
|
List<IConfigurationElement> elements = new ArrayList<IConfigurationElement>();
|
||||||
IConfigurationElement[] elements = extensions[i].getConfigurationElements();
|
for (IExtension ext : extensions)
|
||||||
|
elements.addAll(Arrays.asList(ext.getConfigurationElements()));
|
||||||
|
Collections.sort(elements, CDTUIListComparator.getInstance());
|
||||||
|
|
||||||
Arrays.sort(elements, CDTListComparator.getInstance());
|
for (IConfigurationElement element : elements) {
|
||||||
|
if (element.getName().equals(ELEMENT_NAME)) {
|
||||||
for (IConfigurationElement element2 : elements) {
|
if (loadTab(element, parent)) return;
|
||||||
if (element2.getName().equals(ELEMENT_NAME)) {
|
} else {
|
||||||
if (loadTab(element2, parent)) return;
|
System.out.println(UIMessages.getString("AbstractPage.13") + element.getName()); //$NON-NLS-1$
|
||||||
} else {
|
|
||||||
System.out.println(UIMessages.getString("AbstractPage.13") + element2.getName()); //$NON-NLS-1$
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue