Package org.locationtech.udig.catalog.document

Examples of org.locationtech.udig.catalog.document.IAttachmentSource


    private void setFeaturePropsEnablements(IGeoResource resource, IProgressMonitor monitor) {
        featureDocumentsFlag.setSelection(false);
        featureDocumentsFlag.setEnabled(false);
        if (resource.canResolve(IAttachmentSource.class)) {
            try {
                final IAttachmentSource source = resource.resolve(IAttachmentSource.class, monitor);
                featureDocumentsFlag.setSelection(source.isEnabled());
                featureDocumentsFlag.setEnabled(source.isEnabledEditable());
            } catch (IOException e) {
                // Already disabled
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.catalog.document.IAttachmentSource

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.