Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.953 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 453 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/ObjectTreePanel.java |
2 | 7 | 470 | 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); } |
| |||||
/** * 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); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c9b6ea0]] | addTreeSelectionListener |
1 | 2 | [[#1c9b6ea0]] | removeTreeSelectionListener |