/* *+------------------------------------------------------------------------+ *| Licensed Materials - Property of IBM *| IBM Cognos Products: Viewer *| (C) Copyright IBM Corp. 2001, 2011 *| *| US Government Users Restricted Rights - Use, duplication or *| disclosure restricted by GSA ADP Schedule Contract with IBM Corp. *| *+------------------------------------------------------------------------+ */ function DeleteAction() { this.m_sAction = "Delete"; } DeleteAction.prototype = new ModifyReportAction(); DeleteAction.baseclass = ModifyReportAction.prototype; DeleteAction.prototype.getUndoHint = function() { return RV_RES.IDS_JS_DELETE; }; DeleteAction.prototype.canDelete = function() { if(!this.m_oCV.isLimitedInteractiveMode()) { var selectedObjects = this.m_oCV.getSelectionController().getAllSelectedObjects(); if (selectedObjects.length>0) { for (var i=0; i