CloneSet4101


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.952statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14308
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayView.java
24314
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayView.java
Clone Instance
1
Line Count
4
Source Line
308
Source File
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);


Clone Instance
2
Line Count
4
Source Line
314
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayView.java

                        // 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);


Clone AbstractionParameter Count: 4Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97ed8b00]]
undoAction 
12[[#97ed8b00]]
redoAction 
21[[#97ed8aa0]]
UndoActionHandler 
22[[#97ed8aa0]]
RedoActionHandler 
31[[#97ed8a20]]
UNDO_ACTION 
32[[#97ed8a20]]
REDO_ACTION 
41[[#97ed89a0]]
UNDO 
42[[#97ed89a0]]
REDO