本文整理匯總了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);
}
示例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);
}
示例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);
}
示例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());
}
示例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);
}
示例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);
}
示例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);
}
示例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() });
}
示例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()
});
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}