Package ca.nengo.ui.actions

Examples of ca.nengo.ui.actions.PlotFunctionAction


                if (functionName != null) {
                    Function function = interpreter.getRegisteredFunctions().get(functionName);

                    if (function != null) {
                        PlotFunctionAction action = new PlotFunctionAction("Function preview",
                                function, FunctionDialog.this);
                        action.doAction();

                    } else {
                        UserMessages.showWarning("No function selected");
                    }
                }
View Full Code Here


     * Previews the function
     */
    protected void previewFunction() {

        if (function != null) {
            (new PlotFunctionAction("Function preview", function, getDialogParent())).doAction();
        } else {
            UserMessages.showWarning("Please set this function first.");
        }
    }
View Full Code Here

TOP

Related Classes of ca.nengo.ui.actions.PlotFunctionAction

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.