當前位置: 首頁>>代碼示例>>Java>>正文


Java CommonTab類代碼示例

本文整理匯總了Java中org.eclipse.debug.ui.CommonTab的典型用法代碼示例。如果您正苦於以下問題:Java CommonTab類的具體用法?Java CommonTab怎麽用?Java CommonTab使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


CommonTab類屬於org.eclipse.debug.ui包,在下文中一共展示了CommonTab類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: createTabs

import org.eclipse.debug.ui.CommonTab; //導入依賴的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.CommonTab; //導入依賴的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.CommonTab; //導入依賴的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

示例4: testCreateTabs

import org.eclipse.debug.ui.CommonTab; //導入依賴的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

示例5: createTabs

import org.eclipse.debug.ui.CommonTab; //導入依賴的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

示例6: createTabs

import org.eclipse.debug.ui.CommonTab; //導入依賴的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

示例7: createTabs

import org.eclipse.debug.ui.CommonTab; //導入依賴的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.CommonTab; //導入依賴的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: createTabs

import org.eclipse.debug.ui.CommonTab; //導入依賴的package包/類
@Override
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
	setTabs( new ILaunchConfigurationTab[] {
			new LibertyEiffelMainTab(),
			new SourceLookupTab(),
			new CommonTab()
	});
}
 
開發者ID:Imhotup,項目名稱:LibertyEiffel-Eclipse-Plugin,代碼行數:9,代碼來源:LibertyEiffelTabGroup.java

示例10: createTabs

import org.eclipse.debug.ui.CommonTab; //導入依賴的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

示例11: createTabs

import org.eclipse.debug.ui.CommonTab; //導入依賴的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

示例12: createTabs

import org.eclipse.debug.ui.CommonTab; //導入依賴的package包/類
/**
 * This method creates the tabs for the scenario test launch
 * configuration.
 * 
 * @param dialog The launch configuration dialog
 * @param mode The mode
 */
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
	ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
		//new SimulationMainTab(),
		new CommonTab()
	};
	setTabs(tabs);
}
 
開發者ID:scribble,項目名稱:scribble-eclipse,代碼行數:15,代碼來源:SimulationTabGroup.java

示例13: createTabs

import org.eclipse.debug.ui.CommonTab; //導入依賴的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.CommonTab; //導入依賴的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.CommonTab; //導入依賴的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.CommonTab類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。