Package org.erlide.wrangler.refactoring.backend.internal

Examples of org.erlide.wrangler.refactoring.backend.internal.StateDataToRecordRpcMessage


    public RefactoringStatus checkInitialConditions(final IProgressMonitor pm)
            throws CoreException, OperationCanceledException {
        // FIXME: what kind of preconditions do I need?
        final IErlMemberSelection sel = (IErlMemberSelection) GlobalParameters
                .getWranglerSelection();
        final StateDataToRecordRpcMessage message = runFirst(sel);
        if (!message.isSuccessful()) {
            return RefactoringStatus.createFatalErrorStatus(message.getMessageString());
        }
        fieldCount = message.getFieldCount();
        stateFuns = message.getStateFuns();
        return new RefactoringStatus();
    }
View Full Code Here


        return "eqc_fsm State data to record";
    }

    @Override
    protected StateDataToRecordRpcMessage runFirst(final IErlMemberSelection sel) {
        final IRefactoringRpcMessage parser = new StateDataToRecordRpcMessage();

        return (StateDataToRecordRpcMessage) WranglerBackendManager
                .getRefactoringBackend().callWithParser(parser,
                        "eqc_fsm_to_record_eclipse", "sxi", sel.getFilePath(),
                        sel.getSearchPath(), GlobalParameters.getTabWidth());
View Full Code Here

        return "gen_fsm State data to record";
    }

    @Override
    protected StateDataToRecordRpcMessage runFirst(final IErlMemberSelection sel) {
        final IRefactoringRpcMessage parser = new StateDataToRecordRpcMessage();

        return (StateDataToRecordRpcMessage) WranglerBackendManager
                .getRefactoringBackend().callWithParser(parser,
                        "gen_fsm_to_record_eclipse", "sxi", sel.getFilePath(),
                        sel.getSearchPath(), GlobalParameters.getTabWidth());
View Full Code Here

                GlobalParameters.getTabWidth());
    }

    @Override
    protected StateDataToRecordRpcMessage runFirst(final IErlMemberSelection sel) {
        final IRefactoringRpcMessage parser = new StateDataToRecordRpcMessage();

        return (StateDataToRecordRpcMessage) WranglerBackendManager
                .getRefactoringBackend().callWithParser(parser,
                        "eqc_statem_to_record_eclipse", "sxi", sel.getFilePath(),
                        sel.getSearchPath(), GlobalParameters.getTabWidth());
View Full Code Here

TOP

Related Classes of org.erlide.wrangler.refactoring.backend.internal.StateDataToRecordRpcMessage

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.