Package org.eclipse.jdt.internal.ui.dialogs

Examples of org.eclipse.jdt.internal.ui.dialogs.MainTypeSelectionDialog.open()


    BusyIndicatorRunnableContext context = new BusyIndicatorRunnableContext();

    MainTypeSelectionDialog dialog = new MainTypeSelectionDialog( parent, context, searchScope, 0 );
    dialog.setTitle( "Find class" );
    dialog.setMessage( "Find the class used to launch the application" );
    if ( dialog.open() == Window.CANCEL ) {
      return null;
    }
    Object[] results = dialog.getResult();
    IType type = (IType) results[0];
    if ( type != null ) {
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.