Package org.jitterbit.integration.data

Examples of org.jitterbit.integration.data.Locatable


            return super.getDefaultIcon();
        }
    }

    private Icon getLocationDecoratedIcon(Size size) {
        Locatable locatable = (Locatable) getUserObject();
        LocationDecoratedIcons icons = LocationDecoratedIcons.forLocatable(locatable);
        return icons.getIcon(locatable, size);
    }
View Full Code Here


                        locatableClass, new FileBasedLocationFilter());
        page.setNewEntityVisitor(new Receiver<T>() {

            @Override
            public void handle(T object) {
                Locatable locatable = (Locatable) object;
                locatable.setAllowedLocationTypes(DataLocationType.getFileBasedTypes());
            }
        });
        String mainCaption = String.format("Select a File %s", (locatableType == EntityType.Source ? "Source" : "Target"));
        page.setMainCaption(mainCaption);
        String subCaption = String.format("Select the location of the %s file that will be used in this connect operation.", (locatableType == EntityType.Source ? "source" : "target"));
View Full Code Here

    private class DbQuoteListener implements PropertyChangeListener {

        @Override
        public void propertyChange(PropertyChangeEvent evt) {
            Locatable source = ((LocatableChangeEvent) evt).getLocatable();
            IntegrationEntity entity = (IntegrationEntity) source;
            saveEntity(entity);
        }
View Full Code Here

            return node;
        }

        private void checkIcon(IntegrationEntity entity, EntityNodeUi node) {
            if (entity instanceof Locatable && LocationDecorateTreeNodeIconsPreference.value()) {
                Locatable locatable = (Locatable) entity;
                LocationDecoratedIcons locationIcons = LocationDecoratedIcons.forLocatable(locatable);
                Icon icon = locationIcons.getIcon(locatable, Size.SMALL);
                node.setIcon(icon);
            }
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.Locatable

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.