Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 185 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java |
2 | 10 | 198 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java |
| ||||
/** * Sets the checked state of an element. No dialog changed listener is informed. */ public void setCheckedWithoutUpdate(Object object, boolean state) { if (state) { if ( !fCheckedElements.contains(object)) { fCheckedElements.add(object); } } else { fCheckedElements.remove(object); } if (isOkToUse(fTableControl)) { ((CheckboxTableViewer) fTable).setChecked(object, state); } } |
| ||||
public void setGrayedWithoutUpdate(Object object, boolean state) { if (state) { if ( !fGrayedElements.contains(object)) { fGrayedElements.add(object); } } else { fGrayedElements.remove(object); } if (isOkToUse(fTableControl)) { ((CheckboxTableViewer) fTable).setGrayed(object, state); } } |
| |||
/** * Sets the checked state of an element. No dialog changed listener is informed. */ public void [[#variable77ac8b60]](Object object, boolean state) { if (state) { if ( ! [[#variable77ac8ac0]].contains(object)) { [[#variable77ac8ac0]].add(object); } } else { [[#variable77ac8ac0]].remove(object); } if (isOkToUse(fTableControl)) { ((CheckboxTableViewer) fTable). [[#variable77ac8a40]](object, state); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#77ac8b60]] | setCheckedWithoutUpdate |
1 | 2 | [[#77ac8b60]] | setGrayedWithoutUpdate |
2 | 1 | [[#77ac8ac0]] | fCheckedElements |
2 | 2 | [[#77ac8ac0]] | fGrayedElements |
3 | 1 | [[#77ac8a40]] | setChecked |
3 | 2 | [[#77ac8a40]] | setGrayed |