Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 6 | 0.957 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 152 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingActionGroup.java |
2 | 10 | 163 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingActionGroup.java |
3 | 10 | 174 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingActionGroup.java |
| ||||
fRestoreDefaults = new FoldingAction(FoldingMessages.getResourceBundle(), "Projection.Restore.") { //$NON-NLS-1$ public void run() { if (editor instanceof JavaEditor) { JavaEditor javaEditor = (JavaEditor) editor; javaEditor.resetProjection(); } } }; fRestoreDefaults.setActionDefinitionId(IFoldingCommandIds.FOLDING_RESTORE); editor.setAction("FoldingRestore", fRestoreDefaults); //$NON-NLS-1$ |
| ||||
fCollapseMembers = new FoldingAction(FoldingMessages.getResourceBundle(), "Projection.CollapseMembers.") { //$NON-NLS-1$ public void run() { if (editor instanceof JavaEditor) { JavaEditor javaEditor = (JavaEditor) editor; javaEditor.collapseMembers(); } } }; fCollapseMembers.setActionDefinitionId(IJavaEditorActionDefinitionIds.FOLDING_COLLAPSE_MEMBERS); editor.setAction("FoldingCollapseMembers", fCollapseMembers); //$NON-NLS-1$ |
| ||||
fCollapseComments = new FoldingAction(FoldingMessages.getResourceBundle(), "Projection.CollapseComments.") { //$NON-NLS-1$ public void run() { if (editor instanceof JavaEditor) { JavaEditor javaEditor = (JavaEditor) editor; javaEditor.collapseComments(); } } }; fCollapseComments.setActionDefinitionId(IJavaEditorActionDefinitionIds.FOLDING_COLLAPSE_COMMENTS); editor.setAction("FoldingCollapseComments", fCollapseComments); //$NON-NLS-1$ |
| |||
[[#variable6012f260]]= new FoldingAction(FoldingMessages.getResourceBundle(), [[#variable6012f1a0]]) { //$NON-NLS-1$ public void run() { if (editor instanceof JavaEditor) { JavaEditor javaEditor = (JavaEditor) editor; javaEditor. [[#variablea431a280]](); } } }; [[#variable6012f260]].setActionDefinitionId( [[#variable5ae0d9a0]]. [[#variable56eedfa0]]); editor.setAction( [[#variable6012f1c0]], [[#variable6012f260]]); //$NON-NLS-1$ |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6012f260]] | fCollapseComments |
1 | 2 | [[#6012f260]] | fCollapseMembers |
1 | 3 | [[#6012f260]] | fRestoreDefaults |
2 | 1 | [[#6012f1a0]] | "Projection.CollapseComments." |
2 | 2 | [[#6012f1a0]] | "Projection.CollapseMembers." |
2 | 3 | [[#6012f1a0]] | "Projection.Restore." |
3 | 1 | [[#a431a280]] | collapseComments |
3 | 2 | [[#a431a280]] | collapseMembers |
3 | 3 | [[#a431a280]] | resetProjection |
4 | 1 | [[#5ae0d9a0]] | IJavaEditorActionDefinitionIds |
4 | 2 | [[#5ae0d9a0]] | IJavaEditorActionDefinitionIds |
4 | 3 | [[#5ae0d9a0]] | IFoldingCommandIds |
5 | 1 | [[#56eedfa0]] | FOLDING_COLLAPSE_COMMENTS |
5 | 2 | [[#56eedfa0]] | FOLDING_COLLAPSE_MEMBERS |
5 | 3 | [[#56eedfa0]] | FOLDING_RESTORE |
6 | 1 | [[#6012f1c0]] | "FoldingCollapseComments" |
6 | 2 | [[#6012f1c0]] | "FoldingCollapseMembers" |
6 | 3 | [[#6012f1c0]] | "FoldingRestore" |