Examples of JsInteractiveConsolePlugin


Examples of com.aptana.js.interactive_console.JsInteractiveConsolePlugin

     *
     * @param type: see constants at {@link JSConsoleConstants}
     * @return a color to be used.
     */
    private Color getPreferenceColor(String type) {
        JsInteractiveConsolePlugin plugin = JsInteractiveConsolePlugin.getDefault();
        if (plugin == null) {
            return null;
        }
        IPreferenceStore preferenceStore = plugin.getPreferenceStore();
        return getColor(PreferenceConverter.getColor(preferenceStore, type));
    }
View Full Code Here

Examples of com.aptana.js.interactive_console.JsInteractiveConsolePlugin

        setDescription("JS interactive console preferences.");
        setPreferenceStore(JsInteractiveConsolePlugin.getDefault().getPreferenceStore());
    }

    public static String getInitialInterpreterCmds() {
        JsInteractiveConsolePlugin plugin = JsInteractiveConsolePlugin.getDefault();
        if (plugin != null) {
            return plugin.getPreferenceStore().getString(
                    JSConsoleConstants.INITIAL_INTERPRETER_CMDS);
        } else {
            return "";
        }
    }
View Full Code Here

Examples of com.aptana.js.interactive_console.JsInteractiveConsolePlugin

            return "";
        }
    }

    public static int getMaximumAttempts() {
        JsInteractiveConsolePlugin plugin = JsInteractiveConsolePlugin.getDefault();
        if (plugin != null) {
            return plugin.getPreferenceStore().getInt(
                    JSConsoleConstants.INTERACTIVE_CONSOLE_MAXIMUM_CONNECTION_ATTEMPTS);
        } else {
            return JSConsoleConstants.DEFAULT_INTERACTIVE_CONSOLE_MAXIMUM_CONNECTION_ATTEMPTS;
        }
    }
View Full Code Here

Examples of com.aptana.js.interactive_console.JsInteractiveConsolePlugin

            return JSConsoleConstants.DEFAULT_INTERACTIVE_CONSOLE_MAXIMUM_CONNECTION_ATTEMPTS;
        }
    }

    public static boolean getFocusConsoleOnStartup() {
        JsInteractiveConsolePlugin plugin = JsInteractiveConsolePlugin.getDefault();
        if (plugin != null) {
            return plugin.getPreferenceStore().getBoolean(
                    JSConsoleConstants.INTERACTIVE_CONSOLE_FOCUS_ON_CONSOLE_START);
        } else {
            return JSConsoleConstants.DEFAULT_INTERACTIVE_CONSOLE_FOCUS_ON_CONSOLE_START;
        }
    }
View Full Code Here

Examples of com.aptana.js.interactive_console.JsInteractiveConsolePlugin

            return JSConsoleConstants.DEFAULT_INTERACTIVE_CONSOLE_FOCUS_ON_CONSOLE_START;
        }
    }

    public static boolean getFocusConsoleOnSendCommand() {
        JsInteractiveConsolePlugin plugin = JsInteractiveConsolePlugin.getDefault();
        if (plugin != null) {
            return plugin.getPreferenceStore().getBoolean(
                    JSConsoleConstants.INTERACTIVE_CONSOLE_FOCUS_ON_SEND_COMMAND);
        } else {
            return JSConsoleConstants.DEFAULT_INTERACTIVE_CONSOLE_FOCUS_ON_SEND_COMMAND;
        }
    }
View Full Code Here

Examples of com.aptana.js.interactive_console.JsInteractiveConsolePlugin

            return JSConsoleConstants.DEFAULT_INTERACTIVE_CONSOLE_FOCUS_ON_SEND_COMMAND;
        }
    }

    public static boolean getSendCommandOnCreationFromEditor() {
        JsInteractiveConsolePlugin plugin = JsInteractiveConsolePlugin.getDefault();
        if (plugin != null) {
            return plugin.getPreferenceStore().getBoolean(
                    JSConsoleConstants.INTERACTIVE_CONSOLE_SEND_INITIAL_COMMAND_WHEN_CREATED_FROM_EDITOR);
        } else {
            return JSConsoleConstants.DEFAULT_INTERACTIVE_CONSOLE_SEND_INITIAL_COMMAND_WHEN_CREATED_FROM_EDITOR;
        }
    }
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.