Examples of OtpErlangBoolean


Examples of com.ericsson.otp.erlang.OtpErlangBoolean

                        .getWorkbench().getActiveWorkbenchWindow().getShell(), "Labels",
                        "Label edges with function names called?");
                runInspection("Cyclic module dependency", CYCLYC_VIEW_ID,
                        "There is no cyclic dependent modules in the project!", tmpFile,
                        "cyclic_dependent_modules", "ssx", tmpFile.getAbsolutePath(),
                        wranglerSelection.getSearchPath(), new OtpErlangBoolean(answer));
            } else if (actionId
                    .equals("org.erlide.wrangler.refactoring.codeinspection.generatefunctioncallgraph")) {
                runInspection("Function callgraph", FUNCTION_CALL_GRAPH_VIEW_ID,
                        "There is no dependent functions in the module!", tmpFile,
                        "gen_function_callgraph", "sss", tmpFile.getAbsolutePath(),
                        wranglerSelection.getFilePath(),
                        wranglerSelection.getSearchPath());

            } else if (actionId
                    .equals("org.erlide.wrangler.refactoring.codeinspection.generatemodulegraph")) {
                final Boolean answer = MessageDialog.openQuestion(PlatformUI
                        .getWorkbench().getActiveWorkbenchWindow().getShell(), "Labels",
                        "Label edges with function names called?");
                runInspection("Module dependency graph", MODULE_GRAPH_VIEW_ID,
                        "There is no dependent modules in the project!", tmpFile,
                        "gen_module_graph", "ssx", tmpFile.getAbsolutePath(),
                        wranglerSelection.getSearchPath(), new OtpErlangBoolean(answer));

            } else if (actionId
                    .equals("org.erlide.wrangler.refactoring.codeinspection.improperdependecies")) {
                runInspection("Improper module dependencies",
                        IMPROPER_DEPENDECIES_VIEW_ID,
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangBoolean

                if (onlyInClause) {
                    return WranglerBackendManager.getRefactoringBackend().call(
                            "gen_fun_clause_eclipse", "sxxxxxixxx", sel.getFilePath(),
                            parName, funName, arity, funDefPos, exp,
                            GlobalParameters.getTabWidth(),
                            new OtpErlangBoolean(sideEffect), getSelectedPos(), logCmd);
                }
                return WranglerBackendManager.getRefactoringBackend().call(
                        "gen_fun_1_eclipse", "xsxxxxxxxix",
                        new OtpErlangBoolean(sideEffect), sel.getFilePath(), parName,
                        funName, arity, funDefPos, exp, getSelectedPos(),
                        sel.getSearchPath(), GlobalParameters.getTabWidth(), logCmd);
            } else if (state == State.more_than_one_clause) {
                if (onlyInClause) {
                    return WranglerBackendManager.getRefactoringBackend().call(
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangBoolean

    @Override
    public IRefactoringRpcMessage runAlternative(final IErlSelection sel) {
        return WranglerBackendManager.getRefactoringBackend().call(
                "rename_mod_1_eclipse", "ssxix", sel.getFilePath(), userInput,
                sel.getSearchPath(), GlobalParameters.getTabWidth(),
                new OtpErlangBoolean(renameTestMod));
    }
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangBoolean

    public IRefactoringRpcMessage run(final IErlSelection sel) {

        return WranglerBackendManager.getRefactoringBackend().call(
                "eqc_fsm_to_record_1_eclipse", "ssxxxxi", sel.getFilePath(),
                getRecordName(), getFieldsName(), stateFuns,
                new OtpErlangBoolean(fieldCount > 1), sel.getSearchPath(),
                GlobalParameters.getTabWidth());
    }
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangBoolean

    public IRefactoringRpcMessage run(final IErlSelection sel) {

        return WranglerBackendManager.getRefactoringBackend().call(
                "gen_fsm_to_record_1_eclipse", "ssxxxxi", sel.getFilePath(),
                getRecordName(), getFieldsName(), stateFuns,
                new OtpErlangBoolean(fieldCount > 1), sel.getSearchPath(),
                GlobalParameters.getTabWidth());
    }
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangBoolean

    @Override
    public IRefactoringRpcMessage run(final IErlSelection selection) {
        final IErlMemberSelection sel = (IErlMemberSelection) selection;
        return WranglerBackendManager.getRefactoringBackend().call(
                "normalise_record_expr_eclipse", "sxxxi", sel.getFilePath(),
                sel.getSelectionRange().getStartPos(), new OtpErlangBoolean(showDefault),
                sel.getSearchPath(), GlobalParameters.getTabWidth());

    }
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangBoolean

    public IRefactoringRpcMessage run(final IErlSelection sel) {

        return WranglerBackendManager.getRefactoringBackend().call(
                "eqc_statem_to_record_1_eclipse", "ssxxxxi", sel.getFilePath(),
                getRecordName(), getFieldsName(), stateFuns,
                new OtpErlangBoolean(fieldCount > 1), sel.getSearchPath(),
                GlobalParameters.getTabWidth());
    }
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangBoolean

      }
      assert atomText.length() > 0;

      OtpErlangObject outcome = null;
      if (atomText.toString().equals(ErlangBoolean.True))
        outcome = new OtpErlangBoolean(true);
      else if (atomText.toString().equals(ErlangBoolean.False))
        outcome = new OtpErlangBoolean(false);
      else
        outcome = new OtpErlangAtom(atomText.toString());

      return outcome;
    }
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangBoolean

      }
      assert atomText.length() > 0;

      OtpErlangObject outcome = null;
      if (atomText.toString().equals(ErlangBoolean.True))
        outcome = new OtpErlangBoolean(true);
      else if (atomText.toString().equals(ErlangBoolean.False))
        outcome = new OtpErlangBoolean(false);
      else
        outcome = new OtpErlangAtom(atomText.toString());

      return outcome;
    }
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangBoolean

    if (attributes.arity() != 0) throw new IllegalArgumentException("BooleanSignature does not accept attributes");
  }

  @Override
  public OtpErlangObject instantiate() {
        return new OtpErlangBoolean(true);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.