Examples of Xmldevice


Examples of org.jsynthlib.driver.XmldeviceDocument.Xmldevice

        guiHandler.uninstallDevice(null);
        PopupListener popupListener = new PopupListener();

        XmldeviceDocument deviceDocument =
                XmldeviceDocument.Factory.parse(outputFile);
        Xmldevice device = deviceDocument.getXmldevice();

        guiHandler.installDevice(device.getManufacturer(), device.getName());
        FrameWrapper library = guiHandler.openLibrary();
        try {
            Xmldriver[] xmldriverArray = device.getXmldrivers().getXmldriverArray();
            for (Xmldriver xmldriver : xmldriverArray) {
                if (xmldriver.getEditable()) {
                    Xmleditor xmleditor = xmldriver.getXmleditor();
                    Xmlpatches xmlpatches = xmleditor.getXmlpatches();
                    if (xmlpatches != null) {
                        // Bank editor
                        Class<?> driverClass = Class.forName(xmldriver.getName());
                        guiHandler.newPatch(library, device.getName(), driverClass,
                                popupListener);
                        FrameWrapper bankEditor = null;
                        try {
                            bankEditor =
                                    guiHandler.openPatchEditor(library.table(), -1,
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.