CloneSet1500


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11210.976SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111317
Closure/closure/goog/ui/popupcolorpicker.js
211342
Closure/closure/goog/ui/popupmenu.js
Clone Instance
1
Line Count
11
Source Line
317
Source File
Closure/closure/goog/ui/popupcolorpicker.js

/**
 * Sets whether the color picker should toggle off if it is already open.
 * @param {boolean} toggle The new toggle mode.
 */
goog.ui.PopupColorPicker.prototype.setToggleMode=  function (toggle){
  this.toggleMode_=  toggle;
                                                                    } ;


/**
 * Gets whether the colorpicker is in toggle mode
 * @return {boolean} toggle.
 */
goog.ui.PopupColorPicker.prototype.getToggleMode=  function ( )
                                                              {
  return this.toggleMode_;
                                                              } ;


Clone Instance
2
Line Count
11
Source Line
342
Source File
Closure/closure/goog/ui/popupmenu.js

/**
 * Sets whether the menu should toggle if it is already open.  For context
 * menus this should be false, for toolbar menus it makes more sense to be true.
 * @param {boolean} toggle The new toggle mode.
 */
goog.ui.PopupMenu.prototype.setToggleMode=  function (toggle){
  this.toggleMode_=  toggle;
                                                             } ;


/**
 * Gets whether the menu is in toggle mode
 * @return {boolean} toggle.
 */
goog.ui.PopupMenu.prototype.getToggleMode=  function ( )
                                                       {
  return this.toggleMode_;
                                                       } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Sets whether the menu should toggle if it is already open.  For context
 * menus this should be false, for toolbar menus it makes more sense to be true.
 * @param {boolean} toggle The new toggle mode.
 */
/**
 * Sets whether the color picker should toggle off if it is already open.
 * @param {boolean} toggle The new toggle mode.
 */
goog.ui. [[#variable63477a00]].prototype.setToggleMode= function (toggle)
                                                        { this.toggleMode_=toggle;
                                                        } ;
/**
 * Gets whether the menu is in toggle mode
 * @return {boolean} toggle.
 */
/**
 * Gets whether the colorpicker is in toggle mode
 * @return {boolean} toggle.
 */
goog.ui. [[#variable63477a00]].prototype.getToggleMode= function ( )
                                                        { return this.toggleMode_;
                                                        } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#63477a00]]
PopupMenu 
12[[#63477a00]]
PopupColorPicker