org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab Java Examples

The following examples show how to use org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SARLApplicationLaunchConfigurationTabGroup.java    From sarl with Apache License 2.0 6 votes vote down vote up
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
	final SARLApplicationMainLaunchConfigurationTab mainTab = new SARLApplicationMainLaunchConfigurationTab();
	final SARLRuntimeEnvironmentTab sreTab = new SARLRuntimeEnvironmentTab(false);
	sreTab.addSreChangeListener(mainTab);
	final ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
		mainTab,
		new JavaArgumentsTab(),
		sreTab,
		getClasspathTab(dialog),
		new SourceLookupTab(),
		new EnvironmentTab(),
		new CommonTab(),
	};
	setTabs(tabs);
}
 
Example #2
Source File: AnalysisEngineTabGroup.java    From uima-uimaj with Apache License 2.0 6 votes vote down vote up
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {

    ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
            new AnalysisEngineMainTab(),
            new JavaArgumentsTab(),
            new JavaJRETab(),  // Java Runtime Environment
            new JavaClasspathTab(),
            // TODO: Error launch configuration does not support source lookup, why not?
            // It should be on the tab.
            new SourceLookupTab(),
            new EnvironmentTab(),
            new CommonTab()
            };
    
    setTabs(tabs);
  }
 
Example #3
Source File: AppEngineTabGroup.java    From google-cloud-eclipse with Apache License 2.0 5 votes vote down vote up
@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);
}
 
Example #4
Source File: DataflowPipelineLaunchConfigurationTabGroup.java    From google-cloud-eclipse with Apache License 2.0 5 votes vote down vote up
@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]));
}
 
Example #5
Source File: JReFrameworkerTabGroup.java    From JReFrameworker with MIT License 5 votes vote down vote up
/**
 * 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);
}
 
Example #6
Source File: GWTJUnitTabGroup.java    From gwt-eclipse-plugin with Eclipse Public License 1.0 5 votes vote down vote up
@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);
}
 
Example #7
Source File: DefaultLaunchConfigurationTabGroup.java    From txtUML with Eclipse Public License 1.0 5 votes vote down vote up
@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);
}
 
Example #8
Source File: LocalMapReduceLaunchTabGroup.java    From RDFS with Apache License 2.0 4 votes vote down vote up
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
  setTabs(new ILaunchConfigurationTab[] { new MapReduceLaunchTab(),
      new JavaArgumentsTab(), new JavaJRETab(), new JavaClasspathTab(),
      new CommonTab() });
}
 
Example #9
Source File: StartHadoopLaunchTabGroup.java    From RDFS with Apache License 2.0 4 votes vote down vote up
/**
 * TODO(jz) consider the appropriate tabs for this case
 */
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
  setTabs(new ILaunchConfigurationTab[] { new JavaArgumentsTab(),
      new JavaJRETab(), new JavaClasspathTab(), new CommonTab() });
}
 
Example #10
Source File: LocalMapReduceLaunchTabGroup.java    From hadoop-gpu with Apache License 2.0 4 votes vote down vote up
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
  setTabs(new ILaunchConfigurationTab[] { new MapReduceLaunchTab(),
      new JavaArgumentsTab(), new JavaJRETab(), new JavaClasspathTab(),
      new CommonTab() });
}
 
Example #11
Source File: StartHadoopLaunchTabGroup.java    From hadoop-gpu with Apache License 2.0 4 votes vote down vote up
/**
 * TODO(jz) consider the appropriate tabs for this case
 */
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
  setTabs(new ILaunchConfigurationTab[] { new JavaArgumentsTab(),
      new JavaJRETab(), new JavaClasspathTab(), new CommonTab() });
}