[
https://jira.jboss.org/browse/JBIDE-7558?page=com.atlassian.jira.plugin.s...
]
Andre Dietisheim commented on JBIDE-7558:
-----------------------------------------
instance view is cleaned up. instace view does use the handlers that are available for the
cloud view. The image view is not done yet. postponed to CR1
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.CR1
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.2.0.Beta2
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.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira