Package org.locationtech.udig.document.source

Examples of org.locationtech.udig.document.source.BasicHotlinkDescriptorParser


        }
    }
       
    private void setHotlinkDescriptorParser(IGeoResource resource) {
        if (resource.canResolve(IHotlinkSource.class)) {
            hotlinkParser = new BasicHotlinkDescriptorParser(resource);
        }
    }
View Full Code Here


        final List<HotlinkDescriptor> descriptors = new ArrayList<HotlinkDescriptor>();
        descriptors.add(new HotlinkDescriptor("File", "File Description", "FILE", ContentType.FILE, ""));
        descriptors.add(new HotlinkDescriptor("Web", "Web Description", "LINK", ContentType.WEB, ""));

        parser = new BasicHotlinkDescriptorParser(resource);
        parser.setDescriptors(descriptors);

    }
View Full Code Here

        source = new ShpHotlinkSource(geoResource);
        final Filter filter = CommonFactoryFinder.getFilterFactory2()
                .id(new FeatureIdImpl(FEATURE));
        feature = getFeature(geoResource, filter);

        final BasicHotlinkDescriptorParser parser = new BasicHotlinkDescriptorParser(geoResource);
        final List<HotlinkDescriptor> inInfos = new ArrayList<HotlinkDescriptor>();
        inInfos.add(descriptor1);
        inInfos.add(descriptor2);
        inInfos.add(descriptor3);
        parser.setDescriptors(inInfos);
       
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.document.source.BasicHotlinkDescriptorParser

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.