@Override
protected void performAction(Node[] arg0) {
//Object cls = arg0[0];
//JOptionPane.showMessageDialog(null, "Object is " + cls.getClass().getName());
Node nd = arg0[0];
DeleteCookieInterface delete = nd.getCookie(DeleteCookieInterface.class);
if (delete != null) {
int ret = JOptionPane.showConfirmDialog(null,
NbBundle.getMessage(Utils.getCommonClass(), "LBL_DeleteConfirmMsg", delete.toString()),
Utils.getBundle().getString("LBL_DeleteConfirmCaptionMsg"), JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE);
if (ret == JOptionPane.YES_OPTION) {
Node node = nd.getParentNode();
delete.Delete();
RefreshCookieInterface refresh = null;
if (node != null) {
refresh = node.getCookie(RefreshCookieInterface.class);
}
try {