Package com.salesforce.ide.core.model

Examples of com.salesforce.ide.core.model.ProjectPackageList.addComponent()


            } else if (isSubComponentFolder(resource)) {
                ComponentList componentList = getComponentsForSubComponentFolder((IFolder) resource, true);
                projectPackageList.addComponents(componentList, false);
            } else if (isManagedFile(resource)) { //if we're in a force.com project. "isManaged" is misleading.
                Component component = getComponentFactory().getComponentFromFile((IFile) resource);
                projectPackageList.addComponent(component, true);

                // add dependent or associated components such as folder metadata component if component is sub-folder component
                if (includeAssociated) {
                    ComponentList componentList = getComponentFactory().getAssociatedComponents(component);
                    if (Utils.isNotEmpty(componentList)) {
View Full Code Here


            return true;
        }

        localProjectPackageList = getProjectPackageListInstance();
        localProjectPackageList.setProject(file.getProject());
        localProjectPackageList.addComponent(component, true);

        monitorWorkCheck(monitor, "Retrieving remote contents...");
        RetrieveResultExt retrieveResultExt =
                getPackageRetrieveService().retrieveSelective(localProjectPackageList, true, monitor);
View Full Code Here

            projectPackageList.setProject(component.getFileResource().getProject());
        } else {
            logger.warn("Project not provided, and will not be attached to returned project package");
        }

        projectPackageList.addComponent(component, includeMetadata);

        return retrieveSelective(connection, projectPackageList, true, monitor);
    }

    /**
 
View Full Code Here

                IFile file = (IFile) res;
                projectPackageList.setProject(file.getProject());

                monitorCheck(monitor);
                Component component = ContainerDelegate.getInstance().getFactoryLocator().getComponentFactory().getComponentFromFile(file, true);
                projectPackageList.addComponent(component, true);
            }
        }
        return projectPackageList;
    }
View Full Code Here

        // Custom object components are handled differently.
        for (DeploymentComponent deploymentComponent : deploymentComponents) {
            if (deploymentComponent.getDestinationSummary().equals(DeploymentSummary.DELETED)) {
                projectPackageList.addDeleteComponent(deploymentComponent.getComponent());
            } else {
                projectPackageList.addComponent(deploymentComponent.getComponent());
              
                // If this is a custom object component, check to see if it's actually in the manifest -
                // maybe a field inside the object was retrieved from the source org into the project,
                // but the object itself wasn't.
                //
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.