Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.952 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 548 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/GUIUtilities.java |
2 | 4 | 563 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/GUIUtilities.java |
| |||||
//{{{ input() method /** * Displays an input dialog box and returns any text the user entered. * The title of the dialog is fetched from * the <code><i>name</i>.title</code> property. The message is fetched * from the <code><i>name</i>.message</code> property. * @param comp The component to display the dialog for * @param name The name of the dialog * @param def The text to display by default in the input field */ public static String input(Component comp, String name, Object def) { return input(comp, name, null, def); } //}}} |
| |||||
//{{{ inputProperty() method /** * Displays an input dialog box and returns any text the user entered. * The title of the dialog is fetched from * the <code><i>name</i>.title</code> property. The message is fetched * from the <code><i>name</i>.message</code> property. * @param comp The component to display the dialog for * @param name The name of the dialog * @param def The property whose text to display in the input field */ public static String inputProperty(Component comp, String name, String def) { return inputProperty(comp, name, null, def); } //}}} |
| |||
//{{{ inputProperty() method /** * Displays an input dialog box and returns any text the user entered. * The title of the dialog is fetched from * the <code><i>name</i>.title</code> property. The message is fetched * from the <code><i>name</i>.message</code> property. * @param comp The component to display the dialog for * @param name The name of the dialog * @param def The property whose text to display in the input field */ //{{{ input() method /** * Displays an input dialog box and returns any text the user entered. * The title of the dialog is fetched from * the <code><i>name</i>.title</code> property. The message is fetched * from the <code><i>name</i>.message</code> property. * @param comp The component to display the dialog for * @param name The name of the dialog * @param def The text to display by default in the input field */ public static String [[#variablee206ca0]](Component comp, String name, [[#variablee206c20]] def) { return [[#variablee206ca0]](comp, name, null, def); } //}}} |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#e206ca0]] | input |
1 | 2 | [[#e206ca0]] | inputProperty |
2 | 1 | [[#e206c20]] | Object |
2 | 2 | [[#e206c20]] | String |