Java Code Examples for org.eclipse.jdt.internal.ui.wizards.NewWizardMessages#NewTypeWizardPage_interfaces_remove
The following examples show how to use
org.eclipse.jdt.internal.ui.wizards.NewWizardMessages#NewTypeWizardPage_interfaces_remove .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: NewModuleWizardPage.java From gwt-eclipse-plugin with Eclipse Public License 1.0 | 5 votes |
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(); }