Author: adietish
Date: 2010-12-29 17:16:29 -0500 (Wed, 29 Dec 2010)
New Revision: 27811
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePageModel.java
Log:
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePageModel.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePageModel.java 2010-12-29
22:15:10 UTC (rev 27810)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePageModel.java 2010-12-29
22:16:29 UTC (rev 27811)
@@ -68,9 +68,10 @@
}
public void setImage(DeltaCloudImage image) {
+ firePropertyChange(PROPERTY_IMAGE, this.image, this.image = image);
List<DeltaCloudHardwareProfile> filteredProfiles = filterProfiles(image,
allProfiles);
setFilteredProfiles(filteredProfiles);
- firePropertyChange(PROPERTY_IMAGE, this.image, this.image = image);
+ setArch(image.getArchitecture());
}
public void setSelectedRealmIndex(int index) {
@@ -120,8 +121,7 @@
}
private void setFilteredProfiles(List<DeltaCloudHardwareProfile> profiles) {
- firePropertyChange(PROP_FILTERED_PROFILES, this.filteredProfiles,
- this.filteredProfiles = profiles);
+ firePropertyChange(PROP_FILTERED_PROFILES, this.filteredProfiles, this.filteredProfiles
= profiles);
setSelectedProfileIndex(0);
}
Show replies by date