当前位置: 首页>>代码示例>>Java>>正文


Java JavaMainTab类代码示例

本文整理汇总了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);

}
 
开发者ID:splunk,项目名称:splunk-plugin-eclipse,代码行数:24,代码来源:MonitoredLaunchConfigurationTabGroup.java

示例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() });
}
 
开发者ID:VisuFlow,项目名称:visuflow-plugin,代码行数:12,代码来源:LaunchConfigurationTabGroup.java

示例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);
}
 
开发者ID:fbricon,项目名称:wildfly-hive,代码行数:17,代码来源:WildFlySwarmLaunchConfigurationTabGroup.java

示例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);
}
 
开发者ID:JReFrameworker,项目名称:JReFrameworker,代码行数:19,代码来源:JReFrameworkerTabGroup.java

示例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);
}
 
开发者ID:ELTE-Soft,项目名称:txtUML,代码行数:14,代码来源:DefaultLaunchConfigurationTabGroup.java

示例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)));
}
 
开发者ID:oehme,项目名称:xtext-maven-example,代码行数:13,代码来源:BuildDSLLaunchTabGroup.java

示例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()
    });
}
 
开发者ID:robovm,项目名称:robovm-eclipse,代码行数:12,代码来源:ConsoleLaunchConfigurationTabGroup.java

示例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);
}
 
开发者ID:tsvetan-stoyanov,项目名称:launchpi,代码行数:14,代码来源:RPITabGroup.java


注:本文中的org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。