Examples of IAttachmentSource


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
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.