CloneSet766


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10560.971statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110206
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java
210216
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java
310226
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java
410265
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java
510285
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java
Clone Instance
1
Line Count
10
Source Line
206
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java

        op = new RemoveFromClasspathOperation(page, provider);
        addAction(new ClasspathModifierAction(op, JavaPluginImages.DESC_ELCL_REMOVE_AS_SOURCE_FOLDER, JavaPluginImages.DESC_DLCL_REMOVE_AS_SOURCE_FOLDER, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_label, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_tooltip, IAction.AS_PUSH_BUTTON) {

                public void run() {
                        page.commitDefaultOutputFolder();
                        super.run();
                }
                  }, 1);


Clone Instance
2
Line Count
10
Source Line
216
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java

        op = new ExcludeOperation(page, provider);
        addAction(new ClasspathModifierAction(op, JavaPluginImages.DESC_ELCL_EXCLUDE_FROM_BUILDPATH, JavaPluginImages.DESC_DLCL_EXCLUDE_FROM_BUILDPATH, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_Exclude_label, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_Exclude_tooltip, IAction.AS_PUSH_BUTTON) {

                public void run() {
                        page.commitDefaultOutputFolder();
                        super.run();
                }
                  }, 2);


Clone Instance
3
Line Count
10
Source Line
226
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java

        op = new UnexcludeOperation(page, provider);
        addAction(new ClasspathModifierAction(op, JavaPluginImages.DESC_ELCL_INCLUDE_ON_BUILDPATH, JavaPluginImages.DESC_DLCL_INCLUDE_ON_BUILDPATH, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_Unexclude_label, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_Unexclude_tooltip, IAction.AS_PUSH_BUTTON) {

                public void run() {
                        page.commitDefaultOutputFolder();
                        super.run();
                }
                  }, 3);


Clone Instance
4
Line Count
10
Source Line
265
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java

        /*addAction(new ClasspathModifierAction(op, JavaPluginImages.DESC_OBJS_TEXT_EDIT, JavaPluginImages.DESC_DLCL_TEXT_EDIT, 
                NewWizardMessages.getString("NewSourceContainerWorkbookPage.ToolBar.Edit.label"), //$NON-NLS-1$
                NewWizardMessages.getString("NewSourceContainerWorkbookPage.ToolBar.Edit.tooltip"), IAction.AS_PUSH_BUTTON), //$NON-NLS-1$
                IClasspathInformationProvider.EDIT);*/
        op = new LinkedSourceFolderOperation(page, provider);
        addAction(new ClasspathModifierAction(op, JavaPluginImages.DESC_ELCL_ADD_LINKED_SOURCE_TO_BUILDPATH, JavaPluginImages.DESC_DLCL_ADD_LINKED_SOURCE_TO_BUILDPATH, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_Link_label, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_Link_tooltip, IAction.AS_PUSH_BUTTON) {

                public void run() {
                        page.commitDefaultOutputFolder();
                        super.run();
                }
                  }, 5);


Clone Instance
5
Line Count
10
Source Line
285
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java

        op = new ResetAllOperation(page, provider);
        addAction(new ClasspathModifierAction(op, JavaPluginImages.DESC_ELCL_CLEAR, JavaPluginImages.DESC_DLCL_CLEAR, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_ClearAll_label, 
                NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_ClearAll_tooltip, IAction.AS_PUSH_BUTTON) {

                public void run() {
                        page.commitDefaultOutputFolder();
                        super.run();
                }
                  }, 7);


Clone AbstractionParameter Count: 6Parameter Bindings

/*addAction(new ClasspathModifierAction(op, JavaPluginImages.DESC_OBJS_TEXT_EDIT, JavaPluginImages.DESC_DLCL_TEXT_EDIT, 
                NewWizardMessages.getString("NewSourceContainerWorkbookPage.ToolBar.Edit.label"), //$NON-NLS-1$
                NewWizardMessages.getString("NewSourceContainerWorkbookPage.ToolBar.Edit.tooltip"), IAction.AS_PUSH_BUTTON), //$NON-NLS-1$
                IClasspathInformationProvider.EDIT);*/
op = new [[#variablec23af7c0]](page, provider);
addAction(new ClasspathModifierAction(op, JavaPluginImages. [[#variablec23af760]], JavaPluginImages. [[#variablec23af6c0]], NewWizardMessages. [[#variablec23d35a0]], NewWizardMessages. [[#variablec23af660]], IAction.AS_PUSH_BUTTON) {
            public void run() {
              page.commitDefaultOutputFolder();
              super.run();
            }
          },  [[#variablec23af5e0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c23af7c0]]
ResetAllOperation 
12[[#c23af7c0]]
UnexcludeOperation 
13[[#c23af7c0]]
ExcludeOperation 
14[[#c23af7c0]]
LinkedSourceFolderOperation 
15[[#c23af7c0]]
RemoveFromClasspathOperation 
21[[#c23af760]]
DESC_ELCL_CLEAR 
22[[#c23af760]]
DESC_ELCL_INCLUDE_ON_BUILDPATH 
23[[#c23af760]]
DESC_ELCL_EXCLUDE_FROM_BUILDPATH 
24[[#c23af760]]
DESC_ELCL_ADD_LINKED_SOURCE_TO_BUILDPATH 
25[[#c23af760]]
DESC_ELCL_REMOVE_AS_SOURCE_FOLDER 
31[[#c23af6c0]]
DESC_DLCL_CLEAR 
32[[#c23af6c0]]
DESC_DLCL_INCLUDE_ON_BUILDPATH 
33[[#c23af6c0]]
DESC_DLCL_EXCLUDE_FROM_BUILDPATH 
34[[#c23af6c0]]
DESC_DLCL_ADD_LINKED_SOURCE_TO_BUILDPATH 
35[[#c23af6c0]]
DESC_DLCL_REMOVE_AS_SOURCE_FOLDER 
41[[#c23d35a0]]
NewSourceContainerWorkbookPage_ToolBar_ClearAll_label 
42[[#c23d35a0]]
NewSourceContainerWorkbookPage_ToolBar_Unexclude_label 
43[[#c23d35a0]]
NewSourceContainerWorkbookPage_ToolBar_Exclude_label 
44[[#c23d35a0]]
NewSourceContainerWorkbookPage_ToolBar_Link_label 
45[[#c23d35a0]]
NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_label 
51[[#c23af660]]
NewSourceContainerWorkbookPage_ToolBar_ClearAll_tooltip 
52[[#c23af660]]
NewSourceContainerWorkbookPage_ToolBar_Unexclude_tooltip 
53[[#c23af660]]
NewSourceContainerWorkbookPage_ToolBar_Exclude_tooltip 
54[[#c23af660]]
NewSourceContainerWorkbookPage_ToolBar_Link_tooltip 
55[[#c23af660]]
NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_tooltip 
61[[#c23af5e0]]
7 
62[[#c23af5e0]]
3 
63[[#c23af5e0]]
2 
64[[#c23af5e0]]
5 
65[[#c23af5e0]]
1