diff options
19 files changed, 167 insertions, 259 deletions
diff --git a/plugins/org.eclipse.osee.ats.help.ui/.classpath b/plugins/org.eclipse.osee.ats.help.ui/.classpath index e27aa380554..ad32c83a788 100644 --- a/plugins/org.eclipse.osee.ats.help.ui/.classpath +++ b/plugins/org.eclipse.osee.ats.help.ui/.classpath @@ -2,4 +2,6 @@ <classpath> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> </classpath> diff --git a/plugins/org.eclipse.osee.ats.help.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ats.help.ui/META-INF/MANIFEST.MF index 9769388973f..60cc19bc4ba 100644 --- a/plugins/org.eclipse.osee.ats.help.ui/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.osee.ats.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.ats.help.ui diff --git a/plugins/org.eclipse.osee.ats.help.ui/build.properties b/plugins/org.eclipse.osee.ats.help.ui/build.properties index b89d88ff9cc..458ee794058 100644 --- a/plugins/org.eclipse.osee.ats.help.ui/build.properties +++ b/plugins/org.eclipse.osee.ats.help.ui/build.properties @@ -1,3 +1,5 @@ +source.. = src/ +output.. = bin/ bin.includes = META-INF/,\ plugin.xml,\ toc.xml,\ diff --git a/plugins/org.eclipse.osee.ats.help.ui/contexts/contexts.xml b/plugins/org.eclipse.osee.ats.help.ui/contexts/contexts.xml index 923b18048cd..aad8d3cd412 100644 --- a/plugins/org.eclipse.osee.ats.help.ui/contexts/contexts.xml +++ b/plugins/org.eclipse.osee.ats.help.ui/contexts/contexts.xml @@ -1,75 +1,87 @@ -<contexts>
- <context id="atsConfigureWorkflow">
- <description>Configure Workflow for use by Team Definition.</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>
-
- <context id="atsPriority" title="ATS Priorities">
- <description>Priorities for classifying Actions in ATS.</description>
- <topic href="userguide/Priorities-for-classifying-problems.html" label="ATS Priorities"/>
- <topic href="userguide/OSEE ATS Intro.html" label="ATS Overview"/>
- </context>
- <context id="atsReportABug" title="Report a Bug">
- <description>Instructions on using the Bug icons for reporting OSEE bugs.</description>
- <topic href="OSEE ATS Usage.html" label="Reporting a bug in OSEE"/>
- <topic href="userguide/OSEE ATS Intro.html" label="ATS Overview"/>
- </context>
- <context id="atsNavigator" title="ATS Navigator View">
- <description>Perform ATS navigation capabilities.</description>
- <topic href="userguide/ATS-Navigator.html" label="ATS Navigator View"/>
- <topic href="userguide/OSEE ATS Views.html" label="ATS Icons"/>
- <topic href="userguide/OSEE ATS Intro.html" label="ATS Overview"/>
- </context>
- <context id="atsActionView" title="ATS Action View">
- <description>Show graphical representation of Action and its children Team Workflows.</description>
- <topic href="userguide/ATS-Action-View.html" label="ATS Action View"/>
- <topic href="userguide/OSEE ATS Views.html" label="ATS Icons"/>
- <topic href="userguide/OSEE ATS Intro.html" label="ATS Overview"/>
- </context>
- <context id="atsWorldView" title="ATS World View">
- <description>Show loaded Action, Team Workflows, Tasks and Reviews.</description>
- <topic href="userguide/ATS-World-View.html" label="ATS World View"/>
- <topic href="userguide/OSEE ATS Views.html" label="ATS Icons"/>
- <topic href="userguide/Table-Customization.html" label="Table Customization"/>
- <topic href="userguide/OSEE ATS Intro.html" label="ATS Overview"/>
- </context>
- <context id="atsWorkflowEditorWorkflowTab" title="ATS Workflow Editor: Workflow Tab">
- <description>Shows states of workflow, alows entry in current state and provides services to perform actions, see metrics and research information about workflow.</description>
- <topic href="userguide/ATS-Workflow-Editor-Workflow-Tab.html" label="ATS Workflow Editor: Workflow Tab"/>
- <topic href="userguide/OSEE ATS Views.html" label="ATS Icons"/>
- <topic href="userguide/OSEE-Spell-Checking.html" label="Spell Checking"/>
- <topic href="userguide/OSEE ATS Intro.html" label="ATS Overview"/>
- </context>
- <context id="atsWorkflowEditorTaskTab" title="ATS Workflow Editor: Task Tab">
- <description>Shows tasks associated with workflow states. Allows quick editing of task information and allows a quick jump (double-click) to open task in ATS Workflow Editor.</description>
- <topic href="userguide/ATS-Workflow-Editor-Task-Tab.html" label="ATS Workflow Editor: Task Tab"/>
- <topic href="userguide/OSEE ATS Views.html" label="ATS Icons"/>
- <topic href="userguide/Table-Customization.html" label="Table Customization"/>
- <topic href="userguide/OSEE ATS Intro.html" label="ATS Overview"/>
- </context>
- <context id="new_action_wizard_page_1" title="New Action Wizard">
- <description>Initiates a new Action. Specify the Title and Impacted Items.</description>
- <topic label="Details" href="userguide/ATS-New-Action-Wizard.html#Part One" />
- </context>
- <context id="new_action_wizard_page_2" title="New Action Wizard">
- <description>Provides details for the new action.</description>
- <topic label="Details" href="userguide/ATS-New-Action-Wizard.html#Part Two" />
- </context>
-
- <context id="decisionReview" title="Decision Review Workflow">
- <description>Provides description of the Decision review.</description>
- <topic href="userguide/Decision-Review-Workflow.html" label="Decision Review Workflow"/>
- <topic href="userguide/ATS-Workflow-Editor-Workflow-Tab.html" label="ATS Workflow Editor: Workflow Tab"/>
- <topic href="userguide/OSEE ATS Views.html" label="ATS Icons"/>
- </context>
- <context id="peerToPeerReview" title="Peer To Peer Review Workflow">
- <description>Provides description of the Peer to Peer review.</description>
- <topic href="userguide/Peer-To-Peer-Review-Workflow.html" label="Peer To Peer Review Workflow"/>
- <topic href="userguide/ATS-Workflow-Editor-Workflow-Tab.html" label="ATS Workflow Editor: Workflow Tab"/>
- <topic href="userguide/OSEE ATS Views.html" label="ATS Icons"/>
- </context>
+<contexts> + <context id="atsActionView" title="ATS Action View"> + <description>Show graphical representation of Action and its children Team Workflows.</description> + <topic href="OSEE/ATS/Users_Guide/Views/ATS-Action-View.html" label="ATS Action View"/> + <topic href="OSEE/ATS/Users_Guide/Views/Views.html" label="ATS Icons"/> + <topic href="OSEE/ATS/Users_Guide/Intro/Intro.html" label="ATS Overview"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> + <context id="atsNavigator" title="ATS Navigator View"> + <description>Perform ATS navigation capabilities.</description> + <topic href="OSEE/ATS/Users_Guide/Views/ATS-Navigator.html" label="ATS Navigator View"/> + <topic href="OSEE/ATS/Users_Guide/Views/Views.html" label="ATS Icons"/> + <topic href="OSEE/ATS/Users_Guide/Intro/Intro.html" label="ATS Overview"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> + <context id="atsConfigureWorkflow"> + <description>Configure Workflow for use by Team Definition.</description> + <topic href="OSEE/ATS/Users_Guide/Views/ATS-Workflow-Configuration-Editor.html" label="Workflow Configuration Editor"/> + <topic href="OSEE/ATS/Users_Guide/Workflow-Configuration.html" label="Workflow Configuration"/> + <topic href="OSEE/ATS/Users_Guide/Views/Work-Page-Definition-Artifact.html" label="Work Page Definition"/> + <topic href="OSEE/ATS/Users_Guide/Views/Work-Rule-Definition-Artifact.html" label="Work Rule Definition"/> + <topic href="OSEE/ATS/Users_Guide/Views/Work-Rule-Widget-Artifact.html" label="Work Widget Definition"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> + <context id="atsPriority" title="ATS Priorities"> + <description>Priorities for classifying Actions in ATS.</description> + <topic href="OSEE/ATS/Users_Guide/Usage/Priorities-for-classifying-problems.html" label="ATS Priorities"/> + <topic href="OSEE/ATS/Users_Guide/Views/Views.html" label="ATS Icons"/> + <topic href="OSEE/ATS/Users_Guide/Intro/Intro.html" label="ATS Overview"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> + <context id="atsReportABug" title="Report a Bug"> + <description>Instructions on using the Bug icons for reporting OSEE bugs.</description> + <topic href="OSEE/ATS/Users_Guide/Usage/Report-a-Bug.html" label="Reporting a bug in OSEE"/> + <topic href="OSEE/ATS/Users_Guide/Intro/Intro.html" label="ATS Overview"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> + <context id="atsWorldView" title="ATS World View"> + <description>Show loaded Action, Team Workflows, Tasks and Reviews.</description> + <topic href="OSEE/ATS/Users_Guide/Views/ATS-World-View.html" label="ATS World View"/> + <topic href="OSEE/ATS/Users_Guide/Views/Table-Customization.html" label="Table Customization"/> + <topic href="OSEE/ATS/Users_Guide/Views.html" label="ATS Icons"/> + <topic href="OSEE/ATS/Users_Guide/Intro/Intro.html" label="ATS Overview"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> + <context id="atsWorkflowEditorWorkflowTab" title="ATS Workflow Editor: Workflow Tab"> + <description>Shows states of workflow, allows entry in current state and provides services to perform actions, see metrics and research information about workflow.</description> + <topic href="OSEE/ATS/Users_Guide/Views/ATS-Workflow-Editor.html#Workflow_Tab" label="ATS Workflow Editor: Workflow Tab"/> + <topic href="OSEE/ATS/Users_Guide/Usage/Priorities-for-classifying-problems.html" label="ATS Priorities"/> + <topic href="OSEE/ATS/Users_Guide/Usage/OSEE-Spell-Checking.html" label="ATS Spell Checking"/> + <topic href="OSEE/ATS/Users_Guide/Views/Views.html" label="ATS Icons"/> + <topic href="OSEE/ATS/Users_Guide/Intro/Intro.html" label="ATS Overview"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> + <context id="atsWorkflowEditorTaskTab" title="ATS Workflow Editor: Task Tab"> + <description>Shows tasks associated with workflow states. Allows quick editing of task information and allows a quick jump (double-click) to open task in ATS Workflow Editor.</description> + <topic href="OSEE/ATS/Users_Guide/Views/ATS-Workflow-Editor.html#Task_Tab" label="ATS Workflow Editor: Task Tab"/> + <topic href="OSEE/ATS/Users_Guide/Views/Table-Customization.html" label="Table Customization"/> + <topic href="OSEE/ATS/Users_Guide/Views/Views.html" label="ATS Icons"/> + <topic href="OSEE/ATS/Users_Guide/Intro/Intro.html" label="ATS Overview"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> + <context id="decisionReview" title="Decision Review Workflow"> + <description>Provides description of the Decision review.</description> + <topic href="OSEE/ATS/Users_Guide/Usage/Decision-Review-Workflow.html" label="Decision Review Workflow"/> + <topic href="OSEE/ATS/Users_Guide/Views/ATS-Workflow-Editor.html#Workflow_Tab" label="ATS Workflow Editor: Workflow Tab"/> + <topic href="OSEE/ATS/Users_Guide/Views/Views.html" label="ATS Icons"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> + <context id="peerToPeerReview" title="Peer To Peer Review Workflow"> + <description>Provides description of the Peer to Peer review.</description> + <topic href="OSEE/ATS/Users_Guide/Usage/Peer-To-Peer-Review-Workflow.html" label="Peer To Peer Review Workflow"/> + <topic href="OSEE/ATS/Users_Guide/Views/ATS-Workflow-Editor.html#Workflow_Tab" label="ATS Workflow Editor: Workflow Tab"/> + <topic href="OSEE/ATS/Users_Guide/Views/Views.html" label="ATS Icons"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> + <context id="new_action_wizard_page_1" title="New Action Wizard"> + <description>Initiates a new Action. Specify the Title and Impacted Items.</description> + <topic href="OSEE/ATS/Users_Guide/Usage/Usage.html#Part_One" label="Create Action - Page 1"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> + <context id="new_action_wizard_page_2" title="New Action Wizard"> + <description>Provides details for the new action.</description> + <topic href="OSEE/ATS/Users_Guide/Usage/Usage.html#Part_Two" label="Create Action - Page 2"/> + <topic href="OSEE/ATS/Users_Guide/Tips/Tips.html" label="ATS Tips"/> + </context> </contexts>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.ats.help.ui/customBuildCallbacks.xml b/plugins/org.eclipse.osee.ats.help.ui/customBuildCallbacks.xml deleted file mode 100644 index 26354d81057..00000000000 --- a/plugins/org.eclipse.osee.ats.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.ats.help.ui/src/.gitignore b/plugins/org.eclipse.osee.ats.help.ui/src/.gitignore deleted file mode 100644 index d6b7ef32c84..00000000000 --- a/plugins/org.eclipse.osee.ats.help.ui/src/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/plugins/org.eclipse.osee.ats.help.ui/src/org/eclipse/osee/ats/help/ui/AtsHelpContext.java b/plugins/org.eclipse.osee.ats.help.ui/src/org/eclipse/osee/ats/help/ui/AtsHelpContext.java new file mode 100644 index 00000000000..871ed2e3333 --- /dev/null +++ b/plugins/org.eclipse.osee.ats.help.ui/src/org/eclipse/osee/ats/help/ui/AtsHelpContext.java @@ -0,0 +1,45 @@ +/******************************************************************************* + * 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.ats.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 final class AtsHelpContext { + + private AtsHelpContext() { + // Private Constructor + } + + private static final String PLUGIN_ID = "org.eclipse.osee.ats.help.ui"; + + public static final HelpContext ACTION_VIEW = toContext("atsActionView"); + public static final HelpContext NAVIGATOR = toContext("atsNavigator"); + public static final HelpContext CONFIGURE_WORKFLOW = toContext("atsConfigureWorkflow"); + + public static final HelpContext PRIORITY = toContext("atsPriority"); + public static final HelpContext REPORT_BUG = toContext("atsReportABug"); + + public static final HelpContext WORLD_VIEW = toContext("atsWorldView"); + public static final HelpContext WORKFLOW_EDITOR__WORKFLOW_TAB = toContext("atsWorkflowEditorWorkflowTab"); + public static final HelpContext WORKFLOW_EDITOR__TASK_TAB = toContext("atsWorkflowEditorTaskTab"); + public static final HelpContext NEW_ACTION_PAGE_1 = toContext("new_action_wizard_page_1"); + public static final HelpContext NEW_ACTION_PAGE_2 = toContext("new_action_wizard_page_2"); + public static final HelpContext DECISION_REVIEW = toContext("decisionReview"); + public static final HelpContext PEER_TO_PEER_REVIEW = toContext("peerToPeerReview"); + + private static HelpContext toContext(String id) { + return HelpUtil.asContext(PLUGIN_ID, id); + } +} diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage1.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage1.java index 605465dccd3..34dfe64fdcf 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage1.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage1.java @@ -22,6 +22,7 @@ import org.eclipse.jface.wizard.WizardPage; import org.eclipse.osee.ats.artifact.ActionableItemArtifact; import org.eclipse.osee.ats.artifact.AtsAttributeTypes; import org.eclipse.osee.ats.artifact.TeamDefinitionArtifact; +import org.eclipse.osee.ats.help.ui.AtsHelpContext; import org.eclipse.osee.ats.internal.AtsPlugin; import org.eclipse.osee.ats.util.widgets.dialog.AITreeContentProvider; import org.eclipse.osee.ats.workflow.ATSXWidgetOptionResolver; @@ -160,7 +161,7 @@ public class NewActionPage1 extends WizardPage { } private void setHelpContexts() { - HelpUtil.setHelp(this.getControl(), "new_action_wizard_page_1", "org.eclipse.osee.ats.help.ui"); + HelpUtil.setHelp(this.getControl(), AtsHelpContext.NEW_ACTION_PAGE_1); } public Set<ActionableItemArtifact> getSelectedActionableItemArtifacts() { diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage2.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage2.java index c892d0eba02..7f70b1d149d 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage2.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage2.java @@ -13,6 +13,7 @@ package org.eclipse.osee.ats.actions.wizard; import org.eclipse.jface.wizard.WizardPage; import org.eclipse.osee.ats.artifact.AtsAttributeTypes; +import org.eclipse.osee.ats.help.ui.AtsHelpContext; import org.eclipse.osee.ats.internal.AtsPlugin; import org.eclipse.osee.ats.workflow.ATSXWidgetOptionResolver; import org.eclipse.osee.framework.core.exception.OseeCoreException; @@ -108,7 +109,7 @@ public class NewActionPage2 extends WizardPage { } private void setHelpContexts() { - HelpUtil.setHelp(this.getControl(), "new_action_wizard_page_2", "org.eclipse.osee.ats.help.ui"); + HelpUtil.setHelp(this.getControl(), AtsHelpContext.NEW_ACTION_PAGE_2); } private void handlePopulateWithDebugInfo() { diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/AbstractWorkflowArtifact.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/AbstractWorkflowArtifact.java index 6e0c5cfdccd..86404d20987 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/AbstractWorkflowArtifact.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/AbstractWorkflowArtifact.java @@ -28,6 +28,7 @@ import org.eclipse.osee.ats.artifact.note.ArtifactNote; import org.eclipse.osee.ats.artifact.note.AtsNote; import org.eclipse.osee.ats.column.TargetedVersionColumn; import org.eclipse.osee.ats.editor.SMAEditor; +import org.eclipse.osee.ats.help.ui.AtsHelpContext; import org.eclipse.osee.ats.internal.AtsPlugin; import org.eclipse.osee.ats.notify.AtsNotification; import org.eclipse.osee.ats.util.AtsArtifactTypes; @@ -66,6 +67,7 @@ import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery; import org.eclipse.osee.framework.skynet.core.relation.RelationManager; import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction; import org.eclipse.osee.framework.skynet.core.utility.Artifacts; +import org.eclipse.osee.framework.ui.plugin.util.HelpContext; import org.eclipse.osee.framework.ui.plugin.util.Result; import org.eclipse.osee.framework.ui.skynet.FrameworkArtifactImageProvider; import org.eclipse.osee.framework.ui.skynet.group.IGroupExplorerProvider; @@ -159,8 +161,8 @@ public abstract class AbstractWorkflowArtifact extends AbstractAtsArtifact imple return ((TeamWorkFlowArtifact) this).getTeamDefinition().getTeamDefinitionHoldingVersions() != null && ((TeamWorkFlowArtifact) this).getTeamDefinition().getTeamDefinitionHoldingVersions().isTeamUsesVersions(); } - public String getHelpContext() { - return "atsWorkflowEditorWorkflowTab"; + public HelpContext getHelpContext() { + return AtsHelpContext.WORKFLOW_EDITOR__WORKFLOW_TAB; } public String getArtifactSuperTypeName() { diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/DecisionReviewArtifact.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/DecisionReviewArtifact.java index ce343b5c4c0..23551b63d21 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/DecisionReviewArtifact.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/DecisionReviewArtifact.java @@ -11,6 +11,7 @@ package org.eclipse.osee.ats.artifact; import java.util.Collection; +import org.eclipse.osee.ats.help.ui.AtsHelpContext; import org.eclipse.osee.ats.util.StateManager; import org.eclipse.osee.ats.util.widgets.XDecisionOptions; import org.eclipse.osee.framework.core.data.IArtifactType; @@ -19,6 +20,7 @@ import org.eclipse.osee.framework.core.model.Branch; import org.eclipse.osee.framework.skynet.core.User; import org.eclipse.osee.framework.skynet.core.artifact.ArtifactFactory; import org.eclipse.osee.framework.skynet.core.artifact.IATSStateMachineArtifact; +import org.eclipse.osee.framework.ui.plugin.util.HelpContext; /** * @author Donald G. Dunne @@ -33,8 +35,8 @@ public class DecisionReviewArtifact extends AbstractReviewArtifact implements IR } @Override - public String getHelpContext() { - return "decisionReview"; + public HelpContext getHelpContext() { + return AtsHelpContext.DECISION_REVIEW; } @Override diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/PeerToPeerReviewArtifact.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/PeerToPeerReviewArtifact.java index f0a594f2a7c..a1cff8ed30c 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/PeerToPeerReviewArtifact.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/PeerToPeerReviewArtifact.java @@ -13,6 +13,7 @@ package org.eclipse.osee.ats.artifact; import java.util.Collection; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; +import org.eclipse.osee.ats.help.ui.AtsHelpContext; import org.eclipse.osee.ats.internal.AtsPlugin; import org.eclipse.osee.ats.util.StateManager; import org.eclipse.osee.ats.util.widgets.defect.DefectManager; @@ -24,6 +25,7 @@ import org.eclipse.osee.framework.core.model.Branch; import org.eclipse.osee.framework.skynet.core.User; import org.eclipse.osee.framework.skynet.core.artifact.ArtifactFactory; import org.eclipse.osee.framework.skynet.core.artifact.IATSStateMachineArtifact; +import org.eclipse.osee.framework.ui.plugin.util.HelpContext; /** * @author Donald G. Dunne @@ -59,8 +61,8 @@ public class PeerToPeerReviewArtifact extends AbstractReviewArtifact implements } @Override - public String getHelpContext() { - return "peerToPeerReview"; + public HelpContext getHelpContext() { + return AtsHelpContext.PEER_TO_PEER_REVIEW; } @Override diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAWorkFlowTab.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAWorkFlowTab.java index 8f0edf2d391..00b00816d57 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAWorkFlowTab.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAWorkFlowTab.java @@ -137,7 +137,7 @@ public class SMAWorkFlowTab extends FormPage implements IActionable { setLoading(true); if (sma.getHelpContext() != null) { - HelpUtil.setHelp(managedForm.getForm(), sma.getHelpContext(), "org.eclipse.osee.ats.help.ui"); + HelpUtil.setHelp(managedForm.getForm(), sma.getHelpContext()); } refreshData(); diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/hyper/ActionHyperView.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/hyper/ActionHyperView.java index 00e7a1e3b59..5f2a499f120 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/hyper/ActionHyperView.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/hyper/ActionHyperView.java @@ -24,6 +24,7 @@ import org.eclipse.osee.ats.artifact.TaskArtifact; import org.eclipse.osee.ats.artifact.TeamWorkFlowArtifact; import org.eclipse.osee.ats.config.AtsBulkLoad; import org.eclipse.osee.ats.editor.SMAEditor; +import org.eclipse.osee.ats.help.ui.AtsHelpContext; import org.eclipse.osee.ats.internal.AtsPlugin; import org.eclipse.osee.ats.util.AtsRelationTypes; import org.eclipse.osee.ats.util.AtsUtil; @@ -62,7 +63,6 @@ import org.eclipse.ui.PlatformUI; public class ActionHyperView extends HyperView implements IActionable, IArtifactEventListener, IPerspectiveListener2 { public final static String VIEW_ID = "org.eclipse.osee.ats.hyper.ActionHyperView"; - private final static String HELP_CONTEXT_ID = "atsActionView"; private AbstractAtsArtifact currentArtifact; private Cursor cursor; @@ -85,8 +85,8 @@ public class ActionHyperView extends HyperView implements IActionable, IArtifact AtsBulkLoad.loadConfig(false); super.createPartControl(top); OseeUiActions.addBugToViewToolbar(this, this, AtsPlugin.PLUGIN_ID, VIEW_ID, "SkyWalker"); - HelpUtil.setHelp(top, HELP_CONTEXT_ID, "org.eclipse.osee.ats.help.ui"); - HelpUtil.setHelp(composite, HELP_CONTEXT_ID, "org.eclipse.osee.ats.help.ui"); + HelpUtil.setHelp(top, AtsHelpContext.ACTION_VIEW); + HelpUtil.setHelp(composite, AtsHelpContext.ACTION_VIEW); OseeEventManager.addListener(this); } diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/NavigateView.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/NavigateView.java index 92fcaf8aab4..46b7754b896 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/NavigateView.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/NavigateView.java @@ -36,6 +36,7 @@ import org.eclipse.osee.ats.actions.OpenChangeReportByIdAction; import org.eclipse.osee.ats.actions.OpenWorkflowByIdAction; import org.eclipse.osee.ats.actions.OpenWorldByIdAction; import org.eclipse.osee.ats.config.AtsBulkLoad; +import org.eclipse.osee.ats.help.ui.AtsHelpContext; import org.eclipse.osee.ats.internal.AtsPlugin; import org.eclipse.osee.ats.util.AtsUtil; import org.eclipse.osee.framework.core.client.ClientSessionManager; @@ -77,7 +78,6 @@ import org.eclipse.ui.progress.UIJob; public class NavigateView extends ViewPart implements IActionable { public static final String VIEW_ID = "org.eclipse.osee.ats.navigate.NavigateView"; - public static final String HELP_CONTEXT_ID = "atsNavigator"; private static final String INPUT = "filter"; private static final String FILTER_STR = "filterStr"; @@ -127,7 +127,7 @@ public class NavigateView extends ViewPart implements IActionable { xNavComp = new AtsNavigateComposite(AtsNavigateViewItems.getInstance(), parent, SWT.NONE); - HelpUtil.setHelp(xNavComp, HELP_CONTEXT_ID, "org.eclipse.osee.ats.help.ui"); + HelpUtil.setHelp(xNavComp, AtsHelpContext.NAVIGATOR); createToolBar(); // add search text box diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/task/TaskEditorXWidgetActionPage.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/task/TaskEditorXWidgetActionPage.java index d336e36896a..da480a71c8f 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/task/TaskEditorXWidgetActionPage.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/task/TaskEditorXWidgetActionPage.java @@ -24,6 +24,7 @@ import org.eclipse.osee.ats.actions.OpenNewAtsTaskEditorAction; import org.eclipse.osee.ats.actions.OpenNewAtsTaskEditorSelected; import org.eclipse.osee.ats.artifact.AbstractTaskableArtifact; import org.eclipse.osee.ats.export.AtsExportManager; +import org.eclipse.osee.ats.help.ui.AtsHelpContext; import org.eclipse.osee.ats.internal.AtsPlugin; import org.eclipse.osee.ats.util.SMAMetrics; import org.eclipse.osee.ats.world.AtsXWidgetActionFormPage; @@ -64,7 +65,6 @@ public class TaskEditorXWidgetActionPage extends AtsXWidgetActionFormPage implem private final TaskEditor taskEditor; private TaskComposite taskComposite; - private final static String HELP_CONTEXT_ID = "atsWorkflowEditorTaskTab"; private final WorldCompletedFilter worldCompletedFilter = new WorldCompletedFilter(); private WorldAssigneeFilter worldAssigneeFilter = null; private Action filterCompletedAction, filterMyAssigneeAction, selectionMetricsAction; @@ -82,7 +82,7 @@ public class TaskEditorXWidgetActionPage extends AtsXWidgetActionFormPage implem resultsContainer = toolkit.createClientContainer(resultsSection, 1); taskComposite = new TaskComposite(taskEditor, resultsContainer, SWT.BORDER); - HelpUtil.setHelp(taskComposite, HELP_CONTEXT_ID, "org.eclipse.osee.ats.help.ui"); + HelpUtil.setHelp(taskComposite, AtsHelpContext.WORKFLOW_EDITOR__TASK_TAB); return resultsSection; } diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/task/TaskTabXWidgetActionPage.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/task/TaskTabXWidgetActionPage.java index 54445727413..9b89df81df8 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/task/TaskTabXWidgetActionPage.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/task/TaskTabXWidgetActionPage.java @@ -27,6 +27,7 @@ import org.eclipse.osee.ats.actions.TaskDeleteAction; import org.eclipse.osee.ats.artifact.AbstractTaskableArtifact; import org.eclipse.osee.ats.editor.SMAEditor; import org.eclipse.osee.ats.export.AtsExportManager; +import org.eclipse.osee.ats.help.ui.AtsHelpContext; import org.eclipse.osee.ats.internal.AtsPlugin; import org.eclipse.osee.ats.world.AtsXWidgetActionFormPage; import org.eclipse.osee.ats.world.WorldAssigneeFilter; @@ -63,7 +64,6 @@ public class TaskTabXWidgetActionPage extends AtsXWidgetActionFormPage implement private final SMAEditor smaEditor; private TaskComposite taskComposite; - private final static String HELP_CONTEXT_ID = "atsWorkflowEditorTaskTab"; private final WorldCompletedFilter worldCompletedFilter = new WorldCompletedFilter(); private WorldAssigneeFilter worldAssigneeFilter = null; private Action filterCompletedAction, filterMyAssigneeAction; @@ -81,7 +81,7 @@ public class TaskTabXWidgetActionPage extends AtsXWidgetActionFormPage implement resultsContainer = toolkit.createClientContainer(resultsSection, 1); taskComposite = new TaskComposite(smaEditor, resultsContainer, SWT.BORDER); - HelpUtil.setHelp(taskComposite, HELP_CONTEXT_ID, "org.eclipse.osee.ats.help.ui"); + HelpUtil.setHelp(taskComposite, AtsHelpContext.WORKFLOW_EDITOR__TASK_TAB); taskComposite.loadTable(); return resultsSection; } diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/workflow/editor/AtsWorkflowConfigEditor.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/workflow/editor/AtsWorkflowConfigEditor.java index 0201a4630fa..e1bc24a3fa7 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/workflow/editor/AtsWorkflowConfigEditor.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/workflow/editor/AtsWorkflowConfigEditor.java @@ -36,6 +36,7 @@ import org.eclipse.gef.ui.parts.GraphicalViewerKeyHandler; import org.eclipse.gef.ui.parts.TreeViewer; import org.eclipse.jface.action.IAction; import org.eclipse.jface.util.TransferDropTargetListener; +import org.eclipse.osee.ats.help.ui.AtsHelpContext; import org.eclipse.osee.ats.internal.AtsPlugin; import org.eclipse.osee.ats.util.AtsUtil; import org.eclipse.osee.ats.workflow.ATSXWidgetOptionResolver; @@ -121,7 +122,7 @@ public class AtsWorkflowConfigEditor extends GraphicalEditorWithFlyoutPalette im ContextMenuProvider cmProvider = new AtsWorkflowConfigEditorContextMenuProvider(viewer, getActionRegistry()); viewer.setContextMenu(cmProvider); getSite().registerContextMenu(cmProvider, viewer); - HelpUtil.setHelp(viewer.getControl(), "atsConfigureWorkflow", "org.eclipse.osee.ats.help.ui"); + HelpUtil.setHelp(viewer.getControl(), AtsHelpContext.CONFIGURE_WORKFLOW); } diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldEditor.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldEditor.java index 8d5a2e250a8..6874fe0aaca 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldEditor.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldEditor.java @@ -18,6 +18,7 @@ import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.jface.action.Action; import org.eclipse.osee.ats.artifact.AbstractWorkflowArtifact; import org.eclipse.osee.ats.artifact.VersionArtifact; +import org.eclipse.osee.ats.help.ui.AtsHelpContext; import org.eclipse.osee.ats.internal.AtsPlugin; import org.eclipse.osee.ats.util.AtsUtil; import org.eclipse.osee.ats.world.search.WorldSearchItem.SearchType; @@ -50,7 +51,6 @@ import org.eclipse.ui.part.MultiPageEditorPart; public class WorldEditor extends FormEditor implements IWorldEditor, IDirtiableEditor, IAtsMetricsProvider, IActionable { public static final String EDITOR_ID = "org.eclipse.osee.ats.world.WorldEditor"; private WorldXWidgetActionPage worldXWidgetActionPage; - public static final String HELP_CONTEXT_ID = "atsWorldView"; public static final int TITLE_MAX_LENGTH = 80; @Override @@ -156,8 +156,7 @@ public class WorldEditor extends FormEditor implements IWorldEditor, IDirtiableE setPartName(provider.getSelectedName(SearchType.Search)); // Until WorldEditor has different help, just use WorldView's help - HelpUtil.setHelp(worldXWidgetActionPage.getWorldComposite().getControl(), HELP_CONTEXT_ID, - "org.eclipse.osee.ats.help.ui"); + HelpUtil.setHelp(worldXWidgetActionPage.getWorldComposite().getControl(), AtsHelpContext.WORLD_VIEW); } catch (Exception ex) { OseeLog.log(AtsPlugin.class, Level.SEVERE, ex); } |