Package org.eclipse.dltk.internal.ui.dialogs

Examples of org.eclipse.dltk.internal.ui.dialogs.OpenTypeSelectionDialog2.open()


        if (index == 0) {
          OpenTypeSelectionDialog2 dialog = getDialog(NewElementWizardPage.INTERFACES,
            "Interface selection",
            "Select interface",
            true);
          int result = dialog.open();
          if (result != IDialogConstants.OK_ID)
            return;
          Object[] types = dialog.getResult();
          for (Object type : types) {
            field.addElement((IType) type);
View Full Code Here


        OpenTypeSelectionDialog2 dialog = getDialog(NewElementWizardPage.CLASSES,
          "Superclass selection",
          "Select superclass",
          false);
        int result = dialog.open();
        if (result != IDialogConstants.OK_ID)
          return;

        Object searchedObject[] = dialog.getResult();
        setSuperclass((IType) searchedObject[0]);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.