Examples of PresetModel


Examples of com.pcmsolutions.device.EMU.E4.preset.PresetModel

        for (int i = 0, n = ca.length; i < n; i++) {
            if (ca[i].isInstance(baseClass))         // ca[i] guaranteed non-null by virtue of addPresetClass semantics
                candidate = mostDerived(ca[i], candidate);
        }
        if (candidate != baseClass.getClass()) {
            PresetModel pm = (PresetModel) candidate.newInstance();
            pm.setPreset(baseClass.getPreset());
            pm.setPresetContext(baseClass.getPresetContext());
            return pm;
        }
        return baseClass;
    }
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.