From fdac2a8c4901b234270bd872b40964221d69ee4d Mon Sep 17 00:00:00 2001 From: 15knots <11367029+15knots@users.noreply.github.com> Date: Fri, 10 Nov 2023 21:14:13 +0100 Subject: [PATCH] add help context for CMakePropertyTab --- de.marw.cmake4eclipse.mbs.ui/doc/help_contexts.xml | 7 +++++-- de.marw.cmake4eclipse.mbs.ui/plugin.xml | 7 ++++--- .../src/de/marw/cmake4eclipse/mbs/ui/CMakePropertyTab.java | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/de.marw.cmake4eclipse.mbs.ui/doc/help_contexts.xml b/de.marw.cmake4eclipse.mbs.ui/doc/help_contexts.xml index 84ebfa90..54a1f62d 100644 --- a/de.marw.cmake4eclipse.mbs.ui/doc/help_contexts.xml +++ b/de.marw.cmake4eclipse.mbs.ui/doc/help_contexts.xml @@ -1,11 +1,14 @@ - This page is used to set properties for specifying CMake cache entries. + This tab is used to specify which CMake cache entries are passed to cmake. + + This tab is used to specify general options which are passed to cmake. + - This page is used to set preferences for how and when cmake is run. + This tab is used to set preferences for how and when cmake is run. diff --git a/de.marw.cmake4eclipse.mbs.ui/plugin.xml b/de.marw.cmake4eclipse.mbs.ui/plugin.xml index 652893de..8f6c229c 100644 --- a/de.marw.cmake4eclipse.mbs.ui/plugin.xml +++ b/de.marw.cmake4eclipse.mbs.ui/plugin.xml @@ -44,6 +44,7 @@ @@ -297,15 +298,15 @@ diff --git a/de.marw.cmake4eclipse.mbs.ui/src/de/marw/cmake4eclipse/mbs/ui/CMakePropertyTab.java b/de.marw.cmake4eclipse.mbs.ui/src/de/marw/cmake4eclipse/mbs/ui/CMakePropertyTab.java index 91ad2a56..1461b963 100644 --- a/de.marw.cmake4eclipse.mbs.ui/src/de/marw/cmake4eclipse/mbs/ui/CMakePropertyTab.java +++ b/de.marw.cmake4eclipse.mbs.ui/src/de/marw/cmake4eclipse/mbs/ui/CMakePropertyTab.java @@ -77,7 +77,7 @@ public class CMakePropertyTab extends QuirklessAbstractCPropertyTab { @Override protected void createControls(final Composite parent) { - super.setHelpContextId(Activator.PLUGIN_ID + ".TODO"); + super.setHelpContextId(Activator.PLUGIN_ID + ".cmake_options_tab_context"); super.createControls(parent); usercomp.setLayout(new GridLayout(2, false)); // usercomp.setBackground(BACKGROUND_FOR_USER_VAR);