Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 1 | 0.979 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 139 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/AbstractEditorController.java |
2 | 10 | 154 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/AbstractEditorController.java |
3 | 10 | 176 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/AbstractEditorController.java |
| |||||
/** **************** FocusOwner implementation **************************** */ // the following lines add cut/copy/paste/undo/redo/selectall // actions support using the Columba action objects. // // This means that we only have a single instance of these // specific actions, which is shared by all menuitems and // toolbar buttons. /** * @see org.columba.core.gui.focus.FocusOwner#isCutActionEnabled() */ public boolean isCutActionEnabled() { if (view.getSelectedText() == null) { return false; } if (view.getSelectedText().length() > 0) { return true; } return false; } |
| |||||
/** * @see org.columba.core.gui.focus.FocusOwner#isCopyActionEnabled() */ public boolean isCopyActionEnabled() { if (view.getSelectedText() == null) { return false; } if (view.getSelectedText().length() > 0) { return true; } return false; } |
| |||||
/** * @see org.columba.core.gui.focus.FocusOwner#isDeleteActionEnabled() */ public boolean isDeleteActionEnabled() { if (view.getSelectedText() == null) { return false; } if (view.getSelectedText().length() > 0) { return true; } return false; } |
| |||
/** * @see org.columba.core.gui.focus.FocusOwner#isDeleteActionEnabled() */ /** * @see org.columba.core.gui.focus.FocusOwner#isCopyActionEnabled() */ /** **************** FocusOwner implementation **************************** */ // the following lines add cut/copy/paste/undo/redo/selectall // actions support using the Columba action objects. // // This means that we only have a single instance of these // specific actions, which is shared by all menuitems and // toolbar buttons. /** * @see org.columba.core.gui.focus.FocusOwner#isCutActionEnabled() */ public boolean [[#variable130a0f00]]() { if (view.getSelectedText() == null) { return false; } if (view.getSelectedText().length() > 0) { return true; } return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130a0f00]] | isCutActionEnabled |
1 | 2 | [[#130a0f00]] | isCopyActionEnabled |
1 | 3 | [[#130a0f00]] | isDeleteActionEnabled |