Package org.locationtech.udig.project.ui.feature

Examples of org.locationtech.udig.project.ui.feature.FeaturePanelEntry


     *            the tab descriptor.
     * @return the tab contents.
     * @since 3.4
     */
    protected IFeaturePanel createTab(FeaturePanelTabDescriptor tabDescriptor) {
        FeaturePanelEntry entry = tabDescriptor.getEntry();
        return entry.createFeaturePanel();
    }
View Full Code Here


            site = new FeatureSiteImpl(); // represents whatever is current?
        }

        List<FeaturePanelTabDescriptor> result = new ArrayList<FeaturePanelTabDescriptor>();
        for( FeaturePanelTabDescriptor descriptor : descriptors ) {
            FeaturePanelEntry entry = descriptor.getEntry();
            if (entry == null) {
                continue; // that is wrong!
            }
            if (entry.isMatch(schema)) {
                result.add(descriptor);
            } else if (entry.isChecked(site)) {
                result.add(descriptor);
            }
        }
        if (result.size() == 0) {
            return EMPTY_DESCRIPTOR_ARRAY;
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.ui.feature.FeaturePanelEntry

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.