Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.974 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 168 | E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/prefspanel/StyleMaintenancePanel.java |
2 | 10 | 197 | 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()); } } |
| |||||
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()); } } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cc0b040]] | getTextRGB |
1 | 2 | [[#1cc0b040]] | getBackgroundRGB |
2 | 1 | [[#1cc0b560]] | "syntax.selColor" |
2 | 2 | [[#1cc0b560]] | "syntax.selColor2" |
3 | 1 | [[#1cc0afe0]] | setTextRGB |
3 | 2 | [[#1cc0afe0]] | setBackgroundRGB |