Package ch.ethz.prose.eclipse.internal.run

Examples of ch.ethz.prose.eclipse.internal.run.ProseRunSelectionDialog


        if (managers.isEmpty()) {
            ProsePlugin.openErrorDialog("No Prose application", "No Prose application available to insert aspect.");
            return;
        }

        ProseRunSelectionDialog dialog = new ProseRunSelectionDialog(ProsePlugin.getShell(), managers);
        dialog.setTitle("Aspect manager selection");
        dialog.open();
        if (dialog.getReturnCode() == Dialog.OK) {
            try {
                dialog.getAspectManager().insertAspect(type);
            } catch (UnreachableException e) {
                ProsePlugin.openErrorDialog("Aspect insertion failed",
                        "Could not insert aspect because Prose application is not reachable.");
            }
        }
View Full Code Here

TOP

Related Classes of ch.ethz.prose.eclipse.internal.run.ProseRunSelectionDialog

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.