| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 2 | 4 | 0.967 | statement_sequence[5] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 294 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetConfigurationDialog.java |
| 2 | 10 | 304 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetConfigurationDialog.java |
| ||||
fUpButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
moveUp(((IStructuredSelection) fTableViewer.getSelection()).toList());
}
} );
fDownButton = new Button(buttons, SWT.PUSH);
fDownButton.setText(WorkingSetMessages.WorkingSetConfigurationDialog_down_label);
fDownButton.setFont(parent.getFont());
setButtonLayoutData(fDownButton);
|
| ||||
fDownButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
moveDown(((IStructuredSelection) fTableViewer.getSelection()).toList());
}
} );
fSelectAll = new Button(buttons, SWT.PUSH);
fSelectAll.setText(WorkingSetMessages.WorkingSetConfigurationDialog_selectAll_label);
fSelectAll.setFont(parent.getFont());
setButtonLayoutData(fSelectAll);
|
| |||
[[#variablea38bcee0]].addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
[[#variablea38bcea0]](((IStructuredSelection) fTableViewer.getSelection()).toList());
}
} );
[[#variablea38bce20]]= new Button(buttons, SWT.PUSH);
[[#variablea38bce20]].setText(WorkingSetMessages. [[#variablea38bce00]]);
[[#variablea38bce20]].setFont(parent.getFont());
setButtonLayoutData( [[#variablea38bce20]]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a38bcee0]] | fDownButton |
| 1 | 2 | [[#a38bcee0]] | fUpButton |
| 2 | 1 | [[#a38bcea0]] | moveDown |
| 2 | 2 | [[#a38bcea0]] | moveUp |
| 3 | 1 | [[#a38bce20]] | fSelectAll |
| 3 | 2 | [[#a38bce20]] | fDownButton |
| 4 | 1 | [[#a38bce00]] | WorkingSetConfigurationDialog_selectAll_label |
| 4 | 2 | [[#a38bce00]] | WorkingSetConfigurationDialog_down_label |