Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 2 | 0.977 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 51 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/LexicalSortingAction.java |
2 | 17 | 783 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java |
| ||||
public void run() { valueChanged(isChecked(), true); } private void valueChanged( final boolean on, boolean store) { setChecked(on); BusyIndicator.showWhile(fViewer.getControl().getDisplay(), new Runnable() { public void run() { if (on) fViewer.setSorter(fSorter); else fViewer.setSorter(fSourcePositonSorter); } } ); if (store) JavaPlugin.getDefault().getPreferenceStore().setValue(fPreferenceKey, on); } |
| ||||
public void run() { valueChanged(isChecked(), true); } private void valueChanged( final boolean on, boolean store) { setChecked(on); BusyIndicator.showWhile(fOutlineViewer.getControl().getDisplay(), new Runnable() { public void run() { if (on) fOutlineViewer.setSorter(fSorter); else fOutlineViewer.setSorter(fSourcePositonSorter); } } ); if (store) JavaPlugin.getDefault().getPreferenceStore().setValue("LexicalSortingAction.isChecked", on); //$NON-NLS-1$ } |
| |||
public void run() { valueChanged(isChecked(), true); } private void valueChanged( final boolean on, boolean store) { setChecked(on); BusyIndicator.showWhile( [[#variableb3127060]].getControl().getDisplay(), new Runnable() { public void run() { if (on) [[#variableb3127060]].setSorter(fSorter); else [[#variableb3127060]].setSorter(fSourcePositonSorter); } } ); if (store) JavaPlugin.getDefault().getPreferenceStore().setValue( [[#variableb3126f80]], on); //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b3127060]] | fViewer |
1 | 2 | [[#b3127060]] | fOutlineViewer |
2 | 1 | [[#b3126f80]] | fPreferenceKey |
2 | 2 | [[#b3126f80]] | "LexicalSortingAction.isChecked" |