perfsonar-dev - perfsonar: r5181 - branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r5181 - branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins
- Date: Tue, 16 Jun 2009 11:49:26 -0400
Author: iva
Date: 2009-06-16 11:49:23 -0400 (Tue, 16 Jun 2009)
New Revision: 5181
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/MAEndpointList.java
Log:
Fix for bug 738. cancelChangesEndpoints() method is added, this is the action
performed when the "Cancel" button on the Select service addresses panel on
the "Interfaces" tab is clicked. It reloads the initial list of service
addresses and loses all changes.
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/MAEndpointList.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/MAEndpointList.java
2009-06-16 15:46:34 UTC (rev 5180)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/MAEndpointList.java
2009-06-16 15:49:23 UTC (rev 5181)
@@ -111,6 +111,13 @@
return true;
}
+ public boolean cancelChangesEndpoints() throws Exception {
+ clear();
+ readEndpoints();
+ return true;
+ }
+
+
/**
* Reads endpoints from file.
* @param file
- perfsonar: r5181 - branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins, svnlog, 06/16/2009
Archive powered by MHonArc 2.6.16.