Package org.erlide.wrangler.refactoring.selection.internal

Examples of org.erlide.wrangler.refactoring.selection.internal.ErlMemberSelection


                final Object firstElement = ((ITreeSelection) selection)
                        .getFirstElement();
                if (firstElement instanceof IErlElement) {
                    final IErlElement element = (IErlElement) firstElement;
                    final IFile file = (IFile) element.getResource();
                    wranglerSelection = new ErlMemberSelection(element, file,
                            WranglerUtils.getDocument(file));
                } else if (firstElement instanceof IFile) {
                    final IFile file = (IFile) firstElement;
                    final IErlModule module = ErlangEngine.getInstance().getModel()
                            .findModule(file);
View Full Code Here

TOP

Related Classes of org.erlide.wrangler.refactoring.selection.internal.ErlMemberSelection

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.