Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.977 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 83 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/gui/DefaultInputHandler.java |
2 | 3 | 98 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/gui/DefaultInputHandler.java |
| |||||
//{{{ addKeyBinding() method /** * Adds a key binding to this input handler. The key binding is * a list of white space separated key strokes of the form * <i>[modifiers+]key</i> where modifier is C for Control, A for Alt, * or S for Shift, and key is either a character (a-z) or a field * name in the KeyEvent class prefixed with VK_ (e.g., BACK_SPACE) * @param keyBinding The key binding * @param action The action * @since jEdit 4.2pre1 */ public void addKeyBinding(String keyBinding, String action) { _addKeyBinding(keyBinding, (Object) action); } //}}} |
| |||||
//{{{ addKeyBinding() method /** * Adds a key binding to this input handler. The key binding is * a list of white space separated key strokes of the form * <i>[modifiers+]key</i> where modifier is C for Control, A for Alt, * or S for Shift, and key is either a character (a-z) or a field * name in the KeyEvent class prefixed with VK_ (e.g., BACK_SPACE) * @param keyBinding The key binding * @param action The action */ public void addKeyBinding(String keyBinding, EditAction action) { _addKeyBinding(keyBinding, (Object) action); } //}}} |
| |||
//{{{ addKeyBinding() method /** * Adds a key binding to this input handler. The key binding is * a list of white space separated key strokes of the form * <i>[modifiers+]key</i> where modifier is C for Control, A for Alt, * or S for Shift, and key is either a character (a-z) or a field * name in the KeyEvent class prefixed with VK_ (e.g., BACK_SPACE) * @param keyBinding The key binding * @param action The action */ /** * Adds a key binding to this input handler. The key binding is * a list of white space separated key strokes of the form * <i>[modifiers+]key</i> where modifier is C for Control, A for Alt, * or S for Shift, and key is either a character (a-z) or a field * name in the KeyEvent class prefixed with VK_ (e.g., BACK_SPACE) * @param keyBinding The key binding * @param action The action * @since jEdit 4.2pre1 */ public void addKeyBinding(String keyBinding, [[#variablec31ecc0]] action) { _addKeyBinding(keyBinding, (Object) action); } //}}} |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c31ecc0]] | String |
1 | 2 | [[#c31ecc0]] | EditAction |