CloneSet3457


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4510.974class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14207
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariablePathDialogField.java
24147
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ComboDialogField.java
34192
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogField.java
44164
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/StringButtonStatusDialogField.java
54138
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/StringDialogField.java
Clone Instance
1
Line Count
4
Source Line
207
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariablePathDialogField.java

        protected void updateEnableState() {
                super.updateEnableState();
                if (isOkToUse(fBrowseVariableButton)) {
                        fBrowseVariableButton.setEnabled(isEnabled());
                }
        }


Clone Instance
2
Line Count
4
Source Line
147
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ComboDialogField.java

        // ------ enable / disable management
        /*
         * @see DialogField#updateEnableState
         */
        protected void updateEnableState() {
                super.updateEnableState();
                if (isOkToUse(fComboControl)) {
                        fComboControl.setEnabled(isEnabled());
                }
        }


Clone Instance
3
Line Count
4
Source Line
192
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogField.java

        // ------ enable / disable management
        /*
         * @see DialogField#updateEnableState
         */
        protected void updateEnableState() {
                super.updateEnableState();
                if (isOkToUse(fButton)) {
                        fButton.setEnabled(isEnabled());
                }
        }


Clone Instance
4
Line Count
4
Source Line
164
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/StringButtonStatusDialogField.java

        // ------ enable / disable management
        /*
         * @see DialogField#updateEnableState
         */
        protected void updateEnableState() {
                super.updateEnableState();
                if (isOkToUse(fStatusLabelControl)) {
                        fStatusLabelControl.setEnabled(isEnabled());
                }
        }


Clone Instance
5
Line Count
4
Source Line
138
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/StringDialogField.java

        // ------ enable / disable management
        /*
         * @see DialogField#updateEnableState
         */
        protected void updateEnableState() {
                super.updateEnableState();
                if (isOkToUse(fTextControl)) {
                        fTextControl.setEnabled(isEnabled());
                }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

// ------ enable / disable management
/*
         * @see DialogField#updateEnableState
         */
protected void updateEnableState() {
  super.updateEnableState();
  if (isOkToUse( [[#variable97ac13c0]])) {
     [[#variable97ac13c0]].setEnabled(isEnabled());
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97ac13c0]]
fTextControl 
12[[#97ac13c0]]
fStatusLabelControl 
13[[#97ac13c0]]
fButton 
14[[#97ac13c0]]
fComboControl 
15[[#97ac13c0]]
fBrowseVariableButton