Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.963 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 30 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/variables/JavaVariableColumnEditorFactory.java |
2 | 10 | 45 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/variables/JavaVariableColumnEditorFactory.java |
| ||||
/* (non-Javadoc) * @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnEditorFactoryAdapter#createColumnEditor(org.eclipse.debug.internal.ui.viewers.provisional.IPresentationContext, java.lang.Object) */ public IColumnEditor createColumnEditor(IPresentationContext context, Object element) { IWorkbenchPart part = context.getPart(); if (part != null) { if (IDebugUIConstants.ID_VARIABLE_VIEW.equals(part.getSite().getId())) { if (element instanceof IJavaVariable) { return new JavaVariableColumnEditor(); } } } return null; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnEditorFactoryAdapter#getColumnEditorId(org.eclipse.debug.internal.ui.viewers.provisional.IPresentationContext, java.lang.Object) */ public String getColumnEditorId(IPresentationContext context, Object element) { IWorkbenchPart part = context.getPart(); if (part != null) { if (IDebugUIConstants.ID_VARIABLE_VIEW.equals(part.getSite().getId())) { if (element instanceof IJavaVariable) { return JavaVariableColumnEditor.JAVA_VARIABLE_COLUMN_EDITOR; } } } return null; } |
| |||
/* (non-Javadoc) * @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnEditorFactoryAdapter#createColumnEditor(org.eclipse.debug.internal.ui.viewers.provisional.IPresentationContext, java.lang.Object) */ /* (non-Javadoc) * @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnEditorFactoryAdapter#getColumnEditorId(org.eclipse.debug.internal.ui.viewers.provisional.IPresentationContext, java.lang.Object) */ public [[#variableb6570da0]] [[#variableb6570d00]](IPresentationContext context, Object element) { IWorkbenchPart part = context.getPart(); if (part != null) { if (IDebugUIConstants.ID_VARIABLE_VIEW.equals(part.getSite().getId())) { if (element instanceof IJavaVariable) { return [[#variableb6570c40]]; } } } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b6570da0]] | IColumnEditor |
1 | 2 | [[#b6570da0]] | String |
2 | 1 | [[#b6570d00]] | createColumnEditor |
2 | 2 | [[#b6570d00]] | getColumnEditorId |
3 | 1 | [[#b6570c40]] | new JavaVariableColumnEditor() |
3 | 2 | [[#b6570c40]] | JavaVariableColumnEditor.JAVA_VARIABLE_COLUMN_EDITOR |