Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats.config.demo/support/WorkDef_Team_Demo_Test.ats')
-rw-r--r--plugins/org.eclipse.osee.ats.config.demo/support/WorkDef_Team_Demo_Test.ats127
1 files changed, 127 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.ats.config.demo/support/WorkDef_Team_Demo_Test.ats b/plugins/org.eclipse.osee.ats.config.demo/support/WorkDef_Team_Demo_Test.ats
new file mode 100644
index 00000000000..a8197c4eb06
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.config.demo/support/WorkDef_Team_Demo_Test.ats
@@ -0,0 +1,127 @@
+workDefinition "WorkDef_Team_Demo_Test" {
+ id "WorkDef_Team_Demo_Test"
+ startState "Endorse"
+
+ widgetDefinition "Resolution" {
+ attributeName "ats.Resolution"
+ xWidgetName "XTextDam"
+ option FILL_VERTICALLY
+ }
+
+ widgetDefinition "Problem" {
+ attributeName "ats.Problem"
+ xWidgetName "XTextDam"
+ option FILL_VERTICALLY
+ }
+
+ widgetDefinition "Proposed Resolution" {
+ attributeName "ats.Proposed Resolution"
+ xWidgetName "XTextDam"
+ option FILL_VERTICALLY
+ }
+
+ widgetDefinition "Title" {
+ attributeName "Name"
+ xWidgetName "XTextDam"
+ option REQUIRED_FOR_TRANSITION
+ }
+
+ widgetDefinition "Description" {
+ attributeName "ats.Description"
+ xWidgetName "XTextDam"
+ option FILL_VERTICALLY
+ option REQUIRED_FOR_TRANSITION
+ }
+
+ widgetDefinition "User Community" {
+ attributeName "ats.User Community"
+ xWidgetName "XListDam(OPTIONS_FROM_ATTRIBUTE_VALIDITY)"
+ option HORIZONTAL_LABEL
+ }
+
+ state "Implement" {
+ type Working
+ ordinal 4
+ to "Cancelled"
+ to "Completed" AsDefault
+ to "Analyze" OverrideAttributeValidation
+ to "Authorize" OverrideAttributeValidation
+ rule RequireStateHourSpentPrompt
+ layout {
+ attributeWidget "ats.Work Package"
+ attributeWidget "ats.Estimated Completion Date"
+ widget "Resolution"
+ }
+ }
+
+ state "Analyze" {
+ type Working
+ ordinal 2
+ to "Cancelled"
+ to "Authorize" AsDefault
+ to "Endorse" OverrideAttributeValidation
+ rule RequireStateHourSpentPrompt
+ layout {
+ attributeWidget "ats.Work Package"
+ widget "Problem"
+ widget "Proposed Resolution"
+ composite {
+ numColumns 6
+ attributeWidget "ats.Change Type"
+ attributeWidget "ats.Priority"
+ attributeWidget "ats.Need By"
+ }
+ attributeWidget "ats.Estimated Hours"
+ }
+ }
+
+ state "Authorize" {
+ type Working
+ ordinal 3
+ to "Cancelled"
+ to "Implement" AsDefault
+ to "Analyze" OverrideAttributeValidation
+ layout {
+ attributeWidget "ats.Work Package"
+ attributeWidget "ats.Estimated Completion Date"
+ }
+ }
+
+ state "Cancelled" {
+ type Cancelled
+ ordinal 6
+ to "Implement" OverrideAttributeValidation
+ to "Analyze" OverrideAttributeValidation
+ to "Authorize" OverrideAttributeValidation
+ to "Endorse" OverrideAttributeValidation
+ }
+
+ state "Completed" {
+ type Completed
+ ordinal 5
+ to "Implement" OverrideAttributeValidation
+ rule AddDecisionValidateBlockingReview
+ }
+
+ state "Endorse" {
+ type Working
+ ordinal 1
+ to "Cancelled"
+ to "Analyze" AsDefault
+ rule RequireStateHourSpentPrompt
+ layout {
+ widget "Title"
+ widget "Description"
+ widget "Proposed Resolution"
+ composite {
+ numColumns 6
+ attributeWidget "ats.Change Type"
+ attributeWidget "ats.Priority"
+ attributeWidget "ats.Need By"
+ }
+ attributeWidget "ats.Validation Required"
+ attributeWidget "ats.Work Package"
+ widget "User Community"
+ }
+ }
+} \ No newline at end of file

Back to the top