Package org.locationtech.udig.project.ui.internal.FeatureEditorExtensionProcessor

Examples of org.locationtech.udig.project.ui.internal.FeatureEditorExtensionProcessor.EditActionContribution


                }
            }
        };
        contribution.setId(id);
        contribution.setImageDescriptor(icon);
        EditActionContribution selected = this.processor.selectedEditors.get(feature
                .getFeatureType());
        if (selected == null) {
            selected = processor.createEditAction(processor.getClosestMatch(selection), selection,
                    feature);
        } else {
            selected.setSelection(selection);
        }
        if (selected != null && selected.getId().equals(id))
            contribution.setChecked(true);
        else
            contribution.setChecked(false);

        return contribution;
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.ui.internal.FeatureEditorExtensionProcessor.EditActionContribution

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.