@@ -78,18 +78,17 @@ qx.Class.define("osparc.form.renderer.PropForm", {
7878 supportedTypes . push ( osparc . node . ParameterEditor . getParameterOutputTypeFromMD ( paramMD ) ) ;
7979 } ) ;
8080 return supportedTypes . includes ( field . type ) ;
81- }
82- } ,
81+ } ,
8382
84- // eslint-disable-next-line qx-rules/no-refs-in-members
85- members : {
86- _retrieveStatus : {
83+ RETRIEVE_STATUS : {
8784 failed : - 1 ,
8885 empty : 0 ,
8986 retrieving : 1 ,
9087 succeed : 2
91- } ,
88+ }
89+ } ,
9290
91+ members : {
9392 __ctrlLinkMap : null ,
9493 __linkUnlinkStackMap : null ,
9594 __fieldOptsBtnMap : null ,
@@ -529,7 +528,7 @@ qx.Class.define("osparc.form.renderer.PropForm", {
529528 } ,
530529
531530 retrievingPortData : function ( portId ) {
532- const status = this . _retrieveStatus . retrieving ;
531+ const status = this . self ( ) . RETRIEVE_STATUS . retrieving ;
533532 if ( portId ) {
534533 let data = this . _getCtrlFieldChild ( portId ) ;
535534 if ( data ) {
@@ -553,9 +552,9 @@ qx.Class.define("osparc.form.renderer.PropForm", {
553552 } ,
554553
555554 retrievedPortData : function ( portId , succeed , dataSize = - 1 ) {
556- let status = succeed ? this . _retrieveStatus . succeed : this . _retrieveStatus . failed ;
555+ let status = succeed ? this . self ( ) . RETRIEVE_STATUS . succeed : this . self ( ) . RETRIEVE_STATUS . failed ;
557556 if ( parseInt ( dataSize ) === 0 ) {
558- status = this . _retrieveStatus . empty ;
557+ status = this . self ( ) . RETRIEVE_STATUS . empty ;
559558 }
560559 if ( portId ) {
561560 let data = this . _getCtrlFieldChild ( portId ) ;
@@ -580,16 +579,16 @@ qx.Class.define("osparc.form.renderer.PropForm", {
580579 __setRetrievingStatus : function ( status , portId , idx , row ) {
581580 let icon ;
582581 switch ( status ) {
583- case this . _retrieveStatus . failed :
582+ case this . self ( ) . RETRIEVE_STATUS . failed :
584583 icon = this . self ( ) . getRetrievedAtom ( false ) ;
585584 break ;
586- case this . _retrieveStatus . empty :
585+ case this . self ( ) . RETRIEVE_STATUS . empty :
587586 icon = this . self ( ) . getRetrievedEmpty ( ) ;
588587 break ;
589- case this . _retrieveStatus . retrieving :
588+ case this . self ( ) . RETRIEVE_STATUS . retrieving :
590589 icon = this . self ( ) . getRetrievingAtom ( ) ;
591590 break ;
592- case this . _retrieveStatus . succeed :
591+ case this . self ( ) . RETRIEVE_STATUS . succeed :
593592 icon = this . self ( ) . getRetrievedAtom ( true ) ;
594593 break ;
595594 }
0 commit comments