xenadmin/XenModel/Actions
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
..
AD Ensure AdEnableAction is always shown in History. FindActiveAdAction can be private. 2018-08-01 08:27:04 +01:00
DockerContainer Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00
DR 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
Folders CA-302791: Rewrote the ChangeFolder dialog to fix usability issues. 2018-11-26 10:29:39 +00:00
GPU CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
HealthCheck CA-301501: Update the progress bar for the action uploading a server status report. 2018-11-05 17:00:13 +02:00
Host 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
Message CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Network CA-289189: Fix copyright build failure 2018-09-13 10:01:30 +01:00
Perfmon Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00
Pool Ensure AdEnableAction is always shown in History. FindActiveAdAction can be private. 2018-08-01 08:27:04 +01:00
Pool_Patch CA-296490: Upload single update to multiple pools in parallel. (#2338) 2019-01-10 13:24:42 +00:00
Pool_update CA-302463: Change the action that applies an update to do an async call, so that the calling code notices if the connection has been lost while installing the update 2018-11-21 13:51:20 +00:00
PVS Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00
SR Renamed class and file PropertyManager to FriendlyNameManager to avoid confusion, 2019-01-28 14:49:48 +00:00
StorageLink Removed code applicable to servers earlier than dundee since connection to them is now blocked. 2019-02-06 09:25:38 +00:00
SupplementalPack CA-296490: Upload single update to multiple pools in parallel. (#2338) 2019-01-10 13:24:42 +00:00
Updates Removed obsolete UpdateType.Existing and associated properties and methods. 2018-11-13 11:08:10 +00:00
USB CP-25329: Refine API reference for PUSB & VUSB in xenadmin 2017-10-20 17:30:21 +08:00
VBD Converted remaining extension get and set properties of the API classes to methods 2017-09-05 02:15:38 +01:00
VDI CA-289948: If migration of individual VDIs is not allowed due to licensing restrictions, 2018-10-08 12:33:04 +01:00
VIF Refactored the VIFDialog to fix various problems: (#2398) 2019-04-25 08:23:09 +01:00
VM CA-309844: Fix meddling actions 2019-03-15 09:42:04 +00:00
VMAppliances Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00
VMSS 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-294285: Make WlbRetrieveVmRecommendationsAction an AsyncAction and specify the method for the RBAC checks 2018-07-25 10:46:23 +01:00
Action.cs No need to set ShowProgress to its default value. Removed unused constructor. Compacted Properties. 2019-04-24 15:03:20 +01:00
AsyncAction.cs 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
CancellingAction.cs 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
DelegatedAsyncAction.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
GetDataSourcesAction.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
MultipleAction.cs CA-238265: Add the action title to the error message displayed on the Install Update page of the patching wizard. 2017-02-06 13:04:07 +00:00
MultipleActionLauncher.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
ParallelAction.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
ProduceConsumerQueue.cs CA-284226: Optimize performance of menu Start-on-Server and Migrate-to-Server (#1985) 2018-03-20 07:07:19 +00:00
PureAsyncAction.cs CA-249624: [XSO-707] Convert VM to Template from XenCenter is not working if connected as an AD user 2017-04-04 11:26:16 +01:00
SaveChangesAction.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
StatusReportAction.cs CA-303195: Rewrote the logic for compiling and retrieving server status data. The changes include: 2019-01-15 17:12:09 +00:00
ZipStatusReportAction.cs CA-204242: save the server status report blocks xencenter (#2158) 2018-08-03 09:08:47 +01:00