CloneSet248


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16240.981ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116639
Closure/closure/goog/ui/offlineinstalldialog.js
216965
Closure/closure/goog/ui/offlineinstalldialog.js
Clone Instance
1
Line Count
16
Source Line
639
Source File
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_;
                                                                              } ;


Clone Instance
2
Line Count
16
Source Line
965
Source File
Closure/closure/goog/ui/offlineinstalldialog.js

/**
 * @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_;
                                                                               } ;


Clone AbstractionParameter Count: 4Parameter Bindings

/**
 * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#60779c80]]
UpgradeScreen 
12[[#60779c80]]
EnableScreen 
21[[#60779c20]]
MSG_OFFLINE_DIALOG_CANCEL_3 
22[[#60779c20]]
MSG_OFFLINE_DIALOG_CANCEL 
31[[#60779bc0]]
UPGRADE 
32[[#60779bc0]]
ENABLE 
41[[#60779b40]]
isUpgradeButtonDefault 
42[[#60779b40]]
enableOnEnter