Package org.eclipse.jdt.internal.ui.wizards.dialogfields

Examples of org.eclipse.jdt.internal.ui.wizards.dialogfields.IStringButtonAdapter


  public NewAspectWizardPage() {
    super(PAGE_NAME);
    setTitle("Prose Aspect");
    setDescription("Create or extend a Prose aspect.");

    fPackageDialogField = new StringButtonStatusDialogField(new IStringButtonAdapter() {
      public void changeControlPressed(DialogField field) {
        IPackageFragment pack= choosePackage()
        if (pack != null) {
          fPackageDialogField.setText(pack.getElementName());
        }
View Full Code Here


     * @param name Page name
     */
    public NewMemberCutWizardPage(String name) {
        super(name);

        fTargetClassDialogField = new StringButtonDialogField(new IStringButtonAdapter() {
            public void changeControlPressed(DialogField field) {
                IType type = chooseTargetClass();
                if (type != null) {
                  fTargetClassDialogField.setText(JavaModelUtil.getFullyQualifiedName(type));
                }
View Full Code Here

    public NewExceptionCutWizardPage() {
        super(PAGE_NAME);
        setTitle("Exception Cut Customization");
        setDescription("Select an optional target exception that must match.");

        fTargetExceptionDialogField = new StringButtonDialogField(new IStringButtonAdapter() {
            public void changeControlPressed(DialogField field) {
                IType type = chooseTargetException();
                if (type != null) {
                  fTargetExceptionDialogField.setText(JavaModelUtil.getFullyQualifiedName(type));
                }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.ui.wizards.dialogfields.IStringButtonAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.