CloneSet923


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114409
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java
214518
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java
Clone Instance
1
Line Count
14
Source Line
409
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java

        protected ExpandableComposite createStyleSection(Composite parent, String label, int nColumns) {
                ExpandableComposite excomposite = new ExpandableComposite(parent, SWT.NONE, ExpandableComposite.TWISTIE|  ExpandableComposite.CLIENT_INDENT);
                excomposite.setText(label);
                excomposite.setExpanded(false);
                excomposite.setFont(JFaceResources.getFontRegistry().getBold(JFaceResources.DIALOG_FONT));
                excomposite.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, nColumns, 1));
                excomposite.addExpansionListener(new ExpansionAdapter() {
                        public void expansionStateChanged(ExpansionEvent e) {
                                expandedStateChanged((ExpandableComposite) e.getSource());
                        }
                                                 } );
                fExpandedComposites.add(excomposite);
                makeScrollableCompositeAware(excomposite);
                return excomposite;
        }


Clone Instance
2
Line Count
14
Source Line
518
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java

        protected ExpandableComposite createStyleSection(Composite parent, String label, int nColumns) {
                ExpandableComposite excomposite = new ExpandableComposite(parent, SWT.NONE, ExpandableComposite.TWISTIE|  ExpandableComposite.CLIENT_INDENT);
                excomposite.setText(label);
                excomposite.setExpanded(false);
                excomposite.setFont(JFaceResources.getFontRegistry().getBold(JFaceResources.DIALOG_FONT));
                excomposite.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, nColumns, 1));
                excomposite.addExpansionListener(new ExpansionAdapter() {
                        public void expansionStateChanged(ExpansionEvent e) {
                                expandedStateChanged((ExpandableComposite) e.getSource());
                        }
                                                 } );
                fExpandedComposites.add(excomposite);
                makeScrollableCompositeAware(excomposite);
                return excomposite;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

protected ExpandableComposite createStyleSection(Composite parent, String label, int nColumns) {
  ExpandableComposite excomposite = new ExpandableComposite(parent, SWT.NONE, ExpandableComposite.TWISTIE|ExpandableComposite.CLIENT_INDENT);
  excomposite.setText(label);
  excomposite.setExpanded(false);
  excomposite.setFont(JFaceResources.getFontRegistry().getBold(JFaceResources.DIALOG_FONT));
  excomposite.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, nColumns, 1));
  excomposite.addExpansionListener(new ExpansionAdapter() {
                                     public void expansionStateChanged(ExpansionEvent e) {
                                       expandedStateChanged((ExpandableComposite) e.getSource());
                                     }
                                   } );
  fExpandedComposites.add(excomposite);
  makeScrollableCompositeAware(excomposite);
  return excomposite;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None