open-power / serverwiz

Apache License 2.0
4 stars 18 forks source link

Add ability to export cards #54

Open santoshpuranik opened 4 years ago

santoshpuranik commented 4 years ago

This commit adds the ability to export parts (cards) out of an already loaded system XML. A part can be exported by selecting the card in the target instance tree view and selecting the "Export Part" button. Any busses internal to the card (or any sub-cards) will be retained in the exported part XML.

When exporting, the user can choose whether to retain attribute values on the part or to default all of them.

The exported part XML is just like any other part XML. It can be placed in the parts directory and following a Serverwiz tool restart, will be picked up and be available in the target dropdown for adding to a system XML.