CloneSet5258


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.970class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16235
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ComboDialogField.java
26169
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/StringDialogField.java
Clone Instance
1
Line Count
6
Source Line
235
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ComboDialogField.java

        /**
         * Sets the text without triggering a dialog-changed event.
         */
        public void setTextWithoutUpdate(String text) {
                fText = text;
                if (isOkToUse(fComboControl)) {
                        fComboControl.removeModifyListener(fModifyListener);
                        fComboControl.setText(text);
                        fComboControl.addModifyListener(fModifyListener);
                }
        }


Clone Instance
2
Line Count
6
Source Line
169
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/StringDialogField.java

        /**
         * Sets the text without triggering a dialog-changed event.
         */
        public void setTextWithoutUpdate(String text) {
                fText = text;
                if (isOkToUse(fTextControl)) {
                        fTextControl.removeModifyListener(fModifyListener);
                        fTextControl.setText(text);
                        fTextControl.addModifyListener(fModifyListener);
                }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Sets the text without triggering a dialog-changed event.
         */
public void setTextWithoutUpdate(String text) {
  fText = text;
  if (isOkToUse( [[#variableb2c1b6a0]])) {
     [[#variableb2c1b6a0]].removeModifyListener(fModifyListener);
     [[#variableb2c1b6a0]].setText(text);
     [[#variableb2c1b6a0]].addModifyListener(fModifyListener);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2c1b6a0]]
fTextControl 
12[[#b2c1b6a0]]
fComboControl