Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 2 | 0.978 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 755 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java |
2 | 20 | 687 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java |
| ||||
public void postSetSelection( final ISelection selection) { if (isOkToUse(fTableControl)) { Display d = fTableControl.getDisplay(); d.asyncExec(new Runnable() { public void run() { if (isOkToUse(fTableControl)) { selectElements(selection); } } } ); } } /** * Refreshes the table. */ public void refresh() { super.refresh(); if (isOkToUse(fTableControl)) { fTable.refresh(); } } |
| ||||
public void postSetSelection( final ISelection selection) { if (isOkToUse(fTreeControl)) { Display d = fTreeControl.getDisplay(); d.asyncExec(new Runnable() { public void run() { if (isOkToUse(fTreeControl)) { selectElements(selection); } } } ); } } /** * Refreshes the tree. */ public void refresh() { super.refresh(); if (isOkToUse(fTreeControl)) { fTree.refresh(); } } |
| |||
public void postSetSelection( final ISelection selection) { if (isOkToUse( [[#variable92b4b600]])) { Display d = [[#variable92b4b600]].getDisplay(); d.asyncExec(new Runnable() { public void run() { if (isOkToUse( [[#variable92b4b600]])) { selectElements(selection); } } } ); } } /** * Refreshes the table. */ /** * Refreshes the tree. */ public void refresh() { super.refresh(); if (isOkToUse( [[#variable92b4b600]])) { [[#variable92b4b640]].refresh(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#92b4b600]] | fTableControl |
1 | 2 | [[#92b4b600]] | fTreeControl |
2 | 1 | [[#92b4b640]] | fTable |
2 | 2 | [[#92b4b640]] | fTree |