• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java SelectionButtonDialogFieldGroup类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: NewEntryPointWizardPage

import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogFieldGroup; //导入依赖的package包/类
public NewEntryPointWizardPage() {
  super(true, "Entry Point Class");
  setTitle("Entry Point Class");
  setDescription("Create a new entry point class.");

  moduleField = new ModuleSelectionDialogButtonField(this,
      new ModuleFieldAdapter());

  String[] buttonNames = new String[] {
      NewWizardMessages.NewClassWizardPage_methods_constructors,
      NewWizardMessages.NewClassWizardPage_methods_inherited};
  methodStubsButtons = new SelectionButtonDialogFieldGroup(SWT.CHECK,
      buttonNames, 1);
  methodStubsButtons.setLabelText(NewWizardMessages.NewClassWizardPage_methods_label);

  moduleStatus = new StatusInfo();
}
 
开发者ID:gwt-plugins,项目名称:gwt-eclipse-plugin,代码行数:18,代码来源:NewEntryPointWizardPage.java


示例2: NewEclecticFilePage

import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogFieldGroup; //导入依赖的package包/类
@SuppressWarnings("restriction")
public NewEclecticFilePage() {
	super(false, "New Eclectic Transformation");
	
	String[] buttonNames3= new String[] {
			"Mapping", "Target-oriented", "Attribute propagation"
	};
	fTransformationKindGroup= new SelectionButtonDialogFieldGroup(SWT.CHECK, buttonNames3, 1);
	fTransformationKindGroup.setLabelText("Which styles requires your transformation?");

	fTransformationKindGroup.setSelection(0, true);
	fTransformationKindGroup.setSelection(1, false);
	fTransformationKindGroup.setSelection(2, false);
	fTransformationKindGroup.setEnabled(true);
			
}
 
开发者ID:jesusc,项目名称:eclectic,代码行数:17,代码来源:NewEclecticFilePage.java


示例3: NewModuleWizardPage

import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogFieldGroup; //导入依赖的package包/类
public NewModuleWizardPage() {
  super("newModuleWizardPage");
  setTitle("New GWT Module");
  setDescription("Create a new GWT Module.");

  ModuleDialogFieldAdapter adapter = new ModuleDialogFieldAdapter();

  modulePackageField = new StringButtonStatusDialogField(adapter);
  modulePackageField.setDialogFieldListener(adapter);
  modulePackageField.setLabelText("Package:");
  modulePackageField.setButtonLabel(NewWizardMessages.NewTypeWizardPage_package_button);
  modulePackageField.setStatusWidthHint(NewWizardMessages.NewTypeWizardPage_default);

  modulePackageCompletionProcessor = new JavaPackageCompletionProcessor();

  moduleNameField = new StringDialogField();
  moduleNameField.setDialogFieldListener(adapter);
  moduleNameField.setLabelText("Module name:");

  String[] addButtons = new String[] {
      NewWizardMessages.NewTypeWizardPage_interfaces_add,
      /* 1 */null, NewWizardMessages.NewTypeWizardPage_interfaces_remove};
  moduleInheritsDialogField =
      new ListDialogField<IModule>(adapter, addButtons,
      new ModuleSelectionLabelProvider());
  moduleInheritsDialogField.setDialogFieldListener(adapter);
  moduleInheritsDialogField.setTableColumns(new ListDialogField.ColumnsDescription(
      1, false));
  moduleInheritsDialogField.setLabelText("Inherited modules:");
  moduleInheritsDialogField.setRemoveButtonIndex(REMOVE_INHERITS_BUTTON_GROUP_INDEX);

  String[] buttonNames = new String[] {
      "Create public resource path", "Create package for client source"};
  moduleCreateElementsCheckboxes = new SelectionButtonDialogFieldGroup(
      SWT.CHECK, buttonNames, 1);

  moduleContainerStatus = new StatusInfo();
  modulePackageStatus = new StatusInfo();
  moduleNameStatus = new StatusInfo();
}
 
开发者ID:gwt-plugins,项目名称:gwt-eclipse-plugin,代码行数:41,代码来源:NewModuleWizardPage.java


示例4: NewUiBinderWizardPage

import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogFieldGroup; //导入依赖的package包/类
public NewUiBinderWizardPage() {
  super("UiBinder", "Create a new UiBinder template and owner class.", true,
      "NewUiBinderWizardPage");

  uiTypeButtons = new SelectionButtonDialogFieldGroup(SWT.RADIO,
      new String[] {"GWT widge&ts", "&HTML"}, 4);
  uiTypeButtons.setLabelText("&Create UI based on:");
  uiTypeButtons.setSelection(0, true);

  addSampleContentButton = new SelectionButtonDialogField(SWT.CHECK);
  addSampleContentButton.setLabelText("Generate &sample content");
}
 
开发者ID:gwt-plugins,项目名称:gwt-eclipse-plugin,代码行数:13,代码来源:NewUiBinderWizardPage.java


示例5: NewHostPageWizardPage

import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogFieldGroup; //导入依赖的package包/类
protected NewHostPageWizardPage() {
  super("newHostPage");
  setTitle("HTML page");
  setDescription("Create a new HTML page.");

  ProjectFieldAdapter projectAdapter = new ProjectFieldAdapter();
  projectField = new StringButtonDialogField(projectAdapter);
  projectField.setDialogFieldListener(projectAdapter);
  projectField.setLabelText("Project:");
  projectField.setButtonLabel("Browse...");

  PathFieldAdapter publicPathAdapter = new PathFieldAdapter();
  pathField = new StringButtonDialogField(publicPathAdapter);
  pathField.setDialogFieldListener(publicPathAdapter);
  pathField.setLabelText("Path:");
  pathField.setButtonLabel("Browse...");

  fileNameField = new StringDialogField();
  fileNameField.setDialogFieldListener(new HostPageFieldAdapter());
  fileNameField.setLabelText("File name:");

  modulesBlock = new EntryPointModulesSelectionBlock("Modules:",
      new HostPageFieldAdapter());

  String[] buttonNames = new String[] {"Support for browser history (Back, Forward, bookmarks)"};
  hostPageElementsButtons = new SelectionButtonDialogFieldGroup(SWT.CHECK,
      buttonNames, 1);
  hostPageElementsButtons.setLabelText("Which elements do you want to include in your page?");
}
 
开发者ID:gwt-plugins,项目名称:gwt-eclipse-plugin,代码行数:30,代码来源:NewHostPageWizardPage.java


示例6: NewClassWizardPage

import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogFieldGroup; //导入依赖的package包/类
/**
 * Creates a new <code>NewClassWizardPage</code>
 */
public NewClassWizardPage() {
	super(true, PAGE_NAME);

	setTitle(NewWizardMessages.NewClassWizardPage_title);
	setDescription(NewWizardMessages.NewClassWizardPage_description);

	String[] buttonNames3= new String[] {
		NewWizardMessages.NewClassWizardPage_methods_main, NewWizardMessages.NewClassWizardPage_methods_constructors,
		NewWizardMessages.NewClassWizardPage_methods_inherited
	};
	fMethodStubsButtons= new SelectionButtonDialogFieldGroup(SWT.CHECK, buttonNames3, 1);
	fMethodStubsButtons.setLabelText(NewWizardMessages.NewClassWizardPage_methods_label);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:17,代码来源:NewClassWizardPage.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java JCErroneous类代码示例发布时间:2022-05-23
下一篇:
Java I2cDevice类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap