xenadmin/XenModel
Konstantina Chremmou 4ce9878b45 Refactored the VIFDialog to fix various problems: (#2398)
* Refactored the VIFDialog to fix various problems:
- Launch the dialog in using blocks.
- Event GotFocus is not meant to be handled directly in the code.
- Populate the dialog in the OnLoad override instead of the constructor
  as this causes problems at design time.
- Popping up an error message for duplicate MAC on combobox item
  selection or textbox text change is not optimal UX. Perform this
  check once when closing the form. Additionally the parent form of the
  pop up should be the dialog, not the main window.
- The validation messages are not obvious to the user because they are
  hidden in the tooltip of a disabled button. Show them inline instead.
- There is no need to create commands for VIF creation/change; use
  the relevant actions instead.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

* Corrections as per code review plus some more code tidy and refactoring.

- Added option to suppress Create/DeleteVIFActions
- Use property RebootRequired to indicate hot-plugging is unavailable
  (assigning various objects of different types to the Result of the action
  during its run may cause confusion).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2019-04-25 08:23:09 +01:00
..
Actions Refactored the VIFDialog to fix various problems: (#2398) 2019-04-25 08:23:09 +01:00
Alerts Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
CustomFields CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Mappings CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Network CP-30504: Blocked connection to servers earlier than dundee. 2019-02-06 09:25:38 +00:00
Properties Added basic unit tests for the JsonConverters. 2018-02-14 11:10:03 +00:00
ServerDBs CA-296490: Upload single update to multiple pools in parallel. (#2338) 2019-01-10 13:24:42 +00:00
StorageLinkAPI CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Utils CA-301907: Improvements to the VMSS dialog, the VMSS frequency properties/wizard page and the VMSS finish wizard page (#2358) 2019-03-15 14:10:42 +00:00
WLB CA-40854: The Session's uuid is in reality its opaque_ref. Use the opaque_ref so 2018-02-21 14:08:01 +00:00
XenAPI CA-311238 refix: when creating a session from another Session object, copy over its properties. 2019-04-01 17:42:42 +01:00
XenAPI-Extensions CA-311238 refix: when creating a session from another Session object, copy over its properties. 2019-04-01 17:42:42 +01:00
XenSearch Removed code applicable to servers earlier than dundee since connection to them is now blocked. 2019-02-06 09:25:38 +00:00
XenServerProxy CA-288751: Fix the RBAC checks for probe_ext 2018-05-24 13:00:05 +01:00
DockerContainer.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
DockerContainers.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
Folder.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
Folders.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
FriendlyNameManager.cs Renamed class and file PropertyManager to FriendlyNameManager to avoid confusion, 2019-01-28 14:49:48 +00:00
FriendlyNames.Designer.cs CP-30602: Add boot mode info to Naples XC 2019-02-15 12:02:11 +00:00
FriendlyNames.ja.resx L10N : Translation Updates 2019-02-26 11:54:11 +00:00
FriendlyNames.resx CP-30602: Add boot mode info to Naples XC 2019-02-15 12:02:11 +00:00
FriendlyNames.zh-CN.resx L10N : Translation Updates 2019-02-26 11:54:11 +00:00
HealthCheckSettings.cs Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00
I18NException.cs Renamed class and file PropertyManager to FriendlyNameManager to avoid confusion, 2019-01-28 14:49:48 +00:00
Icons.cs CP-24708: Show different unlicensed pool/host icon 2017-09-27 11:30:12 +01:00
InvisibleMessages.Designer.cs CP-30785: Replace xenserver.org links in XenCenter 2019-03-08 10:22:41 +00:00
InvisibleMessages.ja.resx CP-30785: Replace xenserver.org links in XenCenter 2019-03-08 10:22:41 +00:00
InvisibleMessages.resx CP-30785: Replace xenserver.org links in XenCenter 2019-03-08 10:22:41 +00:00
InvisibleMessages.zh-CN.resx CP-30785: Replace xenserver.org links in XenCenter 2019-03-08 10:22:41 +00:00
InvokeHelper.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Messages.Designer.cs Refactored the VIFDialog to fix various problems: (#2398) 2019-04-25 08:23:09 +01:00
Messages.ja.resx L10N : translation and resx resync 2019-03-26 12:08:55 +00:00
Messages.resx Refactored the VIFDialog to fix various problems: (#2398) 2019-04-25 08:23:09 +01:00
Messages.zh-CN.resx L10N : translation and resx resync 2019-03-26 12:08:55 +00:00
ObjectChange.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
OtherConfigWatcher.cs CA-257927: Changed ChangeableList.RemoveAll method to fire the CollectionChangedEvent 2017-07-24 14:48:02 +01:00
PoolJoinRules.cs CA-306864: Allow adding hosts to a pool where the cluster network is a VLAN on top of a bond 2019-01-10 13:46:27 +00:00
RbacMethod.cs Refactored the VIFDialog to fix various problems: (#2398) 2019-04-25 08:23:09 +01:00
StringExtensions.cs CA-293813: Patch pools in parallel when installing a single update/patch or supplemental package. (#2183) 2018-08-17 12:05:16 +01:00
Tags.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
TimeSpanExtensions.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
XenAdminConfigManager.cs CP-22472: Add new XenCenter metadata file to the server status report: changes following code review 2017-07-03 17:25:04 +01:00
XenModel.csproj CA-301907: Improvements to the VMSS dialog, the VMSS frequency properties/wizard page and the VMSS finish wizard page (#2358) 2019-03-15 14:10:42 +00:00
XenObjectDownloader.cs Merge branch 'master' into REQ-420 2018-01-25 13:38:58 +00:00
XenServerPlugins.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00