Java Code Examples for org.eclipse.jdt.internal.ui.wizards.dialogfields.IStringButtonAdapter
The following examples show how to use
org.eclipse.jdt.internal.ui.wizards.dialogfields.IStringButtonAdapter. These examples are extracted from open source projects.
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 Project: gwt-eclipse-plugin Source File: NewAsyncRemoteServiceInterfaceCreationWizardPage.java License: Eclipse Public License 1.0 | 6 votes |
public NewAsyncRemoteServiceInterfaceCreationWizardPage( ITypeBinding syncTypeBinding) { super(); this.syncTypeBinding = syncTypeBinding; syncTypeDialogField = new StringButtonDialogField( new IStringButtonAdapter() { public void changeControlPressed(DialogField field) { // Purposely ignored } }); syncTypeDialogField.setButtonLabel("Browse..."); syncTypeDialogField.setLabelText("Synchronous type:"); syncTypeDialogField.setEnabled(false); syncTypeDialogField.setText(syncTypeBinding.getQualifiedName()); ImageDescriptor imageDescriptor = GWTPlugin.getDefault().getImageRegistry().getDescriptor( GWTImages.NEW_ASYNC_INTERFACE_LARGE); setImageDescriptor(imageDescriptor); setDescription("Create a new asynchronous remote service interface"); }
Example 2
Source Project: Eclipse-Postfix-Code-Completion Source File: SourceFolderSelectionDialogButtonField.java License: Eclipse Public License 1.0 | 5 votes |
public SourceFolderSelectionDialogButtonField(String descriptionLabel, String browseLabel, IStringButtonAdapter adapter) { super(adapter); setContentAssistProcessor(new JavaSourcePackageFragmentRootCompletionProcessor()); setLabelText(descriptionLabel); setButtonLabel(browseLabel); setDialogFieldListener(this); }
Example 3
Source Project: Eclipse-Postfix-Code-Completion Source File: PackageFragmentSelection.java License: Eclipse Public License 1.0 | 5 votes |
public PackageFragmentSelection(SourceFirstPackageSelectionDialogField field, String packageLabel, String browseLabel, String statusHint, IStringButtonAdapter adapter) { super(adapter); fDialogField= field; setLabelText(packageLabel); setButtonLabel(browseLabel); setStatusWidthHint(statusHint); fCurrPackageCompletionProcessor= new JavaPackageCompletionProcessor(); }
Example 4
Source Project: Eclipse-Postfix-Code-Completion Source File: VariablePathDialogField.java License: Eclipse Public License 1.0 | 4 votes |
public VariablePathDialogField(IStringButtonAdapter adapter) { super(adapter); }