Examples of IBackend


Examples of org.apache.flex.compiler.driver.IBackend

     */
    public static void main(final String[] args)
    {
        long startTime = System.nanoTime();

        IBackend backend = new ASBackend();
        String jsOutputTypeString = "";
        for (String s : args)
        {
            if (s.contains("-js-output-type"))
            {
View Full Code Here

Examples of org.apache.flex.compiler.driver.IBackend

     */
    public static void main(final String[] args)
    {
        long startTime = System.nanoTime();

        IBackend backend = new ASBackend();
        for (String s : args)
        {
            if (s.contains("-js-output-type"))
            {
                jsOutputType = JSOutputType.fromString(s.split("=")[1]);
View Full Code Here

Examples of org.apache.flex.compiler.driver.IBackend

     */
    public static void main(final String[] args)
    {
        long startTime = System.nanoTime();

        IBackend backend = new ASBackend();
        for (String s : args)
        {
            if (s.contains("-js-output-type"))
            {
                jsOutputType = JSOutputType.fromString(s.split("=")[1]);
View Full Code Here

Examples of org.erlide.backend.api.IBackend

    }

    public IBackend getBackend() {
        final IStructuredSelection sel = (IStructuredSelection) backends.getSelection();
        if (sel.getFirstElement() != null) {
            final IBackend b = (IBackend) sel.getFirstElement();
            return b;
        }
        return BackendCore.getBackendManager().getIdeBackend();
    }
View Full Code Here

Examples of org.erlide.backend.api.IBackend

        }

        final List<IBackend> backends = new ArrayList<IBackend>();
        final IBackendManager backendManager = BackendCore.getBackendManager();
        final Set<IBackend> ignored = new HashSet<IBackend>();
        IBackend backend;

        if ((backend = backendManager.getIdeBackend()) != null) {
            ignored.add(backend);
        }
        if ((backend = TraceBackend.getInstance().getBackend(false)) != null) {
View Full Code Here

Examples of org.erlide.backend.api.IBackend

        }
        final RuntimeInfo info = new RuntimeInfo(erlideRuntime);
        try {
            final BackendData data = getBackendData(info);
            data.setUseStartShell(true);
            final IBackend b = BackendCore.getBackendManager().createExecutionBackend(
                    data);
            return b;
        } catch (final Exception e) {
            ErlLogger.error(e);
        }
View Full Code Here

Examples of org.erlide.backend.api.IBackend

        return null;
    }

    @Override
    public String getText(final Object element) {
        final IBackend b = (IBackend) element;
        final BackendData data = b.getData();
        final RuntimeInfo info = data.getRuntimeInfo();
        final String s = info != null ? info.getName() : "<none>";
        return s + ": " + data.getNodeName();
    }
View Full Code Here

Examples of org.erlide.backend.api.IBackend

    }

    public ConsoleRemoveLaunchAction(final ErlangConsole console) {
        this();
        fConsole = console;
        final IBackend backend = console.getBackend();
        fLaunch = backend.getData().getLaunch();
        update();
    }
View Full Code Here

Examples of org.erlide.backend.api.IBackend

        // else get dynamically, as this action was created via plug-in XML view
        // contribution
        final IConsole console = fConsoleView.getConsole();
        if (console instanceof ErlangConsole) {
            final ErlangConsole pconsole = (ErlangConsole) console;
            final IBackend backend = pconsole.getBackend();
            return backend.getData().getLaunch();
        }
        return null;
    }
View Full Code Here

Examples of org.erlide.backend.api.IBackend

        update();
    }

    @Override
    public void update() {
        final IBackend backend = fConsole.getBackend();
        setEnabled(backend.isRunning()
                && backend != BackendCore.getBackendManager().getIdeBackend());
    }
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.