CloneSet544


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12301.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1121181
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java
2121373
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/ecore2xml/presentation/Ecore2XMLEditor.java
3121561
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/presentation/MappingEditor.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
1181
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java

// Ensures that this editor will only display the page's tab
// area if there are more than one page
//
getContainer().addControlListener(new ControlAdapter() {
                                    boolean guard = false;

                                    @Override public void controlResized(ControlEvent event) {
                                      if ( !guard) {
                                        guard = true;
                                        hideTabs();
                                        guard = false;
                                      }
                                    }
                                  } );


Next
Previous
Clone Instance
2
Line Count
12
Source Line
1373
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/ecore2xml/presentation/Ecore2XMLEditor.java

// Ensures that this editor will only display the page's tab
// area if there are more than one page
//
getContainer().addControlListener(new ControlAdapter() {
                                    boolean guard = false;

                                    @Override public void controlResized(ControlEvent event) {
                                      if ( !guard) {
                                        guard = true;
                                        hideTabs();
                                        guard = false;
                                      }
                                    }
                                  } );


First
Previous
Clone Instance
3
Line Count
12
Source Line
1561
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/presentation/MappingEditor.java

getContainer().addControlListener(new ControlAdapter() {
                                    boolean guard = false;

                                    @Override public void controlResized(ControlEvent event) {
                                      if ( !guard) {
                                        guard = true;
                                        hideTabs();
                                        guard = false;
                                      }
                                    }
                                  } );


Clone AbstractionParameter Count: 0Parameter Bindings

// Ensures that this editor will only display the page's tab
// area if there are more than one page
//
getContainer().addControlListener(new ControlAdapter() {
                                    boolean guard = false;

                                    @Override public void controlResized(ControlEvent event) {
                                      if ( !guard) {
                                        guard = true;
                                        hideTabs();
                                        guard = false;
                                      }
                                    }
                                  } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None