CloneSet1120


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14260.985class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11476
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/ListDialog.java
21482
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/ListDialog.java
Clone Instance
1
Line Count
14
Source Line
76
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/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;
        }


Clone Instance
2
Line Count
14
Source Line
82
Source File
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.widthHint = convertWidthInCharsToPixels(55);
                gd.heightHint = convertHeightInCharsToPixels(15);
                table.setLayoutData(gd);
                applyDialogFont(parent);
                return parent;
        }


Clone AbstractionParameter Count: 6Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0b83560]]
heightHint 
12[[#a0b83560]]
widthHint 
21[[#a0b834a0]]
convertHeightInCharsToPixels 
22[[#a0b834a0]]
convertWidthInCharsToPixels 
31[[#a0b83440]]
15 
32[[#a0b83440]]
55 
41[[#a0b833e0]]
widthHint 
42[[#a0b833e0]]
heightHint 
51[[#a0b83360]]
convertWidthInCharsToPixels 
52[[#a0b83360]]
convertHeightInCharsToPixels 
61[[#a0b83420]]
55 
62[[#a0b83420]]
15