Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 3 | 0.985 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 303 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java |
2 | 13 | 416 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java |
| ||||
protected void libaryPageDoubleClicked(TreeListDialogField field) { List selection = fLibrariesList.getSelectedElements(); if (canEdit(selection)) { editEntry(); } } protected void libaryPageKeyPressed(TreeListDialogField field, KeyEvent event) { if (field == fLibrariesList) { if (event.character == SWT.DEL && event.stateMask == 0) { List selection = field.getSelectedElements(); if (canRemove(selection)) { removeEntry(); } } } } |
| ||||
protected void projectPageDoubleClicked(TreeListDialogField field) { List selection = fProjectsList.getSelectedElements(); if (canEdit(selection)) { editEntry(); } } protected void projectPageKeyPressed(TreeListDialogField field, KeyEvent event) { if (field == fProjectsList) { if (event.character == SWT.DEL && event.stateMask == 0) { List selection = field.getSelectedElements(); if (canRemove(selection)) { removeEntry(); } } } } |
| |||
protected void [[#variable9cecf460]](TreeListDialogField field) { List selection = [[#variable55902b00]].getSelectedElements(); if (canEdit(selection)) { editEntry(); } } protected void [[#variable55902be0]](TreeListDialogField field, KeyEvent event) { if (field == [[#variable55902b00]]) { if (event.character == SWT.DEL && event.stateMask == 0) { List selection = field.getSelectedElements(); if (canRemove(selection)) { removeEntry(); } } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9cecf460]] | libaryPageDoubleClicked |
1 | 2 | [[#9cecf460]] | projectPageDoubleClicked |
2 | 1 | [[#55902b00]] | fLibrariesList |
2 | 2 | [[#55902b00]] | fProjectsList |
3 | 1 | [[#55902be0]] | libaryPageKeyPressed |
3 | 2 | [[#55902be0]] | projectPageKeyPressed |