Package org.locationtech.udig.catalog.document

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


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

TOP

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

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.