Package org.jitterbit.integration.data.functors

Examples of org.jitterbit.integration.data.functors.FileBasedLocationFilter


                        new LocatableFilter(DataLocationType.Database));
    }

    private void buildFileLocationBranch(KongaTreeNode parent) {
        String name = Strings.get("ProjectItemTree.FileLocations");
        buildLocatableSubTree(parent, name, "ProjectItemTree.Help.FileLocations", new FileBasedLocationFilter());
    }
View Full Code Here


    private EntitySelectionPage<T> createLocationSelectionPage(Wizard<?> wizard, EntityExplorerSupport explorer,
                    EntityType locatableType, Class<T> locatableClass) {

        String title = String.format("Select a %s", (locatableType == EntityType.Source ? "Source" : "Target"));
        EntitySelectionPage<T> page = new EntitySelectionPage<T>(wizard, title, explorer, locatableType,
                        locatableClass, new FileBasedLocationFilter());
        page.setNewEntityVisitor(new Receiver<T>() {

            @Override
            public void handle(T object) {
                Locatable locatable = (Locatable) object;
View Full Code Here

        return page;
    }

    private EntitySelectionPage<Source> createSourceSelectionPage(Wizard<?> wizard, EntityExplorerSupport explorer) {
        EntitySelectionPage<Source> page = new EntitySelectionPage<Source>(wizard, "Select a Source", explorer, EntityType.Source,
                        Source.class, new FileBasedLocationFilter());
        page.setNewEntityVisitor(new Receiver<Source>() {

            @Override
            public void handle(Source source) {
                source.setAllowedLocationTypes(DataLocationType.getFileBasedTypes());
View Full Code Here

        addPage(targetSelectionPage);
    }

    private EntitySelectionPage<Target> createTargetSelectionPage(Wizard<?> wizard, EntityExplorerSupport explorer) {
        EntitySelectionPage<Target> page = new EntitySelectionPage<Target>(wizard, "Select a Target", explorer, EntityType.Target,
                        Target.class, new FileBasedLocationFilter());
        page.setNewEntityVisitor(new Receiver<Target>() {

            @Override
            public void handle(Target target) {
                target.setAllowedLocationTypes(DataLocationType.getFileBasedTypes());
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.functors.FileBasedLocationFilter

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.