本文整理汇总了Java中org.eclipse.wst.server.ui.ServerLaunchConfigurationTab类的典型用法代码示例。如果您正苦于以下问题:Java ServerLaunchConfigurationTab类的具体用法?Java ServerLaunchConfigurationTab怎么用?Java ServerLaunchConfigurationTab使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ServerLaunchConfigurationTab类属于org.eclipse.wst.server.ui包,在下文中一共展示了ServerLaunchConfigurationTab类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createTabs
import org.eclipse.wst.server.ui.ServerLaunchConfigurationTab; //导入依赖的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);
}
示例2: createTabs
import org.eclipse.wst.server.ui.ServerLaunchConfigurationTab; //导入依赖的package包/类
/**
* Creates the necessary tabs for this launch configuration.
*
* @see ILaunchConfigurationTabGroup
*/
@Override
public void createTabs(final ILaunchConfigurationDialog dialog, final String mode) {
final ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
new ServerLaunchConfigurationTab(new String[] { "org.apache.karaf.eik.server" }),
new JavaArgumentsTab(),
new OSGiSettingsTab(),
new TracingTab(),
new KarafConfigurationTab(),
new EnvironmentTab(),
new CommonTab()
};
setTabs(tabs);
}