Author: adietish
Date: 2010-11-09 07:15:35 -0500 (Tue, 09 Nov 2010)
New Revision: 26357
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java
Log:
[JBIDE-7518] added notification after editing cloud
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog 2010-11-09 11:59:04
UTC (rev 26356)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog 2010-11-09 12:15:35
UTC (rev 26357)
@@ -1,6 +1,8 @@
2010-11-09 André Dietisheim <adietish(a)redhat.com>
* src/org/jboss/tools/deltacloud/core/DeltaCloud.java (editCloud): [JBIDE-7521] storing
cloud after it has been edited
+ (editCloud):
+ [JBIDE-7518] added notification after cloud was edited
2010-11-05 André Dietisheim <adietish(a)redhat.com>
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java 2010-11-09
11:59:04 UTC (rev 26356)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java 2010-11-09
12:15:35 UTC (rev 26357)
@@ -100,6 +100,8 @@
this.type = type;
storePassword(url, username, passwd);
save();
+ // TODO: remove notification with all instances, replace by notifying the changed
instance
+ notifyInstanceListListeners(instances.toArray(instances.toArray(new
DeltaCloudInstance[instances.size()])));
}
private void storePassword(String url, String username, String passwd) {
@@ -109,6 +111,7 @@
try {
node.put("password", passwd, true /* encrypt */);
} catch (StorageException e) {
+ // TODO: implement proper rethrowing/loggin
e.printStackTrace();
}
}
Show replies by date