本文整理汇总了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;未经允许,请勿转载。 |
请发表评论