Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.984 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 437 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java |
2 | 10 | 1384 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java |
| ||||
int ops = DND.DROP_COPY| DND.DROP_MOVE| DND.DROP_LINK; // drop Transfer[] dropTransfers = new Transfer[] { LocalSelectionTransfer.getInstance() }; TransferDropTargetListener[] dropListeners = new TransferDropTargetListener[] { new SelectionTransferDropAdapter(fViewer) }; fViewer.addDropSupport(ops| DND.DROP_DEFAULT, dropTransfers, new DelegatingDropAdapter(dropListeners)); |
| ||||
int ops = DND.DROP_COPY| DND.DROP_MOVE| DND.DROP_LINK; Transfer[] transfers = new Transfer[] { LocalSelectionTransfer.getInstance() }; // Drop Adapter TransferDropTargetListener[] dropListeners = new TransferDropTargetListener[] { new SelectionTransferDropAdapter(fOutlineViewer) }; fOutlineViewer.addDropSupport(ops| DND.DROP_DEFAULT, transfers, new DelegatingDropAdapter(dropListeners)); |
| |||
int ops = DND.DROP_COPY|DND.DROP_MOVE|DND.DROP_LINK; // drop Transfer[] [[#variable99431320]]= new Transfer[] { LocalSelectionTransfer.getInstance() }; // Drop Adapter TransferDropTargetListener[] dropListeners = new TransferDropTargetListener[] { new SelectionTransferDropAdapter( [[#variableb8aade60]]) }; [[#variableb8aade60]].addDropSupport(ops|DND.DROP_DEFAULT, [[#variable99431320]], new DelegatingDropAdapter(dropListeners)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99431320]] | dropTransfers |
1 | 2 | [[#99431320]] | transfers |
2 | 1 | [[#b8aade60]] | fViewer |
2 | 2 | [[#b8aade60]] | fOutlineViewer |