|
29 | 29 | class='vtk-icon-doc-text clickable padding inspector-selector' data-type='files' data-toggle='tooltip' data-placement='bottom' title='Show File List'> |
30 | 30 | </span> |
31 | 31 | <span |
32 | | - class='vtk-icon-plus clickable padding inspector-selector' data-type='sources' data-toggle='tooltip' data-placement='bottom' title='Show Sources'> |
33 | | - </span> |
34 | | - <span |
35 | | - class='vtk-icon-filter clickable padding inspector-selector need-input-source' data-type='filters' data-toggle='tooltip' data-placement='bottom' title='Show Filters'> |
| 32 | + class='vtk-icon-plus clickable padding inspector-selector' data-type='sources' data-toggle='tooltip' data-placement='bottom' title='Show Sources/Filters'> |
36 | 33 | </span> |
37 | 34 | <span |
38 | 35 | class='vtk-icon-info-1 clickable padding inspector-selector need-input-source' data-type='info' data-toggle='tooltip' data-placement='bottom' title='Show Data Info'> |
|
78 | 75 | <div class="row inspector" data-type="sources"> |
79 | 76 | <div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 pv-source-list nopadding'> |
80 | 77 | </div> |
81 | | - </div> |
82 | | - <div class="row inspector" data-type="filters"> |
83 | | - <div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 pv-filter-list nopadding'> |
| 78 | + <div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 pv-filter-list nopadding need-input-source'> |
84 | 79 | </div> |
85 | 80 | </div> |
86 | 81 | <div class="row inspector" data-type="info"> |
|
90 | 85 | <div class="row inspector" data-type="preferences"> |
91 | 86 | <div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 pv-preferences'> |
92 | 87 | <div class="row" style='margin-top: 15px;'> |
93 | | - <label class='col-sm-5 control-label'>Rendering</label> |
| 88 | + <label class='col-sm-5 control-label' |
| 89 | + data-toggle='tooltip' |
| 90 | + data-placement='right' |
| 91 | + title='Select rendering mode'>Rendering</label> |
94 | 92 | <div class='col-sm-5'> |
95 | 93 | <select class='pv-update-viewport' data-property-name='ActiveRendererType'> |
96 | 94 | <option value='image'>Remote</option> |
|
100 | 98 | </div> |
101 | 99 | </div> |
102 | 100 | <div class="row"> |
103 | | - <label class='col-sm-5 control-label'>Rendering statistics</label> |
| 101 | + <label class='col-sm-5 control-label' |
| 102 | + data-toggle='tooltip' |
| 103 | + data-placement='right' |
| 104 | + title='Toggle local rendering statistics'>Statistics</label> |
104 | 105 | <div class='col-sm-5'> |
105 | 106 | <input type='checkbox' class='pv-update-viewport checkbox' data-property-name='Stats'/> |
106 | 107 | </div> |
107 | 108 | </div> |
| 109 | + <div class="row"> |
| 110 | + <label class='col-sm-5 control-label' |
| 111 | + data-toggle='tooltip' |
| 112 | + data-placement='right' |
| 113 | + title='Shutdown server process when leaving page'>Auto shutdown</label> |
| 114 | + <div class='col-sm-5'> |
| 115 | + <input type='checkbox' class='pv-update-viewport checkbox' data-property-name='CloseBehavior' checked/> |
| 116 | + </div> |
| 117 | + </div> |
| 118 | + <div class="row" style="height: 15px;"><br/></div> |
108 | 119 | </div> |
109 | 120 | <div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 pv-global-settings-editor'> |
110 | 121 | </div> |
|
169 | 180 | sessionManagerURL: vtkWeb.properties.sessionManagerURL, |
170 | 181 | application: "visualizer" |
171 | 182 | }, |
| 183 | + reallyStop = true, |
172 | 184 | stop = vtkWeb.NoOp, |
173 | 185 | start = function(connection) { |
174 | 186 | $('.app-wait-start-page').remove(); |
|
183 | 195 |
|
184 | 196 | // Update stop method to use the connection |
185 | 197 | stop = function() { |
186 | | - connection.session.call('application.exit'); |
| 198 | + if (reallyStop === true) { |
| 199 | + connection.session.call('application.exit'); |
| 200 | + } |
187 | 201 | } |
188 | 202 | }; |
189 | 203 |
|
|
0 commit comments