CloneSet2889


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9610.986class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19104
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java
29139
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FormatAllAction.java
38100
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java
48115
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java
58116
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenTypeHierarchyAction.java
6871
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java
Clone Instance
1
Line Count
9
Source Line
104
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java

    /* (non-Javadoc)
     * Method declared on SelectionDispatchAction.
     */
        public void selectionChanged(ITextSelection selection) {
        // Do nothing
        }

    /* (non-Javadoc)
     * Method declared on SelectionDispatchAction.
     */
        public void selectionChanged(IStructuredSelection selection) {
        setEnabled(isEnabled(selection));
        }


Clone Instance
2
Line Count
9
Source Line
139
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FormatAllAction.java

        /* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
        public void selectionChanged(ITextSelection selection) {
                // do nothing
        }

        /* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
        public void selectionChanged(IStructuredSelection selection) {
                setEnabled(isEnabled(selection));
        }


Clone Instance
3
Line Count
8
Source Line
100
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java

        /* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
        public void selectionChanged(ITextSelection selection) {
        }

        /* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
        public void selectionChanged(IStructuredSelection selection) {
                setEnabled(checkEnabled(selection));
        }


Clone Instance
4
Line Count
8
Source Line
115
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java

        /* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
        public void selectionChanged(ITextSelection selection) {
        }

        /* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
        public void selectionChanged(IStructuredSelection selection) {
                setEnabled(checkEnabled(selection));
        }


Clone Instance
5
Line Count
8
Source Line
116
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenTypeHierarchyAction.java

        /* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
        public void selectionChanged(ITextSelection selection) {
        }

        /* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
        public void selectionChanged(IStructuredSelection selection) {
                setEnabled(isEnabled(selection));
        }


Clone Instance
6
Line Count
8
Source Line
71
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java

        /* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
        public void selectionChanged(ITextSelection selection) {
        }

        /* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
        public void selectionChanged(IStructuredSelection selection) {
                setEnabled(checkEnabled(selection));
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/* (non-Javadoc)
     * Method declared on SelectionDispatchAction.
     */
/* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
public void selectionChanged(ITextSelection selection) {
// Do nothing
// do nothing
}

/* (non-Javadoc)
     * Method declared on SelectionDispatchAction.
     */
/* (non-Javadoc)
         * Method declared on SelectionDispatchAction.
         */
public void selectionChanged(IStructuredSelection selection) {
  setEnabled( [[#variablea0883d80]](selection));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0883d80]]
isEnabled 
12[[#a0883d80]]
checkEnabled 
13[[#a0883d80]]
isEnabled 
14[[#a0883d80]]
checkEnabled 
15[[#a0883d80]]
isEnabled 
16[[#a0883d80]]
checkEnabled