CloneSet146


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
22230.972statement_sequence[10]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
122227
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/profiles/ProfileChooserDialog.java
222235
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/profiles/ProfileManagerDialog.java
Next
Last
Clone Instance
1
Line Count
22
Source Line
227
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/profiles/ProfileChooserDialog.java

helpButton = new ButtonWithMnemonic(GlobalResourceLoader.getString("", "", "help"));
// associate with JavaHelp
HelpManager.getInstance().enableHelpOnButton(helpButton, "extending_columba_2");
HelpManager.getInstance().enableHelpKey(getRootPane(), "extending_columba_2");
XmlElement profiles = ProfileManager.getInstance().getProfiles();
model = new DefaultListModel();
model.addElement("Default");
for (int i = 0; i < profiles.count(); i++) {
  XmlElement p = profiles.getElement(i);
  String name = p.getAttribute("name");
  model.addElement(name);
}
list = new JList(model);
list.addListSelectionListener(this );
list.addMouseListener(this );


First
Previous
Clone Instance
2
Line Count
22
Source Line
235
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/profiles/ProfileManagerDialog.java

helpButton = new ButtonWithMnemonic(GlobalResourceLoader.getString("", "", "help"));
// associate with JavaHelp
HelpManager.getInstance().enableHelpOnButton(helpButton, "extending_columba_2");
HelpManager.getInstance().enableHelpKey(getRootPane(), "extending_columba_2");
XmlElement profiles = ProfileManager.getInstance().getProfiles();
model = new DefaultListModel();
model.addElement("Default");
for (int i = 0; i < profiles.count(); i++) {
  XmlElement p = profiles.getElement(i);
  String name = p.getAttribute("name");
  model.addElement(name);
}
list = new JList(model);
list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
list.addListSelectionListener(this );


Clone AbstractionParameter Count: 3Parameter Bindings

helpButton = new ButtonWithMnemonic(GlobalResourceLoader.getString("", "", "help"));
// associate with JavaHelp
HelpManager.getInstance().enableHelpOnButton(helpButton, "extending_columba_2");
HelpManager.getInstance().enableHelpKey(getRootPane(), "extending_columba_2");
XmlElement profiles = ProfileManager.getInstance().getProfiles();
model = new DefaultListModel();
model.addElement("Default");
for (int i = 0; i < profiles.count(); i++) {
  XmlElement p = profiles.getElement(i);
  String name = p.getAttribute("name");
  model.addElement(name);
}
list = new JList(model);
list. [[#variablef3e23c0]]( [[#variablef3cf5c0]]);
list. [[#variablef3e2020]](this );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#f3e23c0]]
addListSelectionListener 
12[[#f3e23c0]]
setSelectionMode 
21[[#f3cf5c0]]
this 
22[[#f3cf5c0]]
ListSelectionModel.SINGLE_SELECTION 
31[[#f3e2020]]
addMouseListener 
32[[#f3e2020]]
addListSelectionListener