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
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
public SourceFolderSelectionDialogButtonField(String descriptionLabel, String browseLabel, IStringButtonAdapter adapter) {
	super(adapter);
	setContentAssistProcessor(new JavaSourcePackageFragmentRootCompletionProcessor());
	setLabelText(descriptionLabel);
	setButtonLabel(browseLabel);
	setDialogFieldListener(this);
}
 
Example 3
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
public VariablePathDialogField(IStringButtonAdapter adapter) {
	super(adapter);
}