Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 42 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ToggleMarkOccurrencesAction.java |
2 | 5 | 49 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/TogglePresentationAction.java |
| ||||
/** * Constructs and updates the action. */ public ToggleMarkOccurrencesAction() { super(JavaEditorMessages.getBundleForConstructedKeys(), "ToggleMarkOccurrencesAction.", null, IAction.AS_CHECK_BOX); //$NON-NLS-1$ JavaPluginImages.setToolImageDescriptors(this, "mark_occurrences.gif"); //$NON-NLS-1$ PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.TOGGLE_MARK_OCCURRENCES_ACTION); update(); } |
| ||||
/** * Constructs and updates the action. */ public TogglePresentationAction() { super(JavaEditorMessages.getBundleForConstructedKeys(), "TogglePresentation.", null, IAction.AS_CHECK_BOX); //$NON-NLS-1$ JavaPluginImages.setToolImageDescriptors(this, "segment_edit.gif"); //$NON-NLS-1$ PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.TOGGLE_PRESENTATION_ACTION); update(); } |
| |||
/** * Constructs and updates the action. */ public [[#variableb5239580]]() { super(JavaEditorMessages.getBundleForConstructedKeys(), [[#variableb52381c0]], null, IAction.AS_CHECK_BOX); //$NON-NLS-1$ JavaPluginImages.setToolImageDescriptors(this, [[#variable7d7537e0]]); //$NON-NLS-1$ PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds. [[#variableb5239500]]); update(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b5239580]] | TogglePresentationAction |
1 | 2 | [[#b5239580]] | ToggleMarkOccurrencesAction |
2 | 1 | [[#b52381c0]] | "TogglePresentation." |
2 | 2 | [[#b52381c0]] | "ToggleMarkOccurrencesAction." |
3 | 1 | [[#7d7537e0]] | "segment_edit.gif" |
3 | 2 | [[#7d7537e0]] | "mark_occurrences.gif" |
4 | 1 | [[#b5239500]] | TOGGLE_PRESENTATION_ACTION |
4 | 2 | [[#b5239500]] | TOGGLE_MARK_OCCURRENCES_ACTION |