Changeset 3508
- Timestamp:
- 04/23/10 06:50:25 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.PluginInfrastructure
- Files:
-
- 5 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/InstallationManager.cs ¶
r3474 r3508 58 58 return plugins; 59 59 } 60 catch (FaultException) { 61 client.Abort(); 62 return new IPluginDescription[] { }; 60 catch (TimeoutException e) { 61 client.Abort(); 62 throw new InstallationManagerException("Time out while connecting to server.", e); 63 } 64 catch (FaultException e) { 65 client.Abort(); 66 throw new InstallationManagerException("Fault in connection to server.", e); 67 } 68 catch (CommunicationException e) { 69 client.Abort(); 70 throw new InstallationManagerException("General communication exception in connection to server.", e); 63 71 } 64 72 } … … 75 83 return products; 76 84 } 77 catch (FaultException) { 78 client.Abort(); 79 return new DeploymentService.ProductDescription[] { }; 85 catch (TimeoutException e) { 86 client.Abort(); 87 throw new InstallationManagerException("Time out while connecting to server.", e); 88 } 89 catch (FaultException e) { 90 client.Abort(); 91 throw new InstallationManagerException("Fault in connection to server.", e); 92 } 93 catch (CommunicationException e) { 94 client.Abort(); 95 throw new InstallationManagerException("General communication exception in connection to server.", e); 80 96 } 81 97 } … … 98 114 client.Close(); 99 115 } 100 catch (FaultException) { 101 client.Abort(); 116 catch (TimeoutException e) { 117 client.Abort(); 118 throw new InstallationManagerException("Time out while connecting to server.", e); 119 } 120 catch (FaultException e) { 121 client.Abort(); 122 throw new InstallationManagerException("Fault in connection to server.", e); 123 } 124 catch (CommunicationException e) { 125 client.Abort(); 126 throw new InstallationManagerException("General communication exception in connection to server.", e); 102 127 } 103 128 } … … 121 146 client.Close(); 122 147 } 123 catch (FaultException) { 124 client.Abort(); 148 catch (TimeoutException e) { 149 client.Abort(); 150 throw new InstallationManagerException("Time out while connecting to server.", e); 151 } 152 catch (FaultException e) { 153 client.Abort(); 154 throw new InstallationManagerException("Fault in connection to server.", e); 155 } 156 catch (CommunicationException e) { 157 client.Abort(); 158 throw new InstallationManagerException("General communication exception in connection to server.", e); 125 159 } 126 160 } -
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/InstallationManagerForm.Designer.cs ¶
r3474 r3508 65 65 this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 66 66 this.connectionSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 67 this.uploadPluginsTabPage = new System.Windows.Forms.TabPage(); 68 this.manageProductsTabPage = new System.Windows.Forms.TabPage(); 67 69 this.statusStrip.SuspendLayout(); 68 70 this.tabControl.SuspendLayout(); … … 100 102 this.removeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 101 103 this.removeButton.Enabled = false; 102 this.removeButton.Location = new System.Drawing.Point(95, 313); 104 this.removeButton.Image = global::HeuristicLab.PluginInfrastructure.Properties.Resources.VS2008ImageLibrary_CommonElements_Actions_Remove; 105 this.removeButton.Location = new System.Drawing.Point(103, 305); 103 106 this.removeButton.Name = "removeButton"; 104 this.removeButton.Size = new System.Drawing.Size(1 06, 23);107 this.removeButton.Size = new System.Drawing.Size(110, 31); 105 108 this.removeButton.TabIndex = 11; 106 109 this.removeButton.Text = "Delete Selected"; 110 this.removeButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 107 111 this.removeButton.UseVisualStyleBackColor = true; 108 this.removeButton.Click += new System.EventHandler(this.remove Button_Click);112 this.removeButton.Click += new System.EventHandler(this.removeLocalButton_Click); 109 113 // 110 114 // installButton … … 112 116 this.installButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 113 117 this.installButton.Enabled = false; 114 this.installButton.Location = new System.Drawing.Point(87, 313); 118 this.installButton.Image = global::HeuristicLab.PluginInfrastructure.Properties.Resources.VS2008ImageLibrary_Objects_Install; 119 this.installButton.Location = new System.Drawing.Point(84, 305); 115 120 this.installButton.Name = "installButton"; 116 this.installButton.Size = new System.Drawing.Size(1 32, 23);121 this.installButton.Size = new System.Drawing.Size(140, 31); 117 122 this.installButton.TabIndex = 15; 118 123 this.installButton.Text = "Install Selected Items"; 124 this.installButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 119 125 this.installButton.UseVisualStyleBackColor = true; 120 this.installButton.Click += new System.EventHandler(this.update Button_Click);126 this.installButton.Click += new System.EventHandler(this.updateOrInstallButton_Click); 121 127 // 122 128 // tabControl … … 127 133 this.tabControl.Controls.Add(this.localPluginsTabPage); 128 134 this.tabControl.Controls.Add(this.availablePluginsTabPage); 135 this.tabControl.Controls.Add(this.uploadPluginsTabPage); 136 this.tabControl.Controls.Add(this.manageProductsTabPage); 129 137 this.tabControl.Controls.Add(this.logTabPage); 130 138 this.tabControl.Location = new System.Drawing.Point(12, 27); … … 151 159 // 152 160 this.updateButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 153 this.updateButton.Location = new System.Drawing.Point(6, 313); 161 this.updateButton.Enabled = false; 162 this.updateButton.Image = global::HeuristicLab.PluginInfrastructure.Properties.Resources.VS2008ImageLibrary_Objects_Internet; 163 this.updateButton.Location = new System.Drawing.Point(6, 305); 154 164 this.updateButton.Name = "updateButton"; 155 this.updateButton.Size = new System.Drawing.Size( 83, 23);165 this.updateButton.Size = new System.Drawing.Size(91, 31); 156 166 this.updateButton.TabIndex = 12; 157 167 this.updateButton.Text = "Update All"; 168 this.updateButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 158 169 this.updateButton.UseVisualStyleBackColor = true; 170 this.updateButton.Click += new System.EventHandler(this.updateAllButton_Click); 159 171 // 160 172 // localPluginManagerView … … 166 178 this.localPluginManagerView.Name = "localPluginManagerView"; 167 179 this.localPluginManagerView.Plugins = null; 168 this.localPluginManagerView.Size = new System.Drawing.Size(569, 301);180 this.localPluginManagerView.Size = new System.Drawing.Size(569, 293); 169 181 this.localPluginManagerView.TabIndex = 0; 170 182 this.localPluginManagerView.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.localPluginManager_ItemChecked); … … 194 206 this.remotePluginInstaller.Products = new HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.ProductDescription[0]; 195 207 this.remotePluginInstaller.ShowAllPlugins = false; 196 this.remotePluginInstaller.Size = new System.Drawing.Size(571, 304);208 this.remotePluginInstaller.Size = new System.Drawing.Size(571, 293); 197 209 this.remotePluginInstaller.TabIndex = 14; 198 210 this.remotePluginInstaller.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.remotePluginInstaller_ItemChecked); … … 201 213 // 202 214 this.refreshButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 203 this.refreshButton.Location = new System.Drawing.Point(6, 313); 215 this.refreshButton.Image = global::HeuristicLab.PluginInfrastructure.Properties.Resources.VS2008ImageLibrary_Objects_Internet; 216 this.refreshButton.Location = new System.Drawing.Point(6, 305); 204 217 this.refreshButton.Name = "refreshButton"; 205 this.refreshButton.Size = new System.Drawing.Size(7 5, 23);218 this.refreshButton.Size = new System.Drawing.Size(72, 31); 206 219 this.refreshButton.TabIndex = 11; 207 220 this.refreshButton.Text = "Refresh"; 221 this.refreshButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 208 222 this.refreshButton.UseVisualStyleBackColor = true; 209 this.refreshButton.Click += new System.EventHandler(this.refresh Button_Click);223 this.refreshButton.Click += new System.EventHandler(this.refreshRemoteButton_Click); 210 224 // 211 225 // logTabPage … … 281 295 // connectionSettingsToolStripMenuItem 282 296 // 297 this.connectionSettingsToolStripMenuItem.Image = global::HeuristicLab.PluginInfrastructure.Properties.Resources.VS2008ImageLibrary_Objects_NetworkConnections; 283 298 this.connectionSettingsToolStripMenuItem.Name = "connectionSettingsToolStripMenuItem"; 284 299 this.connectionSettingsToolStripMenuItem.Size = new System.Drawing.Size(190, 22); 285 300 this.connectionSettingsToolStripMenuItem.Text = "Connection Settings..."; 286 301 this.connectionSettingsToolStripMenuItem.Click += new System.EventHandler(this.connectionSettingsToolStripMenuItem_Click); 302 // 303 // uploadPluginsTabPage 304 // 305 this.uploadPluginsTabPage.Location = new System.Drawing.Point(4, 22); 306 this.uploadPluginsTabPage.Name = "uploadPluginsTabPage"; 307 this.uploadPluginsTabPage.Padding = new System.Windows.Forms.Padding(3); 308 this.uploadPluginsTabPage.Size = new System.Drawing.Size(583, 342); 309 this.uploadPluginsTabPage.TabIndex = 3; 310 this.uploadPluginsTabPage.Text = "Upload Plugins"; 311 this.uploadPluginsTabPage.UseVisualStyleBackColor = true; 312 // 313 // manageProductsTabPage 314 // 315 this.manageProductsTabPage.Location = new System.Drawing.Point(4, 22); 316 this.manageProductsTabPage.Name = "manageProductsTabPage"; 317 this.manageProductsTabPage.Padding = new System.Windows.Forms.Padding(3); 318 this.manageProductsTabPage.Size = new System.Drawing.Size(583, 342); 319 this.manageProductsTabPage.TabIndex = 4; 320 this.manageProductsTabPage.Text = "Manage Products"; 321 this.manageProductsTabPage.UseVisualStyleBackColor = true; 287 322 // 288 323 // InstallationManagerForm … … 334 369 private System.Windows.Forms.ToolStripMenuItem connectionSettingsToolStripMenuItem; 335 370 private System.Windows.Forms.Button updateButton; 371 private System.Windows.Forms.TabPage uploadPluginsTabPage; 372 private System.Windows.Forms.TabPage manageProductsTabPage; 336 373 } 337 374 } -
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/InstallationManagerForm.cs ¶
r3474 r3508 51 51 private BackgroundWorker removePluginsBackgroundWorker; 52 52 private BackgroundWorker refreshLocalPluginsBackgroundWorker; 53 private BackgroundWorker updateAllPluginsBackgroundWorker; 53 54 private PluginManager pluginManager; 54 55 private string pluginDir; … … 80 81 refreshLocalPluginsBackgroundWorker.DoWork += new DoWorkEventHandler(refreshLocalPluginsBackgroundWorker_DoWork); 81 82 refreshLocalPluginsBackgroundWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(refreshLocalPluginsBackgroundWorker_RunWorkerCompleted); 83 84 updateAllPluginsBackgroundWorker = new BackgroundWorker(); 85 updateAllPluginsBackgroundWorker.DoWork += new DoWorkEventHandler(updateAllPluginsBackgroundWorker_DoWork); 86 updateAllPluginsBackgroundWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(updateAllPluginsBackgroundWorker_RunWorkerCompleted); 82 87 #endregion 83 88 … … 90 95 installationManager.PreUpdatePlugin += new EventHandler<PluginInfrastructureCancelEventArgs>(installationManager_PreUpdatePlugin); 91 96 92 RefreshLocalPluginListAsync(); 93 } 97 // show or hide controls for uploading plugins based on setting 98 if (!HeuristicLab.PluginInfrastructure.Properties.Settings.Default.ShowPluginUploadControls) { 99 tabControl.Controls.Remove(uploadPluginsTabPage); 100 tabControl.Controls.Remove(manageProductsTabPage); 101 } 102 103 UpdateLocalPluginList(pluginManager.Plugins); 104 UpdateControlsConnected(); 105 } 106 107 #region event handlers for update all plugins backgroundworker 108 void updateAllPluginsBackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { 109 if (e.Error != null) { 110 MessageBox.Show("There was an error while connecting to the server." + Environment.NewLine + 111 "Please check your connection settings and user credentials."); 112 UpdateControlsDisconnected(); 113 } else { 114 RefreshLocalPluginListAsync(); 115 UpdateControlsConnected(); 116 } 117 } 118 119 void updateAllPluginsBackgroundWorker_DoWork(object sender, DoWorkEventArgs e) { 120 IEnumerable<IPluginDescription> installedPlugins = (IEnumerable<IPluginDescription>)e.Argument; 121 var remotePlugins = installationManager.GetRemotePluginList(); 122 // if there is a local plugin with same name and same major and minor version then it's an update 123 var pluginsToUpdate = from remotePlugin in remotePlugins 124 let matchingLocalPlugins = from installedPlugin in installedPlugins 125 where installedPlugin.Name == remotePlugin.Name 126 where installedPlugin.Version.Major == remotePlugin.Version.Major 127 where installedPlugin.Version.Minor == remotePlugin.Version.Minor 128 where installedPlugin.Version.Build <= remotePlugin.Version.Build || 129 installedPlugin.Version.Revision < remotePlugin.Version.Revision 130 select installedPlugin 131 where matchingLocalPlugins.Count() > 0 132 select remotePlugin; 133 installationManager.Update(pluginsToUpdate); 134 } 135 #endregion 94 136 95 137 #region event handlers for refresh local plugin list backgroundworker … … 109 151 #region event handlers for plugin removal background worker 110 152 void removePluginsBackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { 111 if (!e.Cancelled && e.Error == null) { 153 if (e.Error != null) { 154 MessageBox.Show("There was problem while deleting files." + Environment.NewLine + 155 e.Error.Message); 156 UpdateControlsDisconnected(); 157 } else { 112 158 RefreshLocalPluginListAsync(); 113 159 UpdateControlsConnected(); … … 123 169 #region event handlers for plugin update background worker 124 170 void updateOrInstallPluginsBackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { 125 if (!e.Cancelled && e.Error == null) { 171 if (e.Error != null) { 172 MessageBox.Show("There was an error while connecting to the server." + Environment.NewLine + 173 "Please check your connection settings and user credentials."); 174 UpdateControlsDisconnected(); 175 } else { 126 176 RefreshLocalPluginListAsync(); 127 177 RefreshRemotePluginListAsync(); 128 178 UpdateControlsConnected(); 129 } else {130 UpdateControlsDisconnected();131 179 } 132 180 } … … 141 189 #region event handlers for refresh server plugins background worker 142 190 void refreshServerPluginsBackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { 143 if (!e.Cancelled && e.Result != null) { 191 if (e.Error != null) { 192 MessageBox.Show("There was an error while connecting to the server." + Environment.NewLine + 193 "Please check your connection settings and user credentials."); 194 UpdateControlsDisconnected(); 195 } else { 144 196 RefreshBackgroundWorkerResult refreshResult = (RefreshBackgroundWorkerResult)e.Result; 145 197 UpdateRemotePluginList(refreshResult.RemoteProducts, refreshResult.RemotePlugins); 146 198 UpdateControlsConnected(); 147 } else {148 UpdateControlsDisconnected();149 199 } 150 200 } … … 217 267 #endregion 218 268 219 private void SetStatusStrip(string msg) { 220 if (InvokeRequired) Invoke((Action<string>)SetStatusStrip, msg); 221 else { 222 toolStripStatusLabel.Text = msg; 223 logTextBox.Text += DateTime.Now + ": " + msg + Environment.NewLine; 224 } 225 } 269 226 270 227 271 #region button events 228 272 229 private void refreshButton_Click(object sender, EventArgs e) { 273 private void refreshRemoteButton_Click(object sender, EventArgs e) { 274 Cursor = Cursors.AppStarting; 230 275 RefreshRemotePluginListAsync(); 231 } 232 233 private void updateButton_Click(object sender, EventArgs e) { 276 toolStripProgressBar.Visible = true; 277 DisableControls(); 278 } 279 280 private void updateOrInstallButton_Click(object sender, EventArgs e) { 234 281 Cursor = Cursors.AppStarting; 235 282 toolStripProgressBar.Visible = true; … … 254 301 } 255 302 256 private void remove Button_Click(object sender, EventArgs e) {303 private void removeLocalButton_Click(object sender, EventArgs e) { 257 304 Cursor = Cursors.AppStarting; 258 305 toolStripProgressBar.Visible = true; … … 261 308 } 262 309 310 private void updateAllButton_Click(object sender, EventArgs e) { 311 Cursor = Cursors.AppStarting; 312 toolStripProgressBar.Visible = true; 313 updateButton.Enabled = false; 314 var installedPlugins = pluginManager.Plugins.OfType<IPluginDescription>(); 315 updateAllPluginsBackgroundWorker.RunWorkerAsync(installedPlugins); 316 } 317 318 private void connectionSettingsToolStripMenuItem_Click(object sender, EventArgs e) { 319 new ConnectionSetupView().ShowDialog(); 320 } 321 322 private void tabControl_Selected(object sender, TabControlEventArgs e) { 323 viewToolStripMenuItem.Enabled = e.TabPage == availablePluginsTabPage; 324 } 325 326 private void simpleToolStripMenuItem_Click(object sender, EventArgs e) { 327 remotePluginInstaller.ShowAllPlugins = false; 328 advancedToolStripMenuItem.Checked = false; 329 } 330 331 private void advancedToolStripMenuItem_Click(object sender, EventArgs e) { 332 remotePluginInstaller.ShowAllPlugins = true; 333 simpleToolStripMenuItem.Checked = false; 334 } 263 335 #endregion 264 336 … … 297 369 298 370 #region helper methods 371 private void SetStatusStrip(string msg) { 372 if (InvokeRequired) Invoke((Action<string>)SetStatusStrip, msg); 373 else { 374 toolStripStatusLabel.Text = msg; 375 logTextBox.Text += DateTime.Now + ": " + msg + Environment.NewLine; 376 } 377 } 299 378 300 379 private void UpdateLocalPluginList(IEnumerable<PluginDescription> plugins) { … … 347 426 private void UpdateControlsConnected() { 348 427 refreshButton.Enabled = true; 428 updateButton.Enabled = true; 349 429 toolStripProgressBar.Visible = false; 350 430 Cursor = Cursors.Default; … … 363 443 private void remotePluginInstaller_ItemChecked(object sender, ItemCheckedEventArgs e) { 364 444 installButton.Enabled = remotePluginInstaller.CheckedPlugins.Count() > 0; 365 }366 367 private void editConnectionButton_Click(object sender, EventArgs e) {368 445 } 369 446 … … 378 455 } 379 456 380 private void connectionSettingsToolStripMenuItem_Click(object sender, EventArgs e) { 381 new ConnectionSetupView().ShowDialog(); 382 } 383 384 private void tabControl_Selected(object sender, TabControlEventArgs e) { 385 viewToolStripMenuItem.Enabled = e.TabPage == availablePluginsTabPage; 386 } 387 388 private void simpleToolStripMenuItem_Click(object sender, EventArgs e) { 389 390 } 391 392 private void advancedToolStripMenuItem_Click(object sender, EventArgs e) { 393 394 } 457 458 459 395 460 } 396 461 } -
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/HeuristicLab.PluginInfrastructure.csproj ¶
r3475 r3508 105 105 <DependentUpon>ConnectionSetupView.cs</DependentUpon> 106 106 </Compile> 107 <Compile Include="Advanced\InstallationManagerException.cs" /> 107 108 <Compile Include="Advanced\DeploymentService\AdminClientFactory.cs" /> 108 109 <Compile Include="Advanced\DeploymentService\DeploymentService.cs" /> … … 288 289 <None Include="Resources\VS2008ImageLibrary_Actions_Delete.png" /> 289 290 <None Include="Resources\VS2008ImageLibrary_CommonElements_Actions_Remove.png" /> 291 <None Include="Resources\VS2008ImageLibrary_CommonElements_Actions_Remove1.png" /> 290 292 <Content Include="Resources\VS2008ImageLibrary_CommonElements_Objects_Arrow_Down.png" /> 293 <None Include="Resources\VS2008ImageLibrary_Objects_NetworkConnections.png" /> 294 <None Include="Resources\VS2008ImageLibrary_Objects_Install1.png" /> 295 <None Include="Resources\VS2008ImageLibrary_Objects_Internet1.png" /> 291 296 <None Include="Resources\VS2008ImageLibrary_CommonElements_Objects_Arrow_Up.png" /> 292 297 <None Include="Resources\VS2008ImageLibrary_Objects_File.png" /> -
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/Manager/PluginValidator.cs ¶
r3178 r3508 258 258 catch (InvalidPluginException) { 259 259 } 260 catch (TypeLoadException) { 261 } 260 262 } 261 263 return pluginDescriptions; -
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/Properties/Resources.Designer.cs ¶
r2504 r3508 95 95 } 96 96 } 97 98 internal static System.Drawing.Bitmap VS2008ImageLibrary_CommonElements_Actions_Remove { 99 get { 100 object obj = ResourceManager.GetObject("VS2008ImageLibrary_CommonElements_Actions_Remove", resourceCulture); 101 return ((System.Drawing.Bitmap)(obj)); 102 } 103 } 104 105 internal static System.Drawing.Bitmap VS2008ImageLibrary_Objects_Install { 106 get { 107 object obj = ResourceManager.GetObject("VS2008ImageLibrary_Objects_Install", resourceCulture); 108 return ((System.Drawing.Bitmap)(obj)); 109 } 110 } 111 112 internal static System.Drawing.Bitmap VS2008ImageLibrary_Objects_Internet { 113 get { 114 object obj = ResourceManager.GetObject("VS2008ImageLibrary_Objects_Internet", resourceCulture); 115 return ((System.Drawing.Bitmap)(obj)); 116 } 117 } 118 119 internal static System.Drawing.Bitmap VS2008ImageLibrary_Objects_NetworkConnections { 120 get { 121 object obj = ResourceManager.GetObject("VS2008ImageLibrary_Objects_NetworkConnections", resourceCulture); 122 return ((System.Drawing.Bitmap)(obj)); 123 } 124 } 97 125 } 98 126 } -
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/Properties/Resources.resx ¶
r2504 r3508 119 119 </resheader> 120 120 <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 121 <data name="VS2008ImageLibrary_CommonElements_Actions_Remove" type="System.Resources.ResXFileRef, System.Windows.Forms"> 122 <value>..\Resources\VS2008ImageLibrary_CommonElements_Actions_Remove1.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 123 </data> 124 <data name="Logo_white" type="System.Resources.ResXFileRef, System.Windows.Forms"> 125 <value>..\Resources\Logo_white.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 126 </data> 127 <data name="List" type="System.Resources.ResXFileRef, System.Windows.Forms"> 128 <value>..\Resources\List.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 129 </data> 121 130 <data name="Details" type="System.Resources.ResXFileRef, System.Windows.Forms"> 122 131 <value>..\Resources\Details.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> … … 128 137 <value>..\Resources\LargeIcons.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 129 138 </data> 130 <data name=" List" type="System.Resources.ResXFileRef, System.Windows.Forms">131 <value>..\Resources\ List.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>139 <data name="VS2008ImageLibrary_Objects_Install" type="System.Resources.ResXFileRef, System.Windows.Forms"> 140 <value>..\Resources\VS2008ImageLibrary_Objects_Install1.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 132 141 </data> 133 <data name="Logo_white" type="System.Resources.ResXFileRef, System.Windows.Forms"> 134 <value>..\Resources\Logo_white.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 142 <data name="VS2008ImageLibrary_Objects_Internet" type="System.Resources.ResXFileRef, System.Windows.Forms"> 143 <value>..\Resources\VS2008ImageLibrary_Objects_Internet1.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 144 </data> 145 <data name="VS2008ImageLibrary_Objects_NetworkConnections" type="System.Resources.ResXFileRef, System.Windows.Forms"> 146 <value>..\Resources\VS2008ImageLibrary_Objects_NetworkConnections.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 135 147 </data> 136 148 </root> -
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/Properties/Settings.Designer.cs ¶
r3112 r3508 89 89 } 90 90 } 91 92 [global::System.Configuration.UserScopedSettingAttribute()] 93 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 94 [global::System.Configuration.DefaultSettingValueAttribute("True")] 95 public bool ShowPluginUploadControls { 96 get { 97 return ((bool)(this["ShowPluginUploadControls"])); 98 } 99 set { 100 this["ShowPluginUploadControls"] = value; 101 } 102 } 91 103 } 92 104 } -
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/Properties/Settings.settings ¶
r3112 r3508 21 21 <Value Profile="(Default)">http://servdev.heuristiclab.com/Deployment-3.3/Admin.svc</Value> 22 22 </Setting> 23 <Setting Name="ShowPluginUploadControls" Type="System.Boolean" Scope="User"> 24 <Value Profile="(Default)">True</Value> 25 </Setting> 23 26 </Settings> 24 27 </SettingsFile> -
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/app.config ¶
r3179 r3508 98 98 <value>http://servdev.heuristiclab.com/Deployment-3.3/Admin.svc</value> 99 99 </setting> 100 <setting name="ShowPluginUploadControls" serializeAs="String"> 101 <value>True</value> 102 </setting> 100 103 </HeuristicLab.PluginInfrastructure.Properties.Settings> 101 104 </userSettings>
Note: See TracChangeset
for help on using the changeset viewer.