CloneSet1840


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.953method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17453
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/ObjectTreePanel.java
27470
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/ObjectTreePanel.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
453
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/ObjectTreePanel.java

/**
 * Add a listener to the object tree for selection changes.
 *
 * @param       lis             The <TT>TreeSelectionListener</TT> you want added.
 *
 * @throws      IllegalArgumentException
 *                      Thrown if <TT>null</TT> <TT>TreeSelectionListener</TT> passed.
 */
public void addTreeSelectionListener(TreeSelectionListener lis) {
  if (lis == null) {
    throw new IllegalArgumentException("TreeSelectionListener == null");
  }
  _tree.addTreeSelectionListener(lis);
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
470
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/ObjectTreePanel.java

/**
 * Remove a listener from the object tree for selection changes.
 *
 * @param       lis             The <TT>TreeSelectionListener</TT> you want removed.
 *
 * @throws      IllegalArgumentException
 *                      Thrown if <TT>null</TT> <TT>TreeSelectionListener</TT> passed.
 */
public void removeTreeSelectionListener(TreeSelectionListener lis) {
  if (lis == null) {
    throw new IllegalArgumentException("TreeSelectionListener == null");
  }
  _tree.removeTreeSelectionListener(lis);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Remove a listener from the object tree for selection changes.
         *
         * @param       lis             The <TT>TreeSelectionListener</TT> you want removed.
         *
         * @throws      IllegalArgumentException
         *                      Thrown if <TT>null</TT> <TT>TreeSelectionListener</TT> passed.
         */
/**
         * Add a listener to the object tree for selection changes.
         *
         * @param       lis             The <TT>TreeSelectionListener</TT> you want added.
         *
         * @throws      IllegalArgumentException
         *                      Thrown if <TT>null</TT> <TT>TreeSelectionListener</TT> passed.
         */
public void [[#variable1c9b6ea0]](TreeSelectionListener lis) {
  if (lis == null) {
    throw new IllegalArgumentException("TreeSelectionListener == null");
  }
  _tree. [[#variable1c9b6ea0]](lis);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1c9b6ea0]]
addTreeSelectionListener 
12[[#1c9b6ea0]]
removeTreeSelectionListener