Package com.boxysystems.scriptmonkey.intellij.ui

Examples of com.boxysystems.scriptmonkey.intellij.ui.PluginScript


    public void testSerializeAndDeserialize() throws Exception {
        ScriptMonkeySettings settings = new ScriptMonkeySettings();
        settings.setHomeFolder(tmpFolder.getAbsolutePath());

        PluginScript script1 = new PluginScript(true, "File 1", PluginScript.RUN_MODE.INTELLIJ_STARTUP);
        PluginScript script2 = new PluginScript(false, "File 2", PluginScript.RUN_MODE.PROJECT_OPEN);
        PluginScript script3 = new PluginScript(false, "File 3", PluginScript.RUN_MODE.PROJECT_CLOSE);
        PluginScript script4 = new PluginScript(false, "File 4", PluginScript.RUN_MODE.INTELLIJ_SHUTDOWN);

        List<PluginScript> pluginScripts = Arrays.asList(script1, script2, script3, script4);
        settings.setPluginScripts(pluginScripts);

        File tempXML = new File(tmpFolder, "test.xml");
View Full Code Here

TOP

Related Classes of com.boxysystems.scriptmonkey.intellij.ui.PluginScript

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.