CloneSet492


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16220.959arguments
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116201
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/editor/SWTAxisEditor.java
216203
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/editor/SWTTitleEditor.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
201
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/editor/SWTAxisEditor.java

(new SelectionAdapter() {
   public void widgetSelected(SelectionEvent event) {
     // Create the color-change dialog
     ColorDialog dlg = new ColorDialog(getShell());
     dlg.setText(localizationResources.getString("Title_Color"));
     dlg.setRGB(SWTAxisEditor.this.labelPaintColor.getRGB());
     RGB rgb = dlg.open();
     if (rgb != null) {
       // create the new color and set it to the 
       // SwtPaintCanvas
       SWTAxisEditor.this.labelPaintColor = new Color(getDisplay(), rgb);
       colorCanvas.setColor(SWTAxisEditor.this.labelPaintColor);
     }
   }
 } )


First
Previous
Clone Instance
2
Line Count
16
Source Line
203
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/editor/SWTTitleEditor.java

(new SelectionAdapter() {
   public void widgetSelected(SelectionEvent event) {
     // Create the color-change dialog
     ColorDialog dlg = new ColorDialog(getShell());
     dlg.setText(localizationResources.getString("Title_Color"));
     dlg.setRGB(SWTTitleEditor.this.titleColor.getRGB());
     RGB rgb = dlg.open();
     if (rgb != null) {
       // create the new color and set it to the 
       // SwtPaintCanvas
       SWTTitleEditor.this.titleColor = new Color(getDisplay(), rgb);
       colorCanvas.setColor(SWTTitleEditor.this.titleColor);
     }
   }
 } )


Clone AbstractionParameter Count: 2Parameter Bindings

(new SelectionAdapter() {
   public void widgetSelected(SelectionEvent event) {
     // Create the color-change dialog
     ColorDialog dlg = new ColorDialog(getShell());
     dlg.setText(localizationResources.getString("Title_Color"));
     dlg.setRGB( [[#variable18c79cc0]].this. [[#variable18c79c40]].getRGB());
     RGB rgb = dlg.open();
     if (rgb != null) {
        [[#variable18c79cc0]].this. [[#variable18c79c40]]= new Color(getDisplay(), rgb);
       colorCanvas.setColor( [[#variable18c79cc0]].this. [[#variable18c79c40]]);
     }
   }
 } )
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18c79cc0]]
SWTAxisEditor 
12[[#18c79cc0]]
SWTTitleEditor 
21[[#18c79c40]]
labelPaintColor 
22[[#18c79c40]]
titleColor