Skip to content

Commit 9bc2e22

Browse files
committed
WorkflowDesignerConstants.js
1 parent b17f9cd commit 9bc2e22

1 file changed

Lines changed: 166 additions & 0 deletions

File tree

SnippetCode/DesignerCostants.js

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
var WorkflowDesignerConstants = {
2+
SelectColor: 'yellow',
3+
ActivityColor: '#F2F2F2',
4+
ActivityInitialColor: '#CCCC99',
5+
ActivityFinalColor: '#CC9966',
6+
ActivityCurrentColor: '#00CCCC',
7+
8+
DeleteConfirm: 'Are you sure you want to delete selected item(s)?',
9+
FieldIsRequired: 'Field is required!',
10+
FieldMustBeUnique: 'Field must be unique!',
11+
ButtonTextDelete: 'Delete',
12+
ButtonTextCreate: 'Create',
13+
14+
InfoBlockLabel:{
15+
Activity: 'Activity: ',
16+
Transition: 'Transition: ',
17+
Command: 'Command: ',
18+
},
19+
20+
ActivityNamePrefix: 'Activity_',
21+
ActivityFormLabel: {
22+
Title: 'Activity',
23+
Name: 'Name',
24+
State: 'State',
25+
IsInitial: 'Initial',
26+
IsFinal: 'Final',
27+
IsForSetState: 'For set state',
28+
IsAutoSchemeUpdate: 'Auto scheme update',
29+
Implementation: 'Implementation',
30+
PreExecutionImplementation: 'PreExecution Implementation',
31+
ImpOrder: 'Order',
32+
ImpAction: 'Action',
33+
ImpActionParameter: 'Action parameter',
34+
AlwaysConditionShouldBeSingle: 'Always condition should be single',
35+
OtherwiseConditionShouldBeSingle: 'Otherwise condition should be single'
36+
37+
},
38+
39+
TransitionFormLabel: {
40+
Title: 'Transition',
41+
Name: 'Name',
42+
From: 'From activity',
43+
To: 'To activity',
44+
Classifier: 'Classifier',
45+
Restrictions: 'Restrictions',
46+
RestrictionsType: 'Type',
47+
RestrictionsActor: 'Actor',
48+
Condition: 'Condition',
49+
ConditionType: 'Type',
50+
ConditionAction: 'Action',
51+
ResultOnPreExecution: 'Result on PreExecution',
52+
Trigger: 'Trigger',
53+
TriggerType: 'Type',
54+
TriggerCommand: 'Command',
55+
TriggerTimer: 'Timer',
56+
ConditionActionParameter: 'Action parameter',
57+
ConditionInversion: 'Invert action result',
58+
ConditionsConcatenationType: 'Conditions concatenation type',
59+
AllowConcatenationType: 'Concat allow as',
60+
RestrictConcatenationType: 'Concat restrict as',
61+
ConditionsListShouldNotBeEmpty: 'Conditions list should not be empty',
62+
IsFork: 'Is fork',
63+
MergeViaSetState: 'Merge subprocess via set state',
64+
DisableParentStateControl: 'Disable parent process control'
65+
66+
},
67+
LocalizationFormLabel: {
68+
Title: 'Localization',
69+
ObjectName: 'ObjectName',
70+
Type: 'Type',
71+
IsDefault: 'IsDefault',
72+
Culture: 'Culture',
73+
Value: 'Value',
74+
Types: ['Command', 'State', 'Parameter'],
75+
},
76+
77+
TimerFormLabel: {
78+
Title: 'Timers',
79+
Name: 'Name',
80+
Type: 'Type',
81+
Value: 'Value',
82+
Types: ['Command', 'State', 'Parameter'],
83+
NotOverrideIfExists : "Do not override timer if exists"
84+
},
85+
86+
ParameterFormLabel: {
87+
Title: 'Parameters',
88+
Name: 'Name',
89+
Type: 'Type',
90+
Purpose: 'Purpose',
91+
Value: 'Value',
92+
DefaultValue: 'DefaultValue'
93+
},
94+
95+
ActorFormLabel: {
96+
Title: 'Actors',
97+
Name: 'Name',
98+
Rule: 'Rule',
99+
Value: 'Value'
100+
},
101+
102+
CommandFormLabel: {
103+
Title: 'Command',
104+
Name: "Name",
105+
InputParameters: "Input Parameters",
106+
InputParametersName: 'Name',
107+
InputParametersParameter: 'Parameter'
108+
},
109+
110+
AdditionalParamsFormLabel: {
111+
Title: 'Additional Parameters',
112+
IsObsolete: "IsObsolete",
113+
DefiningParameters: 'Defining parameters',
114+
ProcessParameters: 'Process parameters',
115+
ProcessParametersName: 'Name',
116+
ProcessParametersValue: 'Value'
117+
},
118+
CodeActionsFormLabel: {
119+
Title: 'Code actions',
120+
Name: 'Name',
121+
ActionCode: 'Action code',
122+
IsGlobal: 'Is global',
123+
Type: 'Type'
124+
},
125+
126+
ToolbarLabel: {
127+
CreateActivity: 'Create activity',
128+
CopySelected: 'Copy selected',
129+
Undo: 'Undo',
130+
Redo: 'Redo',
131+
Move: 'Move',
132+
ZoomIn: 'Zoom In',
133+
ZoomOut: 'Zoom Out',
134+
ZoomPositionDefault: 'Zoom and position default set',
135+
AutoArrangement: 'Auto arrangement',
136+
Actors: 'Actors',
137+
Commands: 'Commands',
138+
Parameters: 'Parameters',
139+
Localization: 'Localization',
140+
Timers: 'Timers',
141+
AdditionalParameters: 'Additional Parameters',
142+
CodeActions: 'Code actions'
143+
},
144+
ErrorActivityIsInitialCountText: "One element must be marked flag Initial",
145+
ErrorReadOnlySaveText: "The Designer in ReadOnly mode, you can't save it.",
146+
FormMaxHeight: 500,
147+
EditCodeSettings: {
148+
Height: 600,
149+
Width: 1000,
150+
CodeHeight: 390,
151+
MessageBoxHeight: 400,
152+
MessageBoxWidth: 600,
153+
SuccessBoxHeight: 150,
154+
SuccessBoxWidth: 300
155+
},
156+
EditCodeLabel: {
157+
Title: "Edit code",
158+
EditCodeButton: 'Edit code',
159+
Usings: 'Usings',
160+
Compile: "Compile",
161+
CompileSucceeded: "Compilation succeeded.",
162+
Success: "Success",
163+
Error: "Error",
164+
OK: "OK"
165+
}
166+
};

0 commit comments

Comments
 (0)