Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2013-10-30 19:24:50 +0000
committerJeff Johnston2013-10-30 19:24:50 +0000
commitf3a29aec1876174fda35b3bbc429376aea5ad39a (patch)
treef1b009ef9ddbb4c82e3ba649699a98b4c952ef0c
parentb178b5885ac4ad217bee0ffb32889c10a0fb4056 (diff)
downloadorg.eclipse.cdt-f3a29aec1876174fda35b3bbc429376aea5ad39a.tar.gz
org.eclipse.cdt-f3a29aec1876174fda35b3bbc429376aea5ad39a.tar.xz
org.eclipse.cdt-f3a29aec1876174fda35b3bbc429376aea5ad39a.zip
Create a fake page category to quell warnings
- create org.eclipse.cdt.managedbuild.ui.Page_head_build which is referenced by org.eclipse.cdt.ui and normally found in org.eclipse.cdt.managedbuilder.ui plug-in - we exclude the managedbuilder.ui plug-in in the application to prevent having to remove numerous UI elements that aren't appropriate Change-Id: Id4993aa1f474bcea7c66375c727e20202732cf3b
-rw-r--r--debug/GDBStandalone/plugin.properties3
-rw-r--r--debug/GDBStandalone/plugin.xml14
2 files changed, 16 insertions, 1 deletions
diff --git a/debug/GDBStandalone/plugin.properties b/debug/GDBStandalone/plugin.properties
index a5ef75c30ba..a6acdee35c7 100644
--- a/debug/GDBStandalone/plugin.properties
+++ b/debug/GDBStandalone/plugin.properties
@@ -4,4 +4,5 @@ ExitMenu.label=Exit
WindowMenu.label=Window
FileMenu.label=File
ShowView.label=Show View
-Preferences.label=Preferences \ No newline at end of file
+Preferences.label=Preferences
+DummyUnusedPage.name=Dummy page \ No newline at end of file
diff --git a/debug/GDBStandalone/plugin.xml b/debug/GDBStandalone/plugin.xml
index 0f50fb1bed9..fe0a8090ea6 100644
--- a/debug/GDBStandalone/plugin.xml
+++ b/debug/GDBStandalone/plugin.xml
@@ -21,6 +21,20 @@
</provider>
</extension>
<extension
+ point="org.eclipse.ui.propertyPages">
+ <page
+ class="org.eclipse.cdt.debug.application.DummyPage"
+ id="org.eclipse.cdt.managedbuilder.ui.properties.Page_head_build"
+ name="%DummyUnusedPage.name">
+ <enabledWhen>
+ <adapt type="org.eclipse.core.resources.IResource">
+ <test property="org.eclipse.core.resources.projectNature"
+ value="org.eclipse.cdt.managedbuilder.core.managedBuildNature"/>
+ </adapt>
+ </enabledWhen>
+ </page>
+ </extension>
+ <extension
point="org.eclipse.ui.activities">
<category
id="GDBStandalone.category"

Back to the top