Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.952 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 308 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayView.java |
2 | 4 | 314 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayView.java |
| ||||
// Use actions provided by global undo/redo // Create the undo action OperationHistoryActionHandler undoAction = new UndoActionHandler(getSite(), undoContext); PlatformUI.getWorkbench().getHelpSystem().setHelp(undoAction, IAbstractTextEditorHelpContextIds.UNDO_ACTION); undoAction.setActionDefinitionId(IWorkbenchActionDefinitionIds.UNDO); setGlobalAction(ITextEditorActionConstants.UNDO, undoAction); |
| ||||
// Create the redo action. OperationHistoryActionHandler redoAction = new RedoActionHandler(getSite(), undoContext); PlatformUI.getWorkbench().getHelpSystem().setHelp(redoAction, IAbstractTextEditorHelpContextIds.REDO_ACTION); redoAction.setActionDefinitionId(IWorkbenchActionDefinitionIds.REDO); setGlobalAction(ITextEditorActionConstants.REDO, redoAction); |
| |||
// Use actions provided by global undo/redo // Create the undo action // Create the redo action. OperationHistoryActionHandler [[#variable97ed8b00]]= new [[#variable97ed8aa0]](getSite(), undoContext); PlatformUI.getWorkbench().getHelpSystem().setHelp( [[#variable97ed8b00]], IAbstractTextEditorHelpContextIds. [[#variable97ed8a20]]); [[#variable97ed8b00]].setActionDefinitionId(IWorkbenchActionDefinitionIds. [[#variable97ed89a0]]); setGlobalAction(ITextEditorActionConstants. [[#variable97ed89a0]], [[#variable97ed8b00]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#97ed8b00]] | undoAction |
1 | 2 | [[#97ed8b00]] | redoAction |
2 | 1 | [[#97ed8aa0]] | UndoActionHandler |
2 | 2 | [[#97ed8aa0]] | RedoActionHandler |
3 | 1 | [[#97ed8a20]] | UNDO_ACTION |
3 | 2 | [[#97ed8a20]] | REDO_ACTION |
4 | 1 | [[#97ed89a0]] | UNDO |
4 | 2 | [[#97ed89a0]] | REDO |