1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| Quintiq file version 2.0
| #parent: #root
| Method UIGetStatusImage (
| output String tooltip_o,
| output String image_o,
| output Boolean visible_o
| ) declarative remote
| {
| TextBody:
| [*
| // jlw3 May-6-2016 (created)
|
| image_o := "SMILEY";
| tooltip_o := Translations::MPSync_NoConstraint();
| visible_o := true;
|
| if( not this.GetIsDataValid() )
| {
| image_o := "SAD-SMILEY";
| tooltip_o := Translations::MPSync_DataIsNotClean() + String::NewLine() + this.GetInvalidObjectName();
| }
| *]
| }
|
|