org.eclipse.debug.ui.sourcelookup.SourceLookupTab Java Examples

The following examples show how to use org.eclipse.debug.ui.sourcelookup.SourceLookupTab. 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: GwtCompilerTabGroup.java    From gwt-eclipse-plugin with Eclipse Public License 1.0 6 votes vote down vote up
@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);
}
 
Example #2
Source File: WebAppTabGroup.java    From gwt-eclipse-plugin with Eclipse Public License 1.0 6 votes vote down vote up
@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);
}
 
Example #3
Source File: SARLAgentLaunchConfigurationTabGroup.java    From sarl with Apache License 2.0 6 votes vote down vote up
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
	final SARLAgentMainLaunchConfigurationTab mainTab = new SARLAgentMainLaunchConfigurationTab();
	final SARLRuntimeEnvironmentTab sreTab = new SARLRuntimeEnvironmentTab(true);
	sreTab.addSreChangeListener(mainTab);
	final ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
		mainTab,
		new SARLArgumentsTab(),
		sreTab,
		getClasspathTab(dialog),
		new SourceLookupTab(),
		new EnvironmentTab(),
		new CommonTab(),
	};
	setTabs(tabs);
}
 
Example #4
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 #5
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 #6
Source File: CodewindLaunchConfigTabGroup.java    From codewind-eclipse with Eclipse Public License 2.0 5 votes vote down vote up
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
    ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[2];

    SourceLookupTab sourceLookupTab = new SourceLookupTab();
    sourceLookupTab.setLaunchConfigurationDialog(dialog);
    tabs[0] = sourceLookupTab;

    tabs[1] = new CommonTab();
    tabs[1].setLaunchConfigurationDialog(dialog);
    setTabs(tabs);
}
 
Example #7
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 #8
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 #9
Source File: GwtSuperDevModeCodeServerTabGroup.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) {
  launchConfigurationDialog = dialog;

  WebAppArgumentsTab argsTab = new WebAppArgumentsTab();

  GwtSuperDevModeCodeServerSettingsTab 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 GwtSuperDevModeCodeServerSettingsTab(argsTab);
  }

  WebAppMainTab webAppMainTab = new WebAppMainTab();

  ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
      webAppMainTab,
      gwtSettingsTab,
      argsTab,
      new JavaJRETab(),
      new JavaClasspathTab(),
      new SourceLookupTab(),
      new EnvironmentTab(),
      new CommonTab()};
  setTabs(tabs);
}
 
Example #10
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 #11
Source File: ScriptTabGroup.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void createTabs( ILaunchConfigurationDialog dialog, String mode )
{
	ILaunchConfigurationTab tabs[] = null;
	tabs = ( new ILaunchConfigurationTab[]{
			new ScriptMainTab( ),
			new JavaJRETab( ),
			new ScriptClasspathTab( ),
			new SourceLookupTab( ),
			new CommonTab( )
	} );
	setTabs( tabs );
}
 
Example #12
Source File: AbstractLangDebugTabGroup.java    From goclipse with Eclipse Public License 1.0 5 votes vote down vote up
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
	setTabs(new ILaunchConfigurationTab[] {
			createMainLaunchConfigTab(),
			new LangArgumentsTab(),
			new EnvironmentTab(),
			new Lang_LocalApplicationCDebuggerTab(),
			new SourceLookupTab(),
			new CommonTab(),
	});
}
 
Example #13
Source File: RustDebugTabGroup.java    From corrosion with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public void createTabs(ILaunchConfigurationDialog arg0, String arg1) {
	setTabs(new ILaunchConfigurationTab[] { new RustDebugTab(), new CArgumentsTab(), new EnvironmentTab(),
			new RustLocalApplicationCDebuggerTab(), new SourceLookupTab(), new CommonTab() });
}