本文整理汇总了Java中org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab类的典型用法代码示例。如果您正苦于以下问题:Java JavaMainTab类的具体用法?Java JavaMainTab怎么用?Java JavaMainTab使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
JavaMainTab类属于org.eclipse.jdt.debug.ui.launchConfigurations包,在下文中一共展示了JavaMainTab类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createTabs
import org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
// This code is copied from the method on JavaLaunchConfigurationTabGroup,
// with the sole exception of inserting "new SplunkTab()," right before
// "new CommonTab()". This set of tabs changes very rarely, so it is
// cleaner to copy this one statement than to try to dig into the
// JDT dynamically to get the tab list.
//
// If you are adding additional tabs, they should go after SplunkTab
// but before CommonTab. Eclipse's UI guidelines specify that CommonTab
// should always be last.
ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
new JavaMainTab(),
new JavaArgumentsTab(),
new SourceLookupTab(),
new EnvironmentTab(),
new SplunkTab(),
new CommonTab()
};
setTabs(tabs);
}
示例2: createTabs
import org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
setTabs(new ILaunchConfigurationTab[] {configTab,
new JavaMainTab(),
new JavaArgumentsTab(),
new JavaJRETab(),
new JavaClasspathTab(),
new SourceLookupTab(),
new EnvironmentTab(),
new CommonTab() });
}
示例3: createTabs
import org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
// Use the same tab layout as the Java tabs, except with a custom Arguments tab
List<ILaunchConfigurationTab> tabs = new ArrayList<>();
JavaMainTab javaMainTab = new JavaMainTab();
tabs.add(javaMainTab);
PipelineArgumentsTab pipelineArgumentsTab = new PipelineArgumentsTab();
tabs.add(pipelineArgumentsTab);
JavaArgumentsTab javaArgumentsTab = new JavaArgumentsTab();
tabs.add(javaArgumentsTab);
JavaJRETab jreTab = new JavaJRETab();
tabs.add(jreTab);
JavaClasspathTab classpathTab = new JavaClasspathTab();
tabs.add(classpathTab);
SourceLookupTab sourceLookupTab = new SourceLookupTab();
tabs.add(sourceLookupTab);
EnvironmentTab environmentTab = new EnvironmentTab();
tabs.add(environmentTab);
CommonTab commonTab = new CommonTab();
tabs.add(commonTab);
setTabs(tabs.toArray(new ILaunchConfigurationTab[0]));
}
开发者ID:GoogleCloudPlatform,项目名称:google-cloud-eclipse,代码行数:31,代码来源:DataflowPipelineLaunchConfigurationTabGroup.java
示例4: createTabs
import org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab; //导入依赖的package包/类
/**
* @see ILaunchConfigurationTabGroup#createTabs(ILaunchConfigurationDialog, String)
*/
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
new JavaMainTab(),
new JavaArgumentsTab(),
new JavaJRETab(),
new JavaClasspathTab(),
new SourceLookupTab(),
new EnvironmentTab(),
new CommonTab()
};
setTabs(tabs);
}
示例5: createTabs
import org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab; //导入依赖的package包/类
/**
* Creates the tabs contained in this tab group for the specified launch
* mode.
*
* @author Ben Holland
*/
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
new JavaMainTab(),
new JavaArgumentsTab(),
new JavaJRETab(),
new JavaClasspathTab(),
new EnvironmentTab(),
new CommonTab()
};
setTabs(tabs);
}
示例6: createTabs
import org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
new JavaMainTab(),
new JavaArgumentsTab(),
new JavaJRETab(),
new JavaClasspathTab(),
new SourceLookupTab(),
new EnvironmentTab(),
new CommonTab()
};
setTabs(tabs);
}
示例7: createTabs
import org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab; //导入依赖的package包/类
public void createTabs(final ILaunchConfigurationDialog dialog, final String mode) {
JavaMainTab _javaMainTab = new JavaMainTab();
RefreshTab _refreshTab = new RefreshTab();
JavaArgumentsTab _javaArgumentsTab = new JavaArgumentsTab();
JavaJRETab _javaJRETab = new JavaJRETab();
JavaClasspathTab _javaClasspathTab = new JavaClasspathTab();
SourceLookupTab _sourceLookupTab = new SourceLookupTab();
EnvironmentTab _environmentTab = new EnvironmentTab();
CommonTab _commonTab = new CommonTab();
final ArrayList<AbstractLaunchConfigurationTab> tabs = CollectionLiterals.<AbstractLaunchConfigurationTab>newArrayList(_javaMainTab, _refreshTab, _javaArgumentsTab, _javaJRETab, _javaClasspathTab, _sourceLookupTab, _environmentTab, _commonTab);
this.setTabs(((ILaunchConfigurationTab[])Conversions.unwrapArray(tabs, ILaunchConfigurationTab.class)));
}
示例8: createTabs
import org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
setTabs(new ILaunchConfigurationTab[] {
new JavaMainTab(),
new JavaArgumentsTab(),
new JavaClasspathTab(),
new SourceLookupTab(),
new EnvironmentTab(),
new CommonTab()
});
}
示例9: createTabs
import org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
new RPITab(),
new JavaMainTab(),
new JavaArgumentsTab(),
//new JavaClasspathTab(),
new SourceLookupTab(),
new EnvironmentTab(),
new CommonTab()
};
setTabs(tabs);
}