| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 3 | 2 | 0.978 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 346 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TableTextCellEditor.java |
| 2 | 4 | 352 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TableTextCellEditor.java |
| 3 | 4 | 371 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TableTextCellEditor.java |
| ||||
public boolean isCopyEnabled() {
if (text == null || text.isDisposed())
return false;
return text.getSelectionCount() > 0;
}
|
| ||||
public boolean isCutEnabled() {
if (text == null || text.isDisposed())
return false;
return text.getSelectionCount() > 0;
}
|
| ||||
public boolean isSelectAllEnabled() {
if (text == null || text.isDisposed())
return false;
return text.getCharCount() > 0;
}
|
| |||
public boolean [[#variableb2b3d180]]() {
if (text == null || text.isDisposed())
return false;
return text. [[#variableb2b3d060]]() > 0;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b2b3d180]] | isCopyEnabled |
| 1 | 2 | [[#b2b3d180]] | isCutEnabled |
| 1 | 3 | [[#b2b3d180]] | isSelectAllEnabled |
| 2 | 1 | [[#b2b3d060]] | getSelectionCount |
| 2 | 2 | [[#b2b3d060]] | getSelectionCount |
| 2 | 3 | [[#b2b3d060]] | getCharCount |