Examples of ApexTrigger


Examples of com.salesforce.ide.api.metadata.types.ApexTrigger

    @Override
    public void syncFromMetadata() {
        // Start with a clean, empty metadata file.
        // In the event of a parse error from the raw XML, display this empty element
        apexTriggerMetadata = new ApexTrigger();

        try {
            apexTriggerMetadata = unmarshall(getTextFromMetadataEditor(), ApexTrigger.class);
        } catch (Exception e) {
            logger.debug("Error trying to sync from Metadata tab for Apex property sheet: ", e);
View Full Code Here

Examples of com.salesforce.ide.core.model.ApexTrigger

    }

    @Override
    public void loadAdditionalComponentAttributes() throws FactoryException, JAXBException {
        // load code body and add to component list
        ApexTrigger apexTrigger = (ApexTrigger) component;
        apexTrigger.setObjectName(getObjectName());
        apexTrigger.setOperations(new ArrayList<String>(operations));
        apexTrigger.intiNewBody(apexTrigger.getNewBodyFromTemplateString());
        componentList.add(apexTrigger);

        // prepare metadata body and component
        Component metadataComponent = componentFactory.getCompositeComponentFromComponent(component);
        saveMetadata(metadataComponent);
View Full Code Here

Examples of com.salesforce.ide.core.model.ApexTrigger

    }

    @Override
    public void createComposite(Composite parent) {
        // load trigger operation options
        ApexTrigger apexTrigger = (ApexTrigger) componentWizard.getComponentWizardModel().getComponent();

        componentWizardComposite =
                new ApexTriggerWizardComposite(parent, SWT.NULL, apexTrigger.getDisplayName(), apexTrigger
                        .getSupportedApiVersions(), apexTrigger.getOperationOptions());
        componentWizardComposite.setComponentWizardPage(this);
    }
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.