perfsonar-dev - perfsonar: r5177 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions
Subject: perfsonar development work
List archive
perfsonar: r5177 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions
Chronological Thread
- From:
- To:
- Subject: perfsonar: r5177 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions
- Date: Tue, 16 Jun 2009 11:04:43 -0400
Author: iva
Date: 2009-06-16 11:04:43 -0400 (Tue, 16 Jun 2009)
New Revision: 5177
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/DeleteEndpointAction.java
Log:
Fix for bug 533. "Remove" button is added on the Select service addresses
panel.
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/DeleteEndpointAction.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/DeleteEndpointAction.java
2009-06-16 12:55:08 UTC (rev 5176)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/DeleteEndpointAction.java
2009-06-16 15:04:43 UTC (rev 5177)
@@ -38,23 +38,24 @@
private static final long serialVersionUID = 7778413885604027903L;
public DeleteEndpointAction(MAEndpointList endpoints) {
- super(endpoints);
- // TODO Auto-generated constructor stub
+ super(endpoints, "Remove");
}
public DeleteEndpointAction(MAEndpointList endpoints, String arg0) {
- super(endpoints, arg0);
- // TODO Auto-generated constructor stub
+ super(endpoints, arg0, null);
}
public DeleteEndpointAction(MAEndpointList endpoints, String arg0,
Icon arg1) {
super(endpoints, arg0, arg1);
- // TODO Auto-generated constructor stub
+ putValue(SHORT_DESCRIPTION, "Remove entry");
}
public void actionPerformed(ActionEvent e) {
- // TODO Auto-generated method stub
-
+ try {
+ endpoints.deleteEndpoints();
+ } catch (Exception e1) {
+ e1.printStackTrace();
+ }
}
}
- perfsonar: r5177 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions, svnlog, 06/16/2009
Archive powered by MHonArc 2.6.16.