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


Java ILaunchConfigurationTab类代码示例

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


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

示例1: createTabs

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

import org.eclipse.debug.ui.ILaunchConfigurationTab; //导入依赖的package包/类
@Test
public void testCreateTabs() {
	RunTestsLaunchConfigurationTabGroup tabGroup = new RunTestsLaunchConfigurationTabGroup();
	ILaunchConfigurationDialog mockDialog = mock(ILaunchConfigurationDialog.class);
	String mockMode = "";
	
	tabGroup.createTabs(mockDialog, mockMode);
	
	ILaunchConfigurationTab[] tabs = tabGroup.getTabs();
	assertNotNull(tabs);
	assertEquals(3, tabs.length);
	assertTrue(tabs[0] instanceof ProjectConfigurationTab);
	assertTrue(tabs[1] instanceof TestConfigurationTab);
	assertTrue(tabs[2] instanceof CommonTab);
	
	ProjectConfigurationTab projectTab = (ProjectConfigurationTab) tabs[0];
	assertNotNull(projectTab.getSiblingTab());
	
	TestConfigurationTab testTab = (TestConfigurationTab) tabs[1];
	assertNotNull(testTab.getSiblingTab());
}
 
开发者ID:forcedotcom,项目名称:idecore,代码行数:22,代码来源:RunTestsLaunchConfigurationTabGroupTest_pdeui.java

示例7: widgetSelected

import org.eclipse.debug.ui.ILaunchConfigurationTab; //导入依赖的package包/类
@Override
public void widgetSelected(SelectionEvent e) {
    if (e.getSource() == fButtonSeeResultingCommandLine) {
        try {
            // ok, show the command-line to the user
            ILaunchConfigurationDialog launchConfigurationDialog = getLaunchConfigurationDialog();
            for (ILaunchConfigurationTab launchConfigurationTab : launchConfigurationDialog.getTabs()) {
                launchConfigurationTab.performApply(fWorkingCopyForCommandLineGeneration);
            }
            PythonRunnerConfig config = getConfig(fWorkingCopyForCommandLineGeneration,
                    launchConfigurationDialog);
            if (config == null) {
                fCommandLineText
                        .setText("Unable to make the command-line. \n\nReason:Interpreter not available for current project.");
            } else {
                String commandLineAsString = config.getCommandLineAsString();
                commandLineAsString = WrapAndCaseUtils.wrap(commandLineAsString, 80);
                commandLineAsString += "\n\nThe PYTHONPATH that will be used is:\n\n";
                commandLineAsString += config.pythonpathUsed;
                fCommandLineText.setText(commandLineAsString);
            }
        } catch (Exception e1) {
            fCommandLineText.setText("Unable to make the command-line. \n\nReason:\n\n" + e1.getMessage());
        }
    }
}
 
开发者ID:fabioz,项目名称:Pydev,代码行数:27,代码来源:InterpreterTab.java

示例8: createTabs

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

示例9: createTabs

import org.eclipse.debug.ui.ILaunchConfigurationTab; //导入依赖的package包/类
@Override
public void createTabs(final ILaunchConfigurationDialog dialog, final String mode) {
	final RConsoleMainTab mainTab = new CustomRConsoleMainTab();
	final REnvTab renvTab = new REnvTab(true, false);
	final boolean jdt = true;
	
	final ILaunchConfigurationTab[] tabs = jdt ? new ILaunchConfigurationTab[] {
			mainTab,
			renvTab,
			new RConsoleOptionsTab(),
			new EnvironmentTabForR(),
			
			new ExtJavaJRETab(mainTab, renvTab),
			new ExtJavaClasspathTab(),
			new SourceLookupTab(),
			
			new CommonTabForConsole()
	} : new ILaunchConfigurationTab[] {
			mainTab,
			renvTab,
			new EnvironmentTabForR(),
			
			new CommonTabForConsole()
	};
	setTabs(tabs);
}
 
开发者ID:bedatadriven,项目名称:renjin-statet,代码行数:27,代码来源:CustomRConsoleTabGroup.java

示例10: createTabs

import org.eclipse.debug.ui.ILaunchConfigurationTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
	ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
			new LaunchConfigurationMainTab(),
	};
	setTabs(tabs);
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:8,代码来源:LaunchConfigurationTabGroup.java

示例11: createTabs

import org.eclipse.debug.ui.ILaunchConfigurationTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
	ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { 
			new LaunchConfigurationMainTab(),
               new LaunchConfigurationBackendsTab(),
               new CommonTab()
	};
	setTabs(tabs);
}
 
开发者ID:eclipse,项目名称:gemoc-studio-modeldebugging,代码行数:10,代码来源:LauncherTabGroup.java

示例12: createTabs

import org.eclipse.debug.ui.ILaunchConfigurationTab; //导入依赖的package包/类
@Override
public void createTabs ( final ILaunchConfigurationDialog dialog, final String mode )
{
    ILaunchConfigurationTab[] tabs;
    tabs = new ILaunchConfigurationTab[] { new HiveTab () };
    setTabs ( tabs );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:8,代码来源:DriverTabGroup.java

示例13: createTabs

import org.eclipse.debug.ui.ILaunchConfigurationTab; //导入依赖的package包/类
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String arg1) {
	ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { 
			// A launch configuration tab that displays end edits GraphWalker Manual Runner command argument
			new GW4ELaunchConfigurationTab( ),
			 };
	setTabs(tabs);
}
 
开发者ID:gw4e,项目名称:gw4e.project,代码行数:9,代码来源:GW4ETabGroup.java

示例14: createTabs

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

示例15: createTabs

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


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