Package org.jsynthlib.core

Examples of org.jsynthlib.core.PopupListener


        if (resource == null) {
            return;
        }
        File outputFile = new File(resource.toURI());
        guiHandler.uninstallDevice(null);
        PopupListener popupListener = new PopupListener();

        XmldeviceDocument deviceDocument =
                XmldeviceDocument.Factory.parse(outputFile);
        Xmldevice device = deviceDocument.getXmldevice();
View Full Code Here


                        "[\\w\\-]+\\s+" + patchName + "\\s*");
                FrameWrapper patchEditor = null;
                try {
                    patchEditor =
                            guiHandler.openPatchEditor(table, row, col,
                                    new PopupListener(), false);
                    if (patchEditor != null) {
                        List<SysexWidget> sysexWidgets =
                                SysexWidgetFinder.findSysexWidgets(patchEditor);
                        ArrayList<String> patchNameWidgetValues =
                                new ArrayList<String>();
View Full Code Here

        try {
            for (Class<? extends IDriver> driverClass : driversForDevice) {
                StringBuilder popupBuilder = new StringBuilder();

                LOG.info("Using driver: " + driverClass.getName());
                PopupListener driverPopupListener = new PopupListener();
                guiHandler.newPatch(library, deviceName, driverClass,
                        driverPopupListener);
                List<PopupContainer> driverPopups =
                        driverPopupListener.getPopups();
                for (PopupContainer popup : driverPopups) {
                    popupBuilder.append(popup.getContents());
                    popupBuilder.append("\n\n--------------------------\n\n");
                }

                LOG.info("Opening patch editor");
                PopupListener editorPopupListener = new PopupListener();
                FrameWrapper patchEditor =
                        guiHandler.openPatchEditor(table, -1, 0,
                                editorPopupListener, true);
                List<PopupContainer> editorPopups =
                        editorPopupListener.getPopups();
                for (PopupContainer popup : editorPopups) {
                    popupBuilder.append(popup.getContents());
                    popupBuilder.append("\n\n--------------------------\n\n");
                }
View Full Code Here

TOP

Related Classes of org.jsynthlib.core.PopupListener

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.