CloneSet72


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
28410.988class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
125228
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/ColumnListDialog.java
228151
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/AbstractRefactoringDialog.java
327111
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/AbstractRefactoringTabbedDialog.java
428233
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/DefaultListDialog.java
Next
Last
Clone Instance
1
Line Count
25
Source Line
228
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/ColumnListDialog.java

private GridBagConstraints getLabelConstraints(GridBagConstraints c) {
  c.gridx = 0;
  c.gridy++;
  c.anchor = GridBagConstraints.NORTHEAST;
  c.fill = GridBagConstraints.NONE;
  c.weightx = 0;
  c.weighty = 0;
  return c;
}

private GridBagConstraints getFieldConstraints(GridBagConstraints c) {
  c.gridx++;
  c.anchor = GridBagConstraints.NORTHWEST;
  c.weightx = 0;
  c.weighty = 0;
  c.fill = GridBagConstraints.HORIZONTAL;
  return c;
}

private JLabel getBorderedLabel(String text, Border border) {
  JLabel result = new JLabel(text);
  result.setBorder(border);
  result.setPreferredSize(new Dimension(115, 20));
  result.setHorizontalAlignment(SwingConstants.RIGHT);
  return result;
}


Next
Previous
Clone Instance
2
Line Count
28
Source Line
151
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/AbstractRefactoringDialog.java

protected GridBagConstraints getLabelConstraints(GridBagConstraints c) {
  c.gridx = 0;
  c.gridy++;
  c.anchor = GridBagConstraints.NORTHEAST;
  c.fill = GridBagConstraints.NONE;
  c.weightx = 0;
  c.weighty = 0;
  return c;
}

protected GridBagConstraints getFieldConstraints(GridBagConstraints c) {
  c.gridx++;
  c.anchor = GridBagConstraints.NORTHWEST;
  c.weightx = 0;
  c.weighty = 0;
  c.fill = GridBagConstraints.HORIZONTAL;
  return c;
}

protected JLabel getBorderedLabel(String text, Border border) {
  JLabel result = new JLabel(text);
  result.setBorder(border);
  result.setPreferredSize(new Dimension(115, 20));
  result.setHorizontalAlignment(SwingConstants.RIGHT);
  return result;
}


Next
Previous
Clone Instance
3
Line Count
27
Source Line
111
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/AbstractRefactoringTabbedDialog.java

protected GridBagConstraints getLabelConstraints(GridBagConstraints c) {
  c.gridx = 0;
  c.gridy++;
  c.anchor = GridBagConstraints.NORTHEAST;
  c.fill = GridBagConstraints.NONE;
  c.weightx = 0;
  c.weighty = 0;
  return c;
}

protected GridBagConstraints getFieldConstraints(GridBagConstraints c) {
  c.gridx++;
  c.anchor = GridBagConstraints.NORTHWEST;
  c.weightx = 0;
  c.weighty = 0;
  c.fill = GridBagConstraints.HORIZONTAL;
  return c;
}

protected JLabel getBorderedLabel(String text, Border border) {
  JLabel result = new JLabel(text);
  result.setBorder(border);
  result.setPreferredSize(new Dimension(115, 20));
  result.setHorizontalAlignment(SwingConstants.RIGHT);
  return result;
}


First
Previous
Clone Instance
4
Line Count
28
Source Line
233
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/DefaultListDialog.java

private GridBagConstraints getLabelConstraints(GridBagConstraints c) {
  c.gridx = 0;
  c.gridy++;
  c.anchor = GridBagConstraints.NORTHEAST;
  c.fill = GridBagConstraints.NONE;
  c.weightx = 0;
  c.weighty = 0;
  return c;
}

private GridBagConstraints getFieldConstraints(GridBagConstraints c) {
  c.gridx++;
  c.anchor = GridBagConstraints.NORTHWEST;
  c.weightx = 0;
  c.weighty = 0;
  c.fill = GridBagConstraints.HORIZONTAL;
  return c;
}

private JLabel getBorderedLabel(String text, Border border) {
  JLabel result = new JLabel(text);
  result.setBorder(border);
  result.setPreferredSize(new Dimension(115, 20));
  result.setHorizontalAlignment(SwingConstants.RIGHT);
  return result;
}


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variable1ab9e460]]GridBagConstraints getLabelConstraints(GridBagConstraints c) {
  c.gridx = 0;
  c.gridy++;
  c.anchor = GridBagConstraints.NORTHEAST;
  c.fill = GridBagConstraints.NONE;
  c.weightx = 0;
  c.weighty = 0;
  return c;
}

 [[#variable1ab9e460]]GridBagConstraints getFieldConstraints(GridBagConstraints c) {
  c.gridx++;
  c.anchor = GridBagConstraints.NORTHWEST;
  c.weightx = 0;
  c.weighty = 0;
  c.fill = GridBagConstraints.HORIZONTAL;
  return c;
}

 [[#variable1ab9e460]]JLabel getBorderedLabel(String text, Border border) {
  JLabel result = new JLabel(text);
  result.setBorder(border);
  result.setPreferredSize(new Dimension(115, 20));
  result.setHorizontalAlignment(SwingConstants.RIGHT);
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ab9e460]]
private 
12[[#1ab9e460]]
protected 
13[[#1ab9e460]]
protected 
14[[#1ab9e460]]
private