Package com.salesforce.ide.ui.wizards.components

Examples of com.salesforce.ide.ui.wizards.components.ComponentWizard


        if (logger.isDebugEnabled()) {
            logger.debug("Opening component wizard '" + component.getWizardClassName() + "'");
        }

        ComponentWizard componentWizard = null;
        try {
            Class<?> componentWizardClass = Class.forName(component.getWizardClassName());

            if (componentWizardClass == null) {
                logger.error("Unable to open new component wizard '" + component.getWizardClassName() + "'");
                Utils.openError("New Force.com Component Error",
                    "Unable to open new component wizard.  The component for action is not supported.");
                return;
            }

            componentWizard = (ComponentWizard) componentWizardClass.newInstance();
            componentWizard.init(getWorkbench(), getStructuredSelection());
        } catch (ClassNotFoundException e) {
            logger.error("Unable to open new component wizard '" + component.getWizardClassName() + "'");
            Utils.openError("New Force.com Component Error",
                "Unable to open new component wizard.  The component for action is not supported.");
            return;
View Full Code Here

TOP

Related Classes of com.salesforce.ide.ui.wizards.components.ComponentWizard

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.