File tree 1 file changed +5
-6
lines changed
services/web/client/source/class/qxapp/component/widget
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -37,19 +37,18 @@ qx.Class.define("qxapp.component.widget.NodePorts", {
37
37
* @param isInputModel {Boolean} false for representing defaultInputs
38
38
*/
39
39
construct : function ( node , isInputModel = true ) {
40
- this . _setLayout ( new qx . ui . layout . Grow ( ) ) ;
40
+ this . setIsInputModel ( isInputModel ) ;
41
+ this . setNode ( node ) ;
41
42
42
- const label = new qx . ui . basic . Label ( ) ;
43
- node . bind ( "label" , label , "value" ) ;
43
+ this . _setLayout ( new qx . ui . layout . Grow ( ) ) ;
44
44
45
45
const nodeUIPorts = this . __nodeUIPorts = new qx . ui . container . Composite ( new qx . ui . layout . VBox ( ) ) . set ( {
46
46
appearance : "node-ports"
47
47
} ) ;
48
48
49
- this . setIsInputModel ( isInputModel ) ;
50
- this . setNode ( node ) ;
49
+ this . base ( arguments , node . getLabel ( ) , nodeUIPorts ) ;
51
50
52
- this . base ( arguments , label . getValue ( ) , nodeUIPorts ) ;
51
+ node . bind ( "label" , this , "title" ) ;
53
52
} ,
54
53
55
54
properties : {
You can’t perform that action at this time.
0 commit comments