Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.967 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 177 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CategoryFilterActionGroup.java |
2 | 5 | 421 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java |
| ||||
public void doubleClicked(ListDialogField field) { List selectedElements = field.getSelectedElements(); if (selectedElements.size() == 1) { Object selected = selectedElements.get(0); fCategoryList.setChecked(selected, !fCategoryList.isChecked(selected)); } } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.internal.ui.wizards.dialogfields.IListAdapter#doubleClicked(org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField) */ public void doubleClicked(ListDialogField field) { List selectedElements = fExportImportList.getSelectedElements(); if (selectedElements.size() == 1) { Object elem = selectedElements.get(0); fExportImportList.setChecked(elem, !fExportImportList.isChecked(elem)); } } |
| |||
/* (non-Javadoc) * @see org.eclipse.jdt.internal.ui.wizards.dialogfields.IListAdapter#doubleClicked(org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField) */ public void doubleClicked(ListDialogField field) { List selectedElements = [[#variablea4299e00]].getSelectedElements(); if (selectedElements.size() == 1) { Object [[#variablea4299d80]]= selectedElements.get(0); [[#variablea4299d00]].setChecked( [[#variablea4299d80]], ! [[#variablea4299d00]].isChecked( [[#variablea4299d80]])); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a4299e00]] | fExportImportList |
1 | 2 | [[#a4299e00]] | field |
2 | 1 | [[#a4299d80]] | elem |
2 | 2 | [[#a4299d80]] | selected |
3 | 1 | [[#a4299d00]] | fExportImportList |
3 | 2 | [[#a4299d00]] | fCategoryList |