Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-12-15 02:00:03 +0000
committerRyan D. Brooks2010-12-15 02:00:03 +0000
commitaee717fc18942fd7798094a97de634ba5cba2e11 (patch)
tree659d683eed7d1130d1d772a54adf1bc5fcb95453 /plugins/org.eclipse.osee.coverage.help.ui
parent77ee46d5bd087539445b071a06af887ce7d704bf (diff)
downloadorg.eclipse.osee-aee717fc18942fd7798094a97de634ba5cba2e11.tar.gz
org.eclipse.osee-aee717fc18942fd7798094a97de634ba5cba2e11.tar.xz
org.eclipse.osee-aee717fc18942fd7798094a97de634ba5cba2e11.zip
bug[ats_JGX6U]: Fix Coverage context sensitive help
Diffstat (limited to 'plugins/org.eclipse.osee.coverage.help.ui')
-rw-r--r--plugins/org.eclipse.osee.coverage.help.ui/META-INF/MANIFEST.MF2
-rw-r--r--plugins/org.eclipse.osee.coverage.help.ui/contexts/contexts.xml72
-rw-r--r--plugins/org.eclipse.osee.coverage.help.ui/customBuildCallbacks.xml161
-rw-r--r--plugins/org.eclipse.osee.coverage.help.ui/src/.gitignore2
-rw-r--r--plugins/org.eclipse.osee.coverage.help.ui/src/org/eclipse/osee/coverage/help/ui/CoverageHelpContext.java40
5 files changed, 103 insertions, 174 deletions
diff --git a/plugins/org.eclipse.osee.coverage.help.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.coverage.help.ui/META-INF/MANIFEST.MF
index 989a1979142..c0e37557efc 100644
--- a/plugins/org.eclipse.osee.coverage.help.ui/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.osee.coverage.help.ui/META-INF/MANIFEST.MF
@@ -7,3 +7,5 @@ Bundle-Vendor: Eclipse Open System Engineering Environment
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.help
+Import-Package: org.eclipse.osee.framework.ui.plugin.util
+Export-Package: org.eclipse.osee.coverage.help.ui
diff --git a/plugins/org.eclipse.osee.coverage.help.ui/contexts/contexts.xml b/plugins/org.eclipse.osee.coverage.help.ui/contexts/contexts.xml
index a91d99889a8..c0eda3fa735 100644
--- a/plugins/org.eclipse.osee.coverage.help.ui/contexts/contexts.xml
+++ b/plugins/org.eclipse.osee.coverage.help.ui/contexts/contexts.xml
@@ -1,12 +1,62 @@
-<contexts>
- <context id="coverageUsersGuide">
- <description>Users Guide for Coverage</description>
- <topic href="userguide/ATS-Workflow-Configuration-Editor.html" label="Workflow Configuration Editor"/>
- <topic href="userguide/Workflow-Configuration.html" label="Workflow Configuration"/>
- <topic href="userguide/Work-Page-Definition-Artifact.html" label="Work Page Definition"/>
- <topic href="userguide/Work-Rule-Widget-Artifact.html" label="Work Widget Definition"/>
- <topic href="userguide/Work-Rule-Definition-Artifact.html" label="Work Rule Definition"/>
- </context>
-
+<contexts>
-</contexts>
+ <context id="coverage_navigator">
+ <description>Perform coverage navigation capabilities. Provides the main launch point for common coverage tasks.</description>
+ <topic href="OSEE/Coverage/Users_Guide/Views/Views.html" label="Coverage Navigator"/>
+ <topic href="OSEE/Coverage/Users_Guide/Usage/Open-Coverage-Package.html" label="Coverage - Open Package" />
+ <topic href="OSEE/Coverage/Users_Guide/Usage/Delete-Coverage-Package.html" label="Coverage - Delete Package" />
+ <topic href="OSEE/Coverage/Users_Guide/Usage/Usage.html" label="Using Coverage" />
+ <topic href="OSEE/Coverage/Users_Guide/Tips/Tips.html" label="Coverage Tips"/>
+ </context>
+
+ <context id="coverage_editor">
+ <description>The Coverage Editor is the central interface for the user to import, save, disposition and report coverage for a project.</description>
+ <topic href="OSEE/Coverage/Users_Guide/Views/Coverage-Editor.html" label="Coverage Editor"/>
+ <topic href="OSEE/Coverage/Users_Guide/Usage/Usage.html" label="Using Coverage" />
+ <topic href="OSEE/Coverage/Users_Guide/Tips/Tips.html" label="Coverage Tips"/>
+ </context>
+
+ <context id="coverage_editor_coverage_tab">
+ <description>This tab allows the searching and navigation of currently stored Coverage Units and Coverage Items.</description>
+ <topic href="OSEE/Coverage/Users_Guide/Views/Coverage-Editor.html#Coverage_Items_Tab" label="Coverage Editor - Coverage Tab"/>
+ <topic href="OSEE/Coverage/Users_Guide/Usage/Usage.html" label="Using Coverage" />
+ <topic href="OSEE/Coverage/Users_Guide/Tips/Tips.html" label="Coverage Tips"/>
+ </context>
+
+ <context id="coverage_editor_import_tab">
+ <description>Allows for the import of coverage results into coverage application.</description>
+ <topic href="OSEE/Coverage/Users_Guide/Views/Coverage-Editor.html#Import_Tab" label="Coverage Editor - Import Tab"/>
+ <topic href="OSEE/Coverage/Users_Guide/Usage/Usage.html" label="Using Coverage" />
+ <topic href="OSEE/Coverage/Users_Guide/Tips/Tips.html" label="Coverage Tips"/>
+ </context>
+
+ <context id="coverage_editor_loading_tab">
+ <description>Provides coverage loading information.</description>
+ <topic href="OSEE/Coverage/Users_Guide/Views/Coverage-Editor.html#Loading_Tab" label="Coverage Editor - Loading Tab"/>
+ <topic href="OSEE/Coverage/Users_Guide/Usage/Usage.html" label="Using Coverage" />
+ <topic href="OSEE/Coverage/Users_Guide/Tips/Tips.html" label="Coverage Tips"/>
+ </context>
+
+ <context id="coverage_editor_merge_tab">
+ <description>Assists the user in performing import merges.</description>
+ <topic href="OSEE/Coverage/Users_Guide/Views/Coverage-Editor.html#Import_Merge_Tab" label="Coverage Editor - Merge Tab"/>
+ <topic href="OSEE/Coverage/Users_Guide/Usage/Usage.html" label="Using Coverage" />
+ <topic href="OSEE/Coverage/Users_Guide/Tips/Tips.html" label="Coverage Tips"/>
+ </context>
+
+ <context id="coverage_editor_overview_tab">
+ <description>Displays a summary of coverage items.</description>
+ <topic href="OSEE/Coverage/Users_Guide/Views/Coverage-Editor.html#Overview_Tab" label="Coverage Editor - Overview Tab"/>
+ <topic href="OSEE/Coverage/Users_Guide/Usage/Usage.html" label="Using Coverage" />
+ <topic href="OSEE/Coverage/Users_Guide/Tips/Tips.html" label="Coverage Tips"/>
+ </context>
+
+ <context id="coverage_editor_work_product_tab">
+ <description>While the Coverage Editor provides a way to track and disposition coverage results over time, there is still the need to track changes to work products based on the disposition results.</description>
+ <topic href="OSEE/Coverage/Users_Guide/Views/Coverage-Editor.html#Coverage_Work_Product_Tab" label="Coverage Editor - Work Product Tab"/>
+ <topic href="OSEE/Coverage/Users_Guide/Usage/Usage.html" label="Using Coverage" />
+ <topic href="OSEE/Coverage/Users_Guide/Usage/Tracking-changes-to-Work-Product-based-on-Disposition-results.html" label="Coverage Work Product Disposition"/>
+ <topic href="OSEE/Coverage/Users_Guide/Tips/Tips.html" label="Coverage Tips"/>
+ </context>
+
+</contexts>
diff --git a/plugins/org.eclipse.osee.coverage.help.ui/customBuildCallbacks.xml b/plugins/org.eclipse.osee.coverage.help.ui/customBuildCallbacks.xml
deleted file mode 100644
index 26354d81057..00000000000
--- a/plugins/org.eclipse.osee.coverage.help.ui/customBuildCallbacks.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<!-- ===================================================================== -->
-<!-- Custom targets called from a project's generated build.xml -->
-<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.-->
-<!-- ===================================================================== -->
-<project name="Build specific targets and properties" default="noDefault">
-
- <!-- ===================================================================== -->
- <!-- Default target -->
- <!-- ===================================================================== -->
- <target name="noDefault">
- <echo message="This file must be called with explicit targets" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before the target build.jars -->
- <!-- Available parameters : -->
- <!-- build.result.folder - folder to contain the build results -->
- <!-- ===================================================================== -->
- <target name="pre.build.jars">
- <!-- automatic generation of the user guide is disabled, see bug 242979
- <ant antfile="build-helper.xml" target="all"/>
- -->
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the target build.jars -->
- <!-- Available parameters : -->
- <!-- build.result.folder - folder to contain the build results -->
- <!-- ===================================================================== -->
- <target name="post.build.jars">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before the target build.sources -->
- <!-- Available parameters : -->
- <!-- build.result.folder - folder to contain the build results -->
- <!-- ===================================================================== -->
- <target name="pre.build.sources">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the target build.sources -->
- <!-- Available parameters : -->
- <!-- build.result.folder - folder to contain the build results -->
- <!-- ===================================================================== -->
- <target name="post.build.sources">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before the compilation target <name> -->
- <!-- Substitute "name" with the name of the compilation target, eg @dot -->
- <!-- Available parameters : -->
- <!-- source.foldern : n = 1 ... N, the source folders -->
- <!-- target.folder : where the results of the compilation go -->
- <!-- <name>.classpath : name = name of the compilation target. A -->
- <!-- reference to the classpath structure. -->
- <!-- ===================================================================== -->
- <target name="pre.name">
- </target>
-
- <target name="pre.@dot">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do during the compilation target <name>, after the compile -->
- <!-- but before jaring. Substitute "name" with the name of the compilation-->
- <!-- target, eg @dot -->
- <!-- Available parameters : -->
- <!-- source.foldern : n = 1 ... N, the source folders -->
- <!-- target.folder : where the results of the compilation go -->
- <!-- <name>.classpath : name = name of the compilation target. A -->
- <!-- reference to the classpath structure. -->
- <!-- ===================================================================== -->
- <target name="post.compile.name">
- </target>
-
- <target name="post.compile.@dot">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the compilation target <name> -->
- <!-- Substitute "name" with the name of the compilation target, eg @dot -->
- <!-- Available parameters : -->
- <!-- jar.location - the location of the compilation results -->
- <!-- <name>.classpath : name = name of the compilation target. A -->
- <!-- reference to the classpath structure. -->
- <!-- ===================================================================== -->
- <target name="post.name">
- </target>
-
- <target name="post.@dot">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before the target gather.bin.parts -->
- <!-- Available parameters : -->
- <!-- build.result.folder - folder containing the build results -->
- <!-- target.folder - destination folder -->
- <!-- ===================================================================== -->
- <target name="pre.gather.bin.parts">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the target gather.bin.parts -->
- <!-- Available parameters : -->
- <!-- build.result.folder - folder containing the build results -->
- <!-- target.folder - destination folder -->
- <!-- ===================================================================== -->
- <target name="post.gather.bin.parts">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before the target gather.sources -->
- <!-- Available parameters : -->
- <!-- destination.temp.folder - destination folder -->
- <!-- ===================================================================== -->
- <target name="pre.gather.sources">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the target gather.sources -->
- <!-- Available parameters : -->
- <!-- destination.temp.folder - destination folder -->
- <!-- ===================================================================== -->
- <target name="post.gather.sources">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before the target gather.logs -->
- <!-- Available parameters : -->
- <!-- destination.temp.folder - destination folder -->
- <!-- ===================================================================== -->
- <target name="pre.gather.logs">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the target gather.logs -->
- <!-- Available parameters : -->
- <!-- destination.temp.folder - destination folder -->
- <!-- ===================================================================== -->
- <target name="post.gather.logs">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before the target clean -->
- <!-- Available parameters : -->
- <!-- destination.temp.folder - destination folder -->
- <!-- ===================================================================== -->
- <target name="pre.clean">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the target clean -->
- <!-- Available parameters : -->
- <!-- plugin.destination - final destination of the build -->
- <!-- build.result.folder - results of the compilation -->
- <!-- temp.folder - temporary folder -->
- <!-- ===================================================================== -->
- <target name="post.clean">
- </target>
-</project>
diff --git a/plugins/org.eclipse.osee.coverage.help.ui/src/.gitignore b/plugins/org.eclipse.osee.coverage.help.ui/src/.gitignore
deleted file mode 100644
index d6b7ef32c84..00000000000
--- a/plugins/org.eclipse.osee.coverage.help.ui/src/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*
-!.gitignore
diff --git a/plugins/org.eclipse.osee.coverage.help.ui/src/org/eclipse/osee/coverage/help/ui/CoverageHelpContext.java b/plugins/org.eclipse.osee.coverage.help.ui/src/org/eclipse/osee/coverage/help/ui/CoverageHelpContext.java
new file mode 100644
index 00000000000..5a33eeaf3a3
--- /dev/null
+++ b/plugins/org.eclipse.osee.coverage.help.ui/src/org/eclipse/osee/coverage/help/ui/CoverageHelpContext.java
@@ -0,0 +1,40 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 2007 Boeing.
+ * 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:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.coverage.help.ui;
+
+import org.eclipse.osee.framework.ui.plugin.util.HelpContext;
+import org.eclipse.osee.framework.ui.plugin.util.HelpUtil;
+
+/**
+ * @author Roberto E. Escobar
+ */
+public class CoverageHelpContext {
+
+ private CoverageHelpContext() {
+ // Private Constructor
+ }
+
+ private static final String PLUGIN_ID = "org.eclipse.osee.framework.help.ui";
+
+ public static final HelpContext NAVIGATOR = toContext("coverage_navigator");
+
+ public static final HelpContext EDITOR = toContext("coverage_editor");
+ public static final HelpContext EDITOR__COVERAGE_TAB = toContext("coverage_editor_coverage_tab");
+ public static final HelpContext EDITOR__IMPORT_TAB = toContext("coverage_editor_import_tab");
+ public static final HelpContext EDITOR__LOADING_TAB = toContext("coverage_editor_loading_tab");
+ public static final HelpContext EDITOR__MERGE_TAB = toContext("coverage_editor_merge_tab");
+ public static final HelpContext EDITOR__OVERVIEW_TAB = toContext("coverage_editor_overview_tab");
+ public static final HelpContext EDITOR__WORK_PRODUCT_TAB = toContext("coverage_editor_work_product_tab");
+
+ private static HelpContext toContext(String id) {
+ return HelpUtil.asContext(PLUGIN_ID, id);
+ }
+}

Back to the top