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

Examples of org.eclipse.jdt.internal.ui.dialogs.MainTypeSelectionDialog


    constraints |= IJavaSearchScope.APPLICATION_LIBRARIES;

    IJavaSearchScope searchScope = SearchEngine.createJavaSearchScope( elements, constraints );
    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 ) {
      return type.getFullyQualifiedName();
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.ui.dialogs.MainTypeSelectionDialog

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.