| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod CanSetIsIgnored ( |  |   SCK_Groups groups, |  |   Boolean is_ignored, |  |   output String feedback_o |  | ) const declarative remote as Boolean |  | { |  |   Description: 'Indicates if the ignored flag of the groups in [groups] can be set to [is_ignored] and provides feedback [feedback_o] if this is not the case' |  |   TextBody: |  |   [* |  |     result := true; |  |      |  |     if ( groups.Size() > 0 and forall( groups, Elements, v, v.IsIgnored() = is_ignored ) ) |  |     { |  |       manager := groups.Element( 0 ).Manager(); |  |       items := manager.TRANSLATION_Groups(); |  |       feedback_o := ifexpr( is_ignored |  |                           , manager.TRANSLATION_AlreadyIgnoredItems( items ) |  |                           , manager.TRANSLATION_AlreadyUnIgnoredItems( items ) ); |  |       result := false;   |  |     } |  |      |  |     return result; |  |   *] |  | } | 
 |