CloneSet2419


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31201.000class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131161
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java
233121
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java
Clone Instance
1
Line Count
31
Source Line
161
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java

        /**
         * Sets the index of the 'remove' button in the button label array passed in the constructor.
         * The behavior of the button marked as the 'remove' button will then be handled internally.
         * (enable state, button invocation behavior)
         */
        public void setRemoveButtonIndex(int removeButtonIndex) {
                Assert.isTrue(removeButtonIndex < fButtonLabels.length);
                fRemoveButtonIndex = removeButtonIndex;
        }

        /**
         * Sets the index of the 'up' button in the button label array passed in the constructor.
         * The behavior of the button marked as the 'up' button will then be handled internally.
         * (enable state, button invocation behavior)
         */
        public void setUpButtonIndex(int upButtonIndex) {
                Assert.isTrue(upButtonIndex < fButtonLabels.length);
                fUpButtonIndex = upButtonIndex;
        }

        /**
         * Sets the index of the 'down' button in the button label array passed in the constructor.
         * The behavior of the button marked as the 'down' button will then be handled internally.
         * (enable state, button invocation behavior)
         */
        public void setDownButtonIndex(int downButtonIndex) {
                Assert.isTrue(downButtonIndex < fButtonLabels.length);
                fDownButtonIndex = downButtonIndex;
        }

        /**
         * Sets the viewerSorter.
         * @param viewerSorter The viewerSorter to set
         */
        public void setViewerSorter(ViewerSorter viewerSorter) {
                fViewerSorter = viewerSorter;
        }


Clone Instance
2
Line Count
33
Source Line
121
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java

        /**
        * Sets the index of the 'remove' button in the button label array passed in
        * the constructor. The behavior of the button marked as the 'remove' button
        * will then be handled internally. (enable state, button invocation
        * behavior)
        */
        public void setRemoveButtonIndex(int removeButtonIndex) {
                Assert.isTrue(removeButtonIndex < fButtonLabels.length);
                fRemoveButtonIndex = removeButtonIndex;
        }

        /**
        * Sets the index of the 'up' button in the button label array passed in the
        * constructor. The behavior of the button marked as the 'up' button will
        * then be handled internally.
        * (enable state, button invocation behavior)
        */
        public void setUpButtonIndex(int upButtonIndex) {
                Assert.isTrue(upButtonIndex < fButtonLabels.length);
                fUpButtonIndex = upButtonIndex;
        }

        /**
        * Sets the index of the 'down' button in the button label array passed in
        * the constructor. The behavior of the button marked as the 'down' button
        * will then be handled internally. (enable state, button invocation
        * behavior)
        */
        public void setDownButtonIndex(int downButtonIndex) {
                Assert.isTrue(downButtonIndex < fButtonLabels.length);
                fDownButtonIndex = downButtonIndex;
        }

        /**
        * Sets the viewerSorter.
        * @param viewerSorter The viewerSorter to set
        */
        public void setViewerSorter(ViewerSorter viewerSorter) {
                fViewerSorter = viewerSorter;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Sets the index of the 'remove' button in the button label array passed in the constructor.
         * The behavior of the button marked as the 'remove' button will then be handled internally.
         * (enable state, button invocation behavior)
         */
/**
        * Sets the index of the 'remove' button in the button label array passed in
        * the constructor. The behavior of the button marked as the 'remove' button
        * will then be handled internally. (enable state, button invocation
        * behavior)
        */
public void setRemoveButtonIndex(int removeButtonIndex) {
  Assert.isTrue(removeButtonIndex < fButtonLabels.length);
  fRemoveButtonIndex = removeButtonIndex;
}

/**
         * Sets the index of the 'up' button in the button label array passed in the constructor.
         * The behavior of the button marked as the 'up' button will then be handled internally.
         * (enable state, button invocation behavior)
         */
/**
        * Sets the index of the 'up' button in the button label array passed in the
        * constructor. The behavior of the button marked as the 'up' button will
        * then be handled internally.
        * (enable state, button invocation behavior)
        */
public void setUpButtonIndex(int upButtonIndex) {
  Assert.isTrue(upButtonIndex < fButtonLabels.length);
  fUpButtonIndex = upButtonIndex;
}

/**
         * Sets the index of the 'down' button in the button label array passed in the constructor.
         * The behavior of the button marked as the 'down' button will then be handled internally.
         * (enable state, button invocation behavior)
         */
/**
        * Sets the index of the 'down' button in the button label array passed in
        * the constructor. The behavior of the button marked as the 'down' button
        * will then be handled internally. (enable state, button invocation
        * behavior)
        */
public void setDownButtonIndex(int downButtonIndex) {
  Assert.isTrue(downButtonIndex < fButtonLabels.length);
  fDownButtonIndex = downButtonIndex;
}

/**
         * Sets the viewerSorter.
         * @param viewerSorter The viewerSorter to set
         */
/**
        * Sets the viewerSorter.
        * @param viewerSorter The viewerSorter to set
        */
public void setViewerSorter(ViewerSorter viewerSorter) {
  fViewerSorter = viewerSorter;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None