Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 4 | 0.974 | class_body_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 48 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/HistoryDropDownAction.java |
2 | 12 | 46 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HistoryDropDownAction.java |
| ||||
public static final int RESULTS_IN_DROP_DOWN = 10; private CallHierarchyViewPart fView; private Menu fMenu; public HistoryDropDownAction(CallHierarchyViewPart view) { fView = view; fMenu = null; setToolTipText(CallHierarchyMessages.HistoryDropDownAction_tooltip); JavaPluginImages.setLocalImageDescriptors(this, "history_list.gif"); //$NON-NLS-1$ PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.CALL_HIERARCHY_HISTORY_DROP_DOWN_ACTION); setMenuCreator(this ); } |
| ||||
public static final int RESULTS_IN_DROP_DOWN = 10; private TypeHierarchyViewPart fHierarchyView; private Menu fMenu; public HistoryDropDownAction(TypeHierarchyViewPart view) { fHierarchyView = view; fMenu = null; setToolTipText(TypeHierarchyMessages.HistoryDropDownAction_tooltip); JavaPluginImages.setLocalImageDescriptors(this, "history_list.gif"); //$NON-NLS-1$ PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.TYPEHIERARCHY_HISTORY_ACTION); setMenuCreator(this ); } |
| |||
public static final int RESULTS_IN_DROP_DOWN = 10; private [[#variable5a1f2b20]] [[#variable5a1f2a80]]; private Menu fMenu; public HistoryDropDownAction( [[#variable5a1f2b20]] view) { [[#variable5a1f2a80]]= view; fMenu = null; setToolTipText( [[#variable5a1f2a00]].HistoryDropDownAction_tooltip); JavaPluginImages.setLocalImageDescriptors(this, "history_list.gif"); //$NON-NLS-1$ PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds. [[#variable5a1f2a40]]); setMenuCreator(this ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a1f2b20]] | CallHierarchyViewPart |
1 | 2 | [[#5a1f2b20]] | TypeHierarchyViewPart |
2 | 1 | [[#5a1f2a80]] | fView |
2 | 2 | [[#5a1f2a80]] | fHierarchyView |
3 | 1 | [[#5a1f2a00]] | CallHierarchyMessages |
3 | 2 | [[#5a1f2a00]] | TypeHierarchyMessages |
4 | 1 | [[#5a1f2a40]] | CALL_HIERARCHY_HISTORY_DROP_DOWN_ACTION |
4 | 2 | [[#5a1f2a40]] | TYPEHIERARCHY_HISTORY_ACTION |