| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 31 | 2 | 0 | 1.000 | class_body_declarations[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 31 | 161 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java |
| 2 | 33 | 121 | 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;
}
|
| ||||
/**
* 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;
}
|
| |||
/**
* 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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||