Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.970 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 235 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ComboDialogField.java |
2 | 6 | 169 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/StringDialogField.java |
| ||||
/** * Sets the text without triggering a dialog-changed event. */ public void setTextWithoutUpdate(String text) { fText = text; if (isOkToUse(fComboControl)) { fComboControl.removeModifyListener(fModifyListener); fComboControl.setText(text); fComboControl.addModifyListener(fModifyListener); } } |
| ||||
/** * Sets the text without triggering a dialog-changed event. */ public void setTextWithoutUpdate(String text) { fText = text; if (isOkToUse(fTextControl)) { fTextControl.removeModifyListener(fModifyListener); fTextControl.setText(text); fTextControl.addModifyListener(fModifyListener); } } |
| |||
/** * Sets the text without triggering a dialog-changed event. */ public void setTextWithoutUpdate(String text) { fText = text; if (isOkToUse( [[#variableb2c1b6a0]])) { [[#variableb2c1b6a0]].removeModifyListener(fModifyListener); [[#variableb2c1b6a0]].setText(text); [[#variableb2c1b6a0]].addModifyListener(fModifyListener); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2c1b6a0]] | fTextControl |
1 | 2 | [[#b2c1b6a0]] | fComboControl |