Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 4 | 0.981 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 639 | Closure/closure/goog/ui/offlineinstalldialog.js |
2 | 16 | 965 | Closure/closure/goog/ui/offlineinstalldialog.js |
| ||||
/** * @return {goog.ui.Dialog.ButtonSet} The button set for the enable screen. */ goog.ui.OfflineInstallDialog.EnableScreen.prototype.getButtonSet= function ( ) { if (!this.buttonSet_) { /** * @desc Text of button that cancels setting up Offline. * @hidden */ var MSG_OFFLINE_DIALOG_CANCEL= goog.getMsg('Cancel'); var buttonSet= this.buttonSet_= new goog.ui.Dialog.ButtonSet(this.dom_); buttonSet.set(goog.ui.OfflineInstallDialog.ButtonKeyType.ENABLE, this.enableMsg_, this.enableOnEnter, false); buttonSet.set(goog.ui.OfflineInstallDialog.ButtonKeyType.CANCEL, MSG_OFFLINE_DIALOG_CANCEL, false , true); } return this.buttonSet_; } ; |
| ||||
/** * @return {goog.ui.Dialog.ButtonSet} The button set for the upgrade screen. */ goog.ui.OfflineInstallDialog.UpgradeScreen.prototype.getButtonSet= function ( ) { if (!this.buttonSet_) { /** * @desc Text of button that cancels setting up Offline. * @hidden */ var MSG_OFFLINE_DIALOG_CANCEL_3= goog.getMsg('Cancel'); var buttonSet= this.buttonSet_= new goog.ui.Dialog.ButtonSet(this.dom_); buttonSet.set(goog.ui.OfflineInstallDialog.ButtonKeyType.UPGRADE, this.enableMsg_, this.isUpgradeButtonDefault, false); buttonSet.set(goog.ui.OfflineInstallDialog.ButtonKeyType.CANCEL, MSG_OFFLINE_DIALOG_CANCEL_3, false , true); } return this.buttonSet_; } ; |
| |||
/** * @return {goog.ui.Dialog.ButtonSet} The button set for the upgrade screen. */ /** * @return {goog.ui.Dialog.ButtonSet} The button set for the enable screen. */ goog.ui.OfflineInstallDialog. [[#variable60779c80]].prototype.getButtonSet= function ( ) { if (!this.buttonSet_) { /** * @desc Text of button that cancels setting up Offline. * @hidden */ var [[#variable60779c20]]=goog.getMsg('Cancel'); var buttonSet=this.buttonSet_=new goog.ui.Dialog.ButtonSet(this.dom_); buttonSet.set(goog.ui.OfflineInstallDialog.ButtonKeyType. [[#variable60779bc0]],this.enableMsg_,this. [[#variable60779b40]], false); buttonSet.set(goog.ui.OfflineInstallDialog.ButtonKeyType.CANCEL, [[#variable60779c20]], false , true); } return this.buttonSet_; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#60779c80]] | UpgradeScreen |
1 | 2 | [[#60779c80]] | EnableScreen |
2 | 1 | [[#60779c20]] | MSG_OFFLINE_DIALOG_CANCEL_3 |
2 | 2 | [[#60779c20]] | MSG_OFFLINE_DIALOG_CANCEL |
3 | 1 | [[#60779bc0]] | UPGRADE |
3 | 2 | [[#60779bc0]] | ENABLE |
4 | 1 | [[#60779b40]] | isUpgradeButtonDefault |
4 | 2 | [[#60779b40]] | enableOnEnter |