Package org.eclipse.jdt.internal.ui.actions

Examples of org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter


        PtolemySortMembersOperation operation = new PtolemySortMembersOperation(
                compilationUnit, null, false);
        try {
            BusyIndicatorRunnableContext context = new BusyIndicatorRunnableContext();
            PlatformUI.getWorkbench().getProgressService().runInUI(context,
                    new WorkbenchRunnableAdapter(operation, schedulingRule),
                    schedulingRule);
        } catch (InvocationTargetException e) {
            OutputConsole.outputError(e.getMessage());
        } catch (InterruptedException e) {
            // Do nothing. Operation has been canceled by user.
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter

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.