CloneSet1663


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11498
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/CommonLayoutActionGroup.java
21446
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/LayoutActionGroup.java
Clone Instance
1
Line Count
14
Source Line
98
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/CommonLayoutActionGroup.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);
        }


Clone Instance
2
Line Count
14
Source Line
46
Source File
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);
        }


Clone AbstractionParameter Count: 0Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None