|
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'> |
|
75 | 72 | <div class="row inspector" data-type="sources"> |
76 | 73 | <div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 pv-source-list nopadding'> |
77 | 74 | </div> |
78 | | - </div> |
79 | | - <div class="row inspector" data-type="filters"> |
80 | | - <div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 pv-filter-list nopadding'> |
| 75 | + <div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 pv-filter-list nopadding need-input-source'> |
81 | 76 | </div> |
82 | 77 | </div> |
83 | 78 | <div class="row inspector" data-type="info"> |
|
87 | 82 | <div class="row inspector" data-type="preferences"> |
88 | 83 | <div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 pv-preferences'> |
89 | 84 | <div class="row" style='margin-top: 15px;'> |
90 | | - <label class='col-sm-5 control-label'>Rendering</label> |
| 85 | + <label class='col-sm-5 control-label' |
| 86 | + data-toggle='tooltip' |
| 87 | + data-placement='right' |
| 88 | + title='Select rendering mode'>Rendering</label> |
91 | 89 | <div class='col-sm-5'> |
92 | 90 | <select class='pv-update-viewport' data-property-name='ActiveRendererType'> |
93 | 91 | <option value='image'>Remote</option> |
|
97 | 95 | </div> |
98 | 96 | </div> |
99 | 97 | <div class="row"> |
100 | | - <label class='col-sm-5 control-label'>Rendering statistics</label> |
| 98 | + <label class='col-sm-5 control-label' |
| 99 | + data-toggle='tooltip' |
| 100 | + data-placement='right' |
| 101 | + title='Toggle local rendering statistics'>Statistics</label> |
101 | 102 | <div class='col-sm-5'> |
102 | 103 | <input type='checkbox' class='pv-update-viewport checkbox' data-property-name='Stats'/> |
103 | 104 | </div> |
104 | 105 | </div> |
| 106 | + <div class="row"> |
| 107 | + <label class='col-sm-5 control-label' |
| 108 | + data-toggle='tooltip' |
| 109 | + data-placement='right' |
| 110 | + title='Shutdown server process when leaving page'>Auto shutdown</label> |
| 111 | + <div class='col-sm-5'> |
| 112 | + <input type='checkbox' class='pv-update-viewport checkbox' data-property-name='CloseBehavior' checked/> |
| 113 | + </div> |
| 114 | + </div> |
| 115 | + <div class="row" style="height: 15px;"><br/></div> |
105 | 116 | </div> |
106 | 117 | <div class='col-xs-12 col-sm-12 col-md-12 col-lg-12 pv-global-settings-editor'> |
107 | 118 | </div> |
|
119 | 130 | sessionManagerURL: vtkWeb.properties.sessionManagerURL, |
120 | 131 | application: "visualizer" |
121 | 132 | }, |
| 133 | + reallyStop = true, |
122 | 134 | stop = vtkWeb.NoOp, |
123 | 135 | start = function(connection) { |
124 | 136 | $('.app-wait-start-page').remove(); |
|
132 | 144 |
|
133 | 145 | // Update stop method to use the connection |
134 | 146 | stop = function() { |
135 | | - connection.session.call('application.exit'); |
| 147 | + if (reallyStop === true) { |
| 148 | + connection.session.call('application.exit'); |
| 149 | + } |
136 | 150 | } |
137 | 151 | }; |
138 | 152 |
|
|
0 commit comments