CloneSet65


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
69230.978class_body_declarations[14]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16956
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/tree/JMeterTreeListener.java
26952
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/tree/ReportTreeListener.java
Next
Last
Clone Instance
1
Line Count
69
Source Line
56
Source File
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/tree/JMeterTreeListener.java

// Container endWindow;
// JPopupMenu pop;
private TreePath currentPath;

private ActionListener actionHandler;

private JMeterTreeModel model;

private JTree tree;

private boolean dragging = false;

private JMeterTreeNode[] draggedNodes;

private JLabel dragIcon = new JLabel(JMeterUtils.getImage("leafnode.gif")); // $NON-NLS-1$

/**
 * Constructor for the JMeterTreeListener object.
 */
public JMeterTreeListener(JMeterTreeModel model) {
  this.model = model;
  dragIcon.validate();
  dragIcon.setVisible(true);
}

public JMeterTreeListener() {
  dragIcon.validate();
  dragIcon.setVisible(true);
}

public void setModel(JMeterTreeModel m) {
  model = m;
}

/**
 * Sets the ActionHandler attribute of the JMeterTreeListener object.
 * 
 * @param ah
 *            the new ActionHandler value
 */
public void setActionHandler(ActionListener ah) {
  actionHandler = ah;
}

/**
 * Sets the JTree attribute of the JMeterTreeListener object.
 * 
 * @param tree
 *            the new JTree value
 */
public void setJTree(JTree tree) {
  this.tree = tree;
}

/**
 * Sets the EndWindow attribute of the JMeterTreeListener object.
 * 
 * @param window
 *            the new EndWindow value
 */
public void setEndWindow(Container window) {
// endWindow = window;
}

/**
 * Gets the JTree attribute of the JMeterTreeListener object.
 * 
 * @return tree the current JTree value.
 */
public JTree getJTree() {
  return tree;
}


First
Previous
Clone Instance
2
Line Count
69
Source Line
52
Source File
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/tree/ReportTreeListener.java

// Container endWindow;
// JPopupMenu pop;
private TreePath currentPath;

private ActionListener actionHandler;

private ReportTreeModel model;

private JTree tree;

private boolean dragging = false;

private ReportTreeNode[] draggedNodes;

private JLabel dragIcon = new JLabel(JMeterUtils.getImage("leafnode.gif"));

/**
 * Constructor for the JMeterTreeListener object.
 */
public ReportTreeListener(ReportTreeModel model) {
  this.model = model;
  dragIcon.validate();
  dragIcon.setVisible(true);
}

public ReportTreeListener() {
  dragIcon.validate();
  dragIcon.setVisible(true);
}

public void setModel(ReportTreeModel m) {
  model = m;
}

/**
 * Sets the ActionHandler attribute of the JMeterTreeListener object.
 * 
 * @param ah
 *            the new ActionHandler value
 */
public void setActionHandler(ActionListener ah) {
  actionHandler = ah;
}

/**
 * Sets the JTree attribute of the JMeterTreeListener object.
 * 
 * @param tree
 *            the new JTree value
 */
public void setJTree(JTree tree) {
  this.tree = tree;
}

/**
 * Sets the EndWindow attribute of the JMeterTreeListener object.
 * 
 * @param window
 *            the new EndWindow value
 */
public void setEndWindow(Container window) {
// endWindow = window;
}

/**
 * Gets the JTree attribute of the JMeterTreeListener object.
 * 
 * @return tree the current JTree value.
 */
public JTree getJTree() {
  return tree;
}


Clone AbstractionParameter Count: 3Parameter Bindings

// Container endWindow;
// JPopupMenu pop;
private TreePath currentPath;

private ActionListener actionHandler;

private [[#variabledff6360]] model;

private JTree tree;

private boolean dragging = false;

private [[#variabledff3720]][] draggedNodes;

private JLabel dragIcon = new JLabel(JMeterUtils.getImage("leafnode.gif")); // $NON-NLS-1$

/**
         * Constructor for the JMeterTreeListener object.
         */
public [[#variabledff6320]]( [[#variabledff6360]] model) {
  this.model = model;
  dragIcon.validate();
  dragIcon.setVisible(true);
}

public [[#variabledff6320]]() {
  dragIcon.validate();
  dragIcon.setVisible(true);
}

public void setModel( [[#variabledff6360]] m) {
  model = m;
}

/**
         * Sets the ActionHandler attribute of the JMeterTreeListener object.
         * 
         * @param ah
         *            the new ActionHandler value
         */
public void setActionHandler(ActionListener ah) {
  actionHandler = ah;
}

/**
         * Sets the JTree attribute of the JMeterTreeListener object.
         * 
         * @param tree
         *            the new JTree value
         */
public void setJTree(JTree tree) {
  this.tree = tree;
}

/**
         * Sets the EndWindow attribute of the JMeterTreeListener object.
         * 
         * @param window
         *            the new EndWindow value
         */
public void setEndWindow(Container window) {
// endWindow = window;
}

/**
         * Gets the JTree attribute of the JMeterTreeListener object.
         * 
         * @return tree the current JTree value.
         */
public JTree getJTree() {
  return tree;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#dff6360]]
JMeterTreeModel 
12[[#dff6360]]
ReportTreeModel 
21[[#dff3720]]
JMeterTreeNode 
22[[#dff3720]]
ReportTreeNode 
31[[#dff6320]]
JMeterTreeListener 
32[[#dff6320]]
ReportTreeListener