CloneSet639


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.974method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110168
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/prefspanel/StyleMaintenancePanel.java
210197
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/prefspanel/StyleMaintenancePanel.java
Next
Last
Clone Instance
1
Line Count
10
Source Line
168
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/prefspanel/StyleMaintenancePanel.java

public void actionPerformed(ActionEvent evt) {
  final SyntaxStyle style = _list.getSelectedSyntaxStyle();
  final int origRGB = style.getTextRGB();
  final Color color = JColorChooser.showDialog(null, 
                                                    //i18n[syntax.selColor=Select Color]
                                                    s_stringMgr.getString("syntax.selColor"), new Color(origRGB));
  if (color != null) {
    style.setTextRGB(color.getRGB());
  }
}


First
Previous
Clone Instance
2
Line Count
10
Source Line
197
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/prefspanel/StyleMaintenancePanel.java

public void actionPerformed(ActionEvent evt) {
  final SyntaxStyle style = _list.getSelectedSyntaxStyle();
  final int origRGB = style.getBackgroundRGB();
  final Color color = JColorChooser.showDialog(null, 
                                                    //i18n[syntax.selColor2=Select Color]
                                                    s_stringMgr.getString("syntax.selColor2"), new Color(origRGB));
  if (color != null) {
    style.setBackgroundRGB(color.getRGB());
  }
}


Clone AbstractionParameter Count: 3Parameter Bindings

public void actionPerformed(ActionEvent evt) {
  final SyntaxStyle style = _list.getSelectedSyntaxStyle();
  final int origRGB = style. [[#variable1cc0b040]]();
  final Color color = JColorChooser.showDialog(null, 
                                                    //i18n[syntax.selColor2=Select Color]
                                                    //i18n[syntax.selColor=Select Color]
                                                    s_stringMgr.getString( [[#variable1cc0b560]]), new Color(origRGB));
  if (color != null) {
    style. [[#variable1cc0afe0]](color.getRGB());
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cc0b040]]
getTextRGB 
12[[#1cc0b040]]
getBackgroundRGB 
21[[#1cc0b560]]
"syntax.selColor" 
22[[#1cc0b560]]
"syntax.selColor2" 
31[[#1cc0afe0]]
setTextRGB 
32[[#1cc0afe0]]
setBackgroundRGB