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


Java EnvironmentTab类代码示例

本文整理汇总了Java中org.eclipse.debug.ui.EnvironmentTab的典型用法代码示例。如果您正苦于以下问题:Java EnvironmentTab类的具体用法?Java EnvironmentTab怎么用?Java EnvironmentTab使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


EnvironmentTab类属于org.eclipse.debug.ui包,在下文中一共展示了EnvironmentTab类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String arg1) {
	ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { 
			// A launch configuration tab that displays end edits GraphWalker offline command argument
			new GW4ELaunchConfigurationTab(),
			// A launch configuration tab that displays and edits program
			// arguments, VM arguments, and working directory launch
			// configuration attributes.
			new JavaArgumentsTab(),
			// A launch configuration tab that displays and edits the user
			// and bootstrap classes comprising the classpath launch
			// configuration attribute.
			new JavaClasspathTab(),
			// A launch configuration tab that displays and edits the VM
			// install launch configuration attributes.
			new JavaJRETab(),
			// Launch configuration tab for configuring the environment
			// passed into Runtime.exec(...) when a config is launched.
			new EnvironmentTab(),
			// Launch configuration tab used to specify the location a
			// launch configuration is stored in, whether it should appear
			// in the favorites listViewer, and perspective switching behavior for
			// an associated launch.
			new CommonTab() };
	setTabs(tabs);
}
 
开发者ID:gw4e,项目名称:gw4e.project,代码行数:27,代码来源:GW4ETabGroup.java

示例2: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的package包/类
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
	// TODO Auto-generated method stub
	ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
			new GaugeParametersTab(),
			new WorkingDirectoryBlock(Constants.WORKING_DIRECTORY) {
				
				@Override
				protected IProject getProject(ILaunchConfiguration configuration)
						throws CoreException {
					// TODO Auto-generated method stub
					return null;
				}
			},
			new EnvironmentTab(),
			new CommonTab()
	};
	setTabs(tabs);		
}
 
开发者ID:getgauge-contrib,项目名称:Gauge-Eclipse,代码行数:19,代码来源:GaugeTabGroup.java

示例3: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
  launchConfigurationDialog = dialog;

  WebAppArgumentsTab argsTab = new WebAppArgumentsTab();

  GwtCompilerSettingsTab gwtSettingsTab = new GwtCompilerSettingsTab(argsTab);

  WebAppMainTab webAppMainTab = new WebAppMainTab();

  ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
      webAppMainTab,
      gwtSettingsTab,
      argsTab,
      new JavaJRETab(),
      new JavaClasspathTab(),
      new SourceLookupTab(),
      new EnvironmentTab(),
      new CommonTab()};
  setTabs(tabs);
}
 
开发者ID:gwt-plugins,项目名称:gwt-eclipse-plugin,代码行数:22,代码来源:GwtCompilerTabGroup.java

示例4: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
  launchConfigurationDialog = dialog;

  WebAppArgumentsTab argsTab = new WebAppArgumentsTab();

  GWTSettingsTab gwtSettingsTab = null;

  ExtensionQuery<IGWTSettingsTabFactory> extQuery = new ExtensionQuery<IGWTSettingsTabFactory>(GWTPlugin.PLUGIN_ID,
      "gwtSettingsTabFactory", "class");
  List<ExtensionQuery.Data<IGWTSettingsTabFactory>> gwtSettingsTabFactories = extQuery.getData();
  for (ExtensionQuery.Data<IGWTSettingsTabFactory> factory : gwtSettingsTabFactories) {
    IGWTSettingsTabFactory tabFactory = factory.getExtensionPointData();
    gwtSettingsTab = tabFactory.newInstance(argsTab);
    break;
  }

  if (gwtSettingsTab == null) {
    gwtSettingsTab = new GWTSettingsTab(argsTab);
  }

  ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { new WebAppMainTab(),
      new WebAppServerTab(argsTab, true, true), gwtSettingsTab, argsTab, new JavaJRETab(),
      new JavaClasspathTab(), new SourceLookupTab(), new EnvironmentTab(), new CommonTab() };
  setTabs(tabs);
}
 
开发者ID:gwt-plugins,项目名称:gwt-eclipse-plugin,代码行数:27,代码来源:WebAppTabGroup.java

示例5: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的package包/类
public void createTabs(ILaunchConfigurationDialog dialog, String mode)
{
    ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[6];
    tabs[0] = new ServerLaunchConfigurationTab(__SERVER_TYPE_IDS);
    tabs[0].setLaunchConfigurationDialog(dialog);
    tabs[1] = new JavaArgumentsTab();
    tabs[1].setLaunchConfigurationDialog(dialog);
    tabs[2] = new JavaClasspathTab();
    tabs[2].setLaunchConfigurationDialog(dialog);
    tabs[3] = new SourceLookupTab();
    tabs[3].setLaunchConfigurationDialog(dialog);
    tabs[4] = new EnvironmentTab();
    tabs[4].setLaunchConfigurationDialog(dialog);
    tabs[5] = new CommonTab();
    tabs[5].setLaunchConfigurationDialog(dialog);
    setTabs(tabs);
}
 
开发者ID:bengalaviz,项目名称:JettyWTPPlugin,代码行数:18,代码来源:JettyLaunchConfigurationTabGroup.java

示例6: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的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

示例7: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String arg1) {
	ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { 
			// A launch configuration tab that displays end edits GraphWalker offline command argument
			new GW4ELaunchConfigurationTab( ),
			// A launch configuration tab that displays and edits program
			// arguments, VM arguments, and working directory launch
			// configuration attributes.
			new JavaArgumentsTab(),
			// A launch configuration tab that displays and edits the user
			// and bootstrap classes comprising the classpath launch
			// configuration attribute.
			new JavaClasspathTab(),
			// A launch configuration tab that displays and edits the VM
			// install launch configuration attributes.
			new JavaJRETab(),
			
			// Source lookup configuration tab
			new SourceLookupTab (),
			// Launch configuration tab for configuring the environment
			// passed into Runtime.exec(...) when a config is launched.
			
			new EnvironmentTab(),
			// Launch configuration tab used to specify the location a
			// launch configuration is stored in, whether it should appear
			// in the favorites listViewer, and perspective switching behavior for
			// an associated launch.
			new CommonTab() };
	setTabs(tabs);
}
 
开发者ID:gw4e,项目名称:gw4e.project,代码行数:31,代码来源:GW4ETabGroup.java

示例8: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的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

示例9: GcpLocalRunTab

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的package包/类
@VisibleForTesting
GcpLocalRunTab(EnvironmentTab environmentTab, IGoogleLoginService loginService,
    IGoogleApiFactory googleApiFactory, ProjectRepository projectRepository) {
  this.environmentTab = environmentTab;
  this.loginService = loginService;
  this.googleApiFactory = googleApiFactory;
  this.projectRepository = projectRepository;
}
 
开发者ID:GoogleCloudPlatform,项目名称:google-cloud-eclipse,代码行数:9,代码来源:GcpLocalRunTab.java

示例10: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
  ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[4];
  tabs[0] = new AppEngineServerLaunchConfigurationTab(SERVER_TYPE_IDS);
  tabs[0].setLaunchConfigurationDialog(dialog);
  tabs[1] = new JavaArgumentsTab();
  tabs[1].setLaunchConfigurationDialog(dialog);
  EnvironmentTab environmentTab = new EnvironmentTab();
  tabs[2] = environmentTab;
  tabs[2].setLaunchConfigurationDialog(dialog);
  tabs[3] = new GcpLocalRunTab(environmentTab);
  tabs[3].setLaunchConfigurationDialog(dialog);
  setTabs(tabs);
}
 
开发者ID:GoogleCloudPlatform,项目名称:google-cloud-eclipse,代码行数:15,代码来源:AppEngineTabGroup.java

示例11: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的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

示例12: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的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

示例13: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的package包/类
@Override
	public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
        ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
//                new MainLaunchConfigTab(),
        		new AguiMainTab(), //new JavaMainTab(),
                new AguiArgumentsTab(), //new JavaArgumentsTab(),
                new EnvironmentTab(),
//                new EmulatorConfigTab(ILaunchManager.RUN_MODE.equals(mode)),
                new CommonTab()
            };
        // org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab
        setTabs(tabs);
	}
 
开发者ID:thahn0720,项目名称:agui_eclipse_plugin,代码行数:14,代码来源:AguiLaunchConfigurationTabGroups.java

示例14: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的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

示例15: createTabs

import org.eclipse.debug.ui.EnvironmentTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {

  ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
      new JUnitLaunchConfigurationTabDecorator(), new GWTJUnitSettingsTab(),
      new JavaArgumentsTab(), new JavaClasspathTab(), new JavaJRETab(),
      new SourceLookupTab(), new EnvironmentTab(), new CommonTab()};
  setTabs(tabs);
}
 
开发者ID:gwt-plugins,项目名称:gwt-eclipse-plugin,代码行数:10,代码来源:GWTJUnitTabGroup.java


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