]
Andre Dietisheim resolved JBIDE-7558.
-------------------------------------
Resolution: Done
committed to TRUNK (Beta2)
remove duplicate action code for instance, image and cloud view
---------------------------------------------------------------
Key: JBIDE-7558
URL:
https://jira.jboss.org/browse/JBIDE-7558
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: deltacloud
Affects Versions: 3.2.0.Beta2
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.2.0.CR1
current implementation has a lot of duplicate code in order to handle actions on the same
deltacloud instances and images in the different views.
The cloud view uses:
CVInstanceElement and CVImageElement
The image view uses:
DeltaCloudImage
The instance view uses:
DeltaCloudInstance
The current code does not use adapters and therefore duplicated action-, providers etc.
to handle these different object types. The result is that changes (a lot of the current
issues) get tedious.
The solution is pretty simple:
Use the DeltaCloudInstance and DeltaCloudImage everywhere, wire UI by using adapters.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: