Package com.googlecode.grinderstone.debug.ui

Source Code of com.googlecode.grinderstone.debug.ui.GrinderTabGroup

package com.googlecode.grinderstone.debug.ui;

import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
import org.eclipse.debug.ui.CommonTab;
import org.eclipse.debug.ui.EnvironmentTab;
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
import org.eclipse.debug.ui.ILaunchConfigurationTab;
import org.eclipse.debug.ui.RefreshTab;
import org.python.pydev.debug.ui.ArgumentsTab;
import org.python.pydev.debug.ui.MainModuleTab;
import org.python.pydev.plugin.PydevPlugin;

/**
* Class represents GrinderStone tab group.
*
* @author Borislav Andruschuk
* @since GrinderStone 1.0
*/
public class GrinderTabGroup extends AbstractLaunchConfigurationTabGroup {


    public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
        MainModuleTab mainModuleTab = new GrinderMainModuleTab();
        ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { mainModuleTab,
                        new ArgumentsTab(mainModuleTab),
                        new GrinderInterpreterTab(PydevPlugin.getJythonInterpreterManager()),
                        new RefreshTab(), new EnvironmentTab(), new CommonTab() };
        setTabs(tabs);
    }
}
TOP

Related Classes of com.googlecode.grinderstone.debug.ui.GrinderTabGroup

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.