CloneSet652


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.983method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11355
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/FindAction.java
21352
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/ReplaceAction.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
55
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/FindAction.java

private void doActionPerformed(ISQLEntryPanel sqlEntryPanel, ActionEvent evt) {
  if (false == sqlEntryPanel instanceof NetbeansSQLEntryPanel) {
    String msg =
                //i18n[syntax.findNetbeansOnly=Find is only available when the Netbeans editor is used.\nSee menu File --> New Session Properties --> Tab Syntax]
                s_stringMgr.getString("syntax.findNetbeansOnly");
    JOptionPane.showMessageDialog(_session.getApplication().getMainFrame(), msg);
    return;
  }
  NetbeansSQLEntryPanel nsep = (NetbeansSQLEntryPanel) sqlEntryPanel;
  nsep.showFindDialog(evt);
}


First
Previous
Clone Instance
2
Line Count
13
Source Line
52
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/ReplaceAction.java

private void doActionPerformed(ISQLEntryPanel sqlEntryPanel, ActionEvent evt) {
  if (false == sqlEntryPanel instanceof NetbeansSQLEntryPanel) {
    String msg =
                //i18n[syntax.replaceNetbeansOnly=Replace is only available when the Netbeans editor is used.\nSee menu File --> New Session Properties --> Tab Syntax]
                s_stringMgr.getString("syntax.replaceNetbeansOnly");
    JOptionPane.showMessageDialog(_session.getApplication().getMainFrame(), msg);
    return;
  }
  NetbeansSQLEntryPanel nsep = (NetbeansSQLEntryPanel) sqlEntryPanel;
  nsep.showReplaceDialog(evt);
}


Clone AbstractionParameter Count: 2Parameter Bindings

private void doActionPerformed(ISQLEntryPanel sqlEntryPanel, ActionEvent evt) {
  if (false == sqlEntryPanel instanceof NetbeansSQLEntryPanel) {
    String msg =
                //i18n[syntax.findNetbeansOnly=Find is only available when the Netbeans editor is used.\nSee menu File --> New Session Properties --> Tab Syntax]
                //i18n[syntax.replaceNetbeansOnly=Replace is only available when the Netbeans editor is used.\nSee menu File --> New Session Properties --> Tab Syntax]
                s_stringMgr.getString( [[#variable1cc1f8a0]]);
    JOptionPane.showMessageDialog(_session.getApplication().getMainFrame(), msg);
    return;
  }
  NetbeansSQLEntryPanel nsep = (NetbeansSQLEntryPanel) sqlEntryPanel;
  nsep. [[#variable1cc1f7a0]](evt);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cc1f8a0]]
"syntax.findNetbeansOnly" 
12[[#1cc1f8a0]]
"syntax.replaceNetbeansOnly" 
21[[#1cc1f7a0]]
showFindDialog 
22[[#1cc1f7a0]]
showReplaceDialog