/******************************************************************************* * IBM Confidential * * OCO Source Materials * * A and PM: PD * * (c) Copyright IBM Corp. 2015 * * The source code for this program is not published or otherwise divested of * its trade secrets, irrespective of what has been deposited with the U.S. * Copyright Office. ******************************************************************************/ define([ "dojo/_base/declare", "dojo/parser", "bux/dialogs/BaseDialog", "dijit/TitlePane", "pd/model/deltaSpec", "dojo/string", "dojo/dom-construct", "dojo/dom-attr", "dijit/layout/BorderContainer", "dijit/layout/ContentPane" ],function(declare, parser, Dialog, TitlePane, deltaSpec, string, domConst, domAttr, BorderContainer, ContentPane){ var MDAnalyseDialog = declare("pd/widgets/MDAnalyseDialog", [Dialog], { title: PDMSG.ANA.IDS_ANA_DIALOG_TITLE, style: "width: auto; height: auto;", showOnOk: true, _bContainerHeightAuto: true, createDefaultDialogButtons: function(){ this.createButtons([ {label: BUXMSG.GEN.IDS_GEN_YES_BUTTON, action: dojo.hitch(this, this.onOK), type: "button"}, {label: BUXMSG.GEN.IDS_GEN_NO_BUTTON, action: dojo.hitch(this, this.onCancel), type: "button"} ]); }, postCreate: function() { this.inherited(arguments); this.createDefaultDialogButtons(); var noChange = true; var contentDom = domConst.toDom("
"); for (var i=0; i" + section[j].name; if (section[j].simpletype && section[j].previoustype) { content += " " + string.substitute(PDMSG.ANA.IDS_ANA_TYPE_CHANGED_FROM_TO, {0: section[j].previoustype, 1: section[j].simpletype}); } content += " | "; } content += "
" +
" | ";
}
headerHTML += "";
headerHTML += noChange?PDMSG.ANA.IDS_ANA_NO_META_DATA_CHANGES:PDMSG.ANA.IDS_ANA_META_DATA_CHANGES;
headerHTML += " |