Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 98 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/CommonLayoutActionGroup.java |
2 | 14 | 46 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/LayoutActionGroup.java |
| ||||
private void contributeToViewMenu(IMenuManager viewMenu) { viewMenu.add(new Separator()); // Create layout sub menu IMenuManager layoutSubMenu = new MenuManager(PackagesMessages.LayoutActionGroup_label); final String layoutGroupName = "layout"; //$NON-NLS-1$ Separator marker = new Separator(layoutGroupName); viewMenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); viewMenu.add(marker); viewMenu.appendToGroup(layoutGroupName, layoutSubMenu); viewMenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS + "-end")); //$NON-NLS-1$ addActions(layoutSubMenu); } |
| ||||
private void contributeToViewMenu(IMenuManager viewMenu) { viewMenu.add(new Separator()); // Create layout sub menu IMenuManager layoutSubMenu = new MenuManager(PackagesMessages.LayoutActionGroup_label); final String layoutGroupName = "layout"; //$NON-NLS-1$ Separator marker = new Separator(layoutGroupName); viewMenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); viewMenu.add(marker); viewMenu.appendToGroup(layoutGroupName, layoutSubMenu); viewMenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS + "-end")); //$NON-NLS-1$ addActions(layoutSubMenu); } |
| |||
private void contributeToViewMenu(IMenuManager viewMenu) { viewMenu.add(new Separator()); // Create layout sub menu IMenuManager layoutSubMenu = new MenuManager(PackagesMessages.LayoutActionGroup_label); final String layoutGroupName = "layout"; //$NON-NLS-1$ Separator marker = new Separator(layoutGroupName); viewMenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); viewMenu.add(marker); viewMenu.appendToGroup(layoutGroupName, layoutSubMenu); viewMenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS + "-end")); //$NON-NLS-1$ addActions(layoutSubMenu); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |