CloneSet274


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
25230.968block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
125168
E:/TSE/Projects-CloneDR/sql12/plugins/sqlscript/src/net/sourceforge/squirrel_sql/plugins/sqlscript/prefs/SQLScriptPreferencesPanel.java
225195
E:/TSE/Projects-CloneDR/sql12/plugins/sqlscript/src/net/sourceforge/squirrel_sql/plugins/sqlscript/prefs/SQLScriptPreferencesPanel.java
Next
Last
Clone Instance
1
Line Count
25
Source Line
168
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/sqlscript/src/net/sourceforge/squirrel_sql/plugins/sqlscript/prefs/SQLScriptPreferencesPanel.java

{
  GridBagConstraints c = new GridBagConstraints();
  c.gridx = col;
  c.gridy = row;
  c.insets = new Insets(5, 25, 0, 0);
  c.anchor = GridBagConstraints.WEST;
  JPanel subpanel = new JPanel();
  //i18n[SQLScriptPreferencesPanel.deleteActionLabel=Action to take on delete:]
  String cbLabelStr = s_stringMgr.getString("SQLScriptPreferencesPanel.deleteActionLabel");
  deleteActionLabel = new JLabel(cbLabelStr);
  deleteActionLabel.setHorizontalAlignment(JLabel.LEFT);
  deleteActionComboBox = new JComboBox();
  DefaultComboBoxModel model = new DefaultComboBoxModel(new String[] {
                                                                       "NO ACTION",
                                                                       "CASCADE",
                                                                       "SET DEFAULT",
                                                                       "SET NULL"
                                                                     } );
  deleteActionComboBox.setModel(model);
  subpanel.add(deleteActionLabel);
  subpanel.add(deleteActionComboBox);
  panel.add(subpanel, c);
}


First
Previous
Clone Instance
2
Line Count
25
Source Line
195
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/sqlscript/src/net/sourceforge/squirrel_sql/plugins/sqlscript/prefs/SQLScriptPreferencesPanel.java

{
  GridBagConstraints c = new GridBagConstraints();
  c.gridx = col;
  c.gridy = row;
  c.insets = new Insets(5, 25, 0, 0);
  c.anchor = GridBagConstraints.WEST;
  JPanel subpanel = new JPanel();
  //i18n[SQLScriptPreferencesPanel.updateActionLabel=Action to take on update:]
  String cbLabelStr = s_stringMgr.getString("SQLScriptPreferencesPanel.updateActionLabel");
  updateActionLabel = new JLabel(cbLabelStr);
  updateActionLabel.setHorizontalAlignment(JLabel.LEFT);
  updateActionComboBox = new JComboBox();
  DefaultComboBoxModel model = new DefaultComboBoxModel(new String[] {
                                                                       "NO ACTION",
                                                                       "CASCADE",
                                                                       "SET DEFAULT",
                                                                       "SET NULL"
                                                                     } );
  updateActionComboBox.setModel(model);
  subpanel.add(updateActionLabel);
  subpanel.add(updateActionComboBox);
  panel.add(subpanel, c);
}


Clone AbstractionParameter Count: 3Parameter Bindings

{
  GridBagConstraints c = new GridBagConstraints();
  c.gridx = col;
  c.gridy = row;
  c.insets = new Insets(5, 25, 0, 0);
  c.anchor = GridBagConstraints.WEST;
  JPanel subpanel = new JPanel();
  //i18n[SQLScriptPreferencesPanel.deleteActionLabel=Action to take on delete:]
  //i18n[SQLScriptPreferencesPanel.updateActionLabel=Action to take on update:]
  String cbLabelStr = s_stringMgr.getString( [[#variable18dc0bc0]]);
   [[#variable18dc0b20]]= new JLabel(cbLabelStr);
   [[#variable18dc0b20]].setHorizontalAlignment(JLabel.LEFT);
   [[#variable18dc09e0]]= new JComboBox();
  DefaultComboBoxModel model = new DefaultComboBoxModel(new String[] {
                                                                       "NO ACTION",
                                                                       "CASCADE",
                                                                       "SET DEFAULT",
                                                                       "SET NULL"
                                                                     } );
   [[#variable18dc09e0]].setModel(model);
  subpanel.add( [[#variable18dc0b20]]);
  subpanel.add( [[#variable18dc09e0]]);
  panel.add(subpanel, c);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18dc0bc0]]
"SQLScriptPreferencesPanel.deleteActionLabel" 
12[[#18dc0bc0]]
"SQLScriptPreferencesPanel.updateActionLabel" 
21[[#18dc0b20]]
deleteActionLabel 
22[[#18dc0b20]]
updateActionLabel 
31[[#18dc09e0]]
deleteActionComboBox 
32[[#18dc09e0]]
updateActionComboBox