Package qubit.cucumber.editor.windows

Source Code of qubit.cucumber.editor.windows.CucumberOutputWindow

package qubit.cucumber.editor.windows;

import javax.swing.Action;
import org.openide.windows.IOProvider;
import org.openide.windows.InputOutput;
import org.openide.windows.OutputWriter;

public class CucumberOutputWindow {

    public static OutputWriter getOutputWriter(String title, Action[] actions) {
        // get an output window tab
        //io = IOProvider.getDefault().getIO("Cucumber", false);
        InputOutput io = IOProvider.getDefault().getIO("Cucumber: " + title, actions);
        io.select();
        return io.getOut();
    }

}
TOP

Related Classes of qubit.cucumber.editor.windows.CucumberOutputWindow

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.