12345678910111213141516171819202122232425262728293031323334353637383940 |
- /****************************************************************
- ** Licensed Materials - Property of IBM
- **
- ** IBM Cognos Products: drill
- **
- ** (C) Copyright IBM Corp. 2001, 2010
- **
- ** US Government Users Restricted Rights - Use, duplication or
- ** disclosure restricted by GSA ADP Schedule Contract with
- ** IBM Corp.
- *****************************************************************/
- /**
- * RenameReplace Dialog
- * Prompt user to select if s/he wants to replace or rename an object when another object with the same name already exist
- *
- *
- */
- // dialog name, ,the path that is used to load the rest of the dialog files (D_RenameReplace.xml and D_RenameReplace_async.js)
- var D_RenameReplace = new C_Dialog( "D_RenameReplace",null,"hal/../drill/Dialogs/" );
- /*
- * D_RenameReplace.F_Show overrides the F_show method of C_Dialog and show the RenameReplace Dialog
- * @param owner The object that dialog will appears on top of it (visual owner)
- * @param v_sTitle The title of the dialog
- * @param v_oListener The listener object. This object is called when user clicks on OK and Cancel buttons on the dialog
- * @param v_sObjectName The name of the object that we are saving (this is going to be renamed to replaced)
- * @param v_iHeight Height of the dialog
- * @param v_iWidth Width of the dialog
- */
- D_RenameReplace.F_Show = function( owner, v_sTitle, v_oListener, v_sObjectName, v_iHeight, v_iWidth)
- {
- this.m_oListener = v_oListener ? v_oListener : null;
- this.m_sObjectName = v_sObjectName ? v_sObjectName : null;
- this.m_iHeight = v_iHeight;
- this.m_iWidth = v_iWidth;
- this.m_oForm = owner;
- this.M_fnSuper_Show( owner, v_oListener, v_sTitle );
- };
|