Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 6 | 0.985 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 76 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/ListDialog.java |
2 | 14 | 82 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ListDialog.java |
| ||||
protected Control createDialogArea(Composite container) { Composite parent = (Composite) super.createDialogArea(container); createMessageArea(parent); fTableViewer = new TableViewer(parent, getTableStyle()); fTableViewer.setContentProvider(fContentProvider); Table table = fTableViewer.getTable(); fTableViewer.setLabelProvider(fLabelProvider); fTableViewer.setInput(fInput); GridData gd = new GridData(GridData.FILL_BOTH); gd.heightHint = convertHeightInCharsToPixels(15); gd.widthHint = convertWidthInCharsToPixels(55); table.setLayoutData(gd); applyDialogFont(parent); return parent; } |
| ||||
protected Control createDialogArea(Composite container) { Composite parent = (Composite) super.createDialogArea(container); createMessageArea(parent); fTableViewer = new TableViewer(parent, getTableStyle()); fTableViewer.setContentProvider(fContentProvider); Table table = fTableViewer.getTable(); fTableViewer.setLabelProvider(fLabelProvider); fTableViewer.setInput(fInput); GridData gd = new GridData(GridData.FILL_BOTH); gd.widthHint = convertWidthInCharsToPixels(55); gd.heightHint = convertHeightInCharsToPixels(15); table.setLayoutData(gd); applyDialogFont(parent); return parent; } |
| |||
protected Control createDialogArea(Composite container) { Composite parent = (Composite) super.createDialogArea(container); createMessageArea(parent); fTableViewer = new TableViewer(parent, getTableStyle()); fTableViewer.setContentProvider(fContentProvider); Table table = fTableViewer.getTable(); fTableViewer.setLabelProvider(fLabelProvider); fTableViewer.setInput(fInput); GridData gd = new GridData(GridData.FILL_BOTH); gd. [[#variablea0b83560]]= [[#variablea0b834a0]]( [[#variablea0b83440]]); gd. [[#variablea0b833e0]]= [[#variablea0b83360]]( [[#variablea0b83420]]); table.setLayoutData(gd); applyDialogFont(parent); return parent; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0b83560]] | heightHint |
1 | 2 | [[#a0b83560]] | widthHint |
2 | 1 | [[#a0b834a0]] | convertHeightInCharsToPixels |
2 | 2 | [[#a0b834a0]] | convertWidthInCharsToPixels |
3 | 1 | [[#a0b83440]] | 15 |
3 | 2 | [[#a0b83440]] | 55 |
4 | 1 | [[#a0b833e0]] | widthHint |
4 | 2 | [[#a0b833e0]] | heightHint |
5 | 1 | [[#a0b83360]] | convertWidthInCharsToPixels |
5 | 2 | [[#a0b83360]] | convertHeightInCharsToPixels |
6 | 1 | [[#a0b83420]] | 55 |
6 | 2 | [[#a0b83420]] | 15 |