Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 0 | 1.000 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 321 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/MethodStubsSelectionButtonGroup.java |
2 | 13 | 81 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/DialogField.java |
| ||||
/** * Tries to set the focus to the dialog field. * Returns <code>true</code> if the dialog field can take focus. * To be re-implemented by dialog field implementors. */ public boolean setFocus() { return false; } /** * Posts <code>setFocus</code> to the display event queue. */ public void postSetFocusOnDialogField(Display display) { if (display != null) { display.asyncExec( new Runnable() { public void run() { setFocus(); } } ); } } |
| ||||
// ------- focus management /** * Tries to set the focus to the dialog field. * Returns <code>true</code> if the dialog field can take focus. * To be reimplemented by dialog field implementors. */ public boolean setFocus() { return false; } /** * Posts <code>setFocus</code> to the display event queue. */ public void postSetFocusOnDialogField(Display display) { if (display != null) { display.asyncExec( new Runnable() { public void run() { setFocus(); } } ); } } |
| |||
// ------- focus management /** * Tries to set the focus to the dialog field. * Returns <code>true</code> if the dialog field can take focus. * To be reimplemented by dialog field implementors. */ /** * Tries to set the focus to the dialog field. * Returns <code>true</code> if the dialog field can take focus. * To be re-implemented by dialog field implementors. */ public boolean setFocus() { return false; } /** * Posts <code>setFocus</code> to the display event queue. */ public void postSetFocusOnDialogField(Display display) { if (display != null) { display.asyncExec(new Runnable() { public void run() { setFocus(); } } ); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |