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
27
28
29
30
31
32
33
34
35
36
37
38
| Quintiq file version 2.0
| #parent: #root
| Method New (
| internal[GUIComponent] parent,
| structured[LibOpt_Analysis] owners,
| LibOpt_Component component,
| String attribute_path,
| String attribute_name,
| Real value,
| Boolean auto_update
| ) as structured[LibOpt_AnalysisFilterAttribute] id:Method_DialogLibOpt_AnalysisFilterAttribute_New
| {
| #keys: '[139164.3.1997350211]'
| Body:
| [*
| data := construct( shadow[LibOpt_AnalysisFilterAttribute], Value := value );
| data.AttributePath( attribute_path );
| data.AttributeName( attribute_name );
| data.Component( relset, component );
|
| Dialog.Data( data );
|
| result := construct( LibOpt_AnalysisFilterAttributes );
| if ( Dialog.DoModal( parent ) > 0 )
| {
| result := LibOpt_AnalysisFilterAttribute::Create( owners,
| data.Component(),
| data.AttributePath(),
| data.AttributeName(),
| data.Sense(),
| data.Value(),
| auto_update );
| }
|
| return & result;
| *]
| ReturnsOwning: true
| }
|
|