Package org.erlide.wrangler.refactoring.util

Examples of org.erlide.wrangler.refactoring.util.IErlRange


        return getSelectionRange();
    }

    @Override
    public IErlRange getSelectionRange() {
        IErlRange range;
        range = new ErlRange(getStartLine(), getStartCol(), getEndLine(), getEndCol(),
                member.getSourceRange().getOffset(), member.getSourceRange().getLength());
        return range;
    }
View Full Code Here


    }

    @Override
    public IRefactoringRpcMessage run(final IErlSelection selection) {
        final IErlMemberSelection sel = (IErlMemberSelection) selection;
        final IErlRange memberRange = sel.getSelectionRange();

        return WranglerBackendManager.getRefactoringBackend().call("rename_fun_eclipse",
                "siisxi", sel.getFilePath(), memberRange.getStartLine(),
                memberRange.getStartCol(), userInput, sel.getSearchPath(),
                GlobalParameters.getTabWidth());
    }
View Full Code Here

    }

    @Override
    public IRefactoringRpcMessage runAlternative(final IErlSelection selection) {
        final IErlMemberSelection sel = (IErlMemberSelection) selection;
        final IErlRange memberRange = sel.getMemberRange();

        return WranglerBackendManager.getRefactoringBackend().call(
                "rename_fun_1_eclipse", "siisxi", sel.getFilePath(),
                memberRange.getStartLine(), memberRange.getStartCol(), userInput,
                sel.getSearchPath(), GlobalParameters.getTabWidth());
    }
View Full Code Here

    }

    @Override
    public IErlRange getMemberRange() {
        if (getErlElement() instanceof IErlMember) {
            IErlRange range = null;
            final IErlMember member = (IErlMember) getErlElement();
            int sL, sC, eL, eC;
            sL = member.getLineStart() + 1;
            eL = member.getLineEnd() + 1;
View Full Code Here

TOP

Related Classes of org.erlide.wrangler.refactoring.util.IErlRange

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.