Package org.erlide.wrangler.refactoring.duplicatedcode.ui.elements

Examples of org.erlide.wrangler.refactoring.duplicatedcode.ui.elements.AbstractResultTreeObject


                final ISelection sel = event.getSelection();
                if (sel == null || sel.isEmpty()) {
                    return;
                }
                final TreeSelection tsel = (TreeSelection) sel;
                final AbstractResultTreeObject selection = (AbstractResultTreeObject) tsel
                        .getFirstElement();
                copyGeneralisedToClipboard.setText(selection.getSuggestedCode());

                if (selection instanceof DuplicatedCodeInstanceElement) {
                    final DuplicatedCodeInstanceElement dcie = (DuplicatedCodeInstanceElement) selection;
                    copyFunCallToClipboard.setText(dcie.getReplicationFunction());
                }
View Full Code Here

TOP

Related Classes of org.erlide.wrangler.refactoring.duplicatedcode.ui.elements.AbstractResultTreeObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.