1515
1616************************************************************************ */
1717
18- qx . Class . define ( "osparc.jobs.RunsWindow " , {
18+ qx . Class . define ( "osparc.jobs.ActivityCenterWindow " , {
1919 extend : osparc . ui . window . SingletonWindow ,
2020
2121 construct : function ( ) {
22- this . base ( arguments , "runs" , this . tr ( "Runs and Clusters " ) ) ;
22+ this . base ( arguments , "runs" , this . tr ( "Activity Center " ) ) ;
2323
2424 this . set ( {
2525 layout : new qx . ui . layout . VBox ( ) ,
@@ -35,7 +35,7 @@ qx.Class.define("osparc.jobs.RunsWindow", {
3535
3636 statics : {
3737 openWindow : function ( ) {
38- const runsWindow = new osparc . jobs . RunsWindow ( ) ;
38+ const runsWindow = new osparc . jobs . ActivityCenterWindow ( ) ;
3939 runsWindow . center ( ) ;
4040 runsWindow . open ( ) ;
4141 return runsWindow ;
@@ -49,26 +49,26 @@ qx.Class.define("osparc.jobs.RunsWindow", {
4949 flex : 1
5050 } ) ;
5151
52- const runsAndClusters = new osparc . jobs . RunsAndClusters ( ) ;
52+ const runsBrowser = new osparc . jobs . RunsBrowser ( ) ;
5353 const subRunsBrowser = new osparc . jobs . SubRunsBrowser ( ) ;
54- stack . add ( runsAndClusters ) ;
54+ stack . add ( runsBrowser ) ;
5555 stack . add ( subRunsBrowser ) ;
5656
57- runsAndClusters . addListener ( "runSelected" , e => {
57+ runsBrowser . addListener ( "runSelected" , e => {
5858 const project = e . getData ( ) ;
5959 subRunsBrowser . setProject ( project ) ;
6060 this . getChildControl ( "title" ) . setValue ( this . tr ( "Runs" ) ) ;
6161 stack . setSelection ( [ subRunsBrowser ] ) ;
6262 } ) ;
6363
6464 subRunsBrowser . addListener ( "backToRuns" , ( ) => {
65- runsAndClusters . getChildControl ( "runs-browser" ) . reloadRuns ( ) ;
66- this . getChildControl ( "title" ) . setValue ( this . tr ( "Runs and Clusters " ) ) ;
67- stack . setSelection ( [ runsAndClusters ] ) ;
65+ runsBrowser . getChildControl ( "runs-browser" ) . reloadRuns ( ) ;
66+ this . getChildControl ( "title" ) . setValue ( this . tr ( "Activity Center " ) ) ;
67+ stack . setSelection ( [ runsBrowser ] ) ;
6868 } ) ;
6969
7070 this . addListener ( "close" , ( ) => {
71- runsAndClusters . getChildControl ( "runs-browser" ) . stopInterval ( ) ;
71+ runsBrowser . getChildControl ( "runs-browser" ) . stopInterval ( ) ;
7272 subRunsBrowser . stopInterval ( ) ;
7373 } ) ;
7474 } ,
0 commit comments