Examples of EditActionContribution


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