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

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


     *
     * @return
     */
    public FeaturePanelProcessor getFeaturePanelProcessor() {
        if (featurePanelProcessor == null){
            featurePanelProcessor = new FeaturePanelProcessor();
        }
        return featurePanelProcessor;
    }
View Full Code Here


    protected FeaturePanelRegistry( FeatureType schema ) {
        // this.contributor = contributor;
        // this.schema = contributor.getSchema();
        this.schema = schema;

        FeaturePanelProcessor featurePanelProcessor = ProjectUIPlugin.getDefault()
                .getFeaturePanelProcessor();
        labelProvider = null; // new TabLabelProvider();

        List<FeaturePanelEntry> list = featurePanelProcessor.search(schema);
        for( FeaturePanelEntry entry : list ) {
            ILabelProvider titleProivder = entry.getLabelProvider();
            if (titleProivder != null) {
                labelProvider = new TabLabelProvider(titleProivder);
                break;
View Full Code Here

     * Reads property tab extensions. Returns all tab descriptors for the current schema or an empty
     * list if none is found.
     */
    protected List<FeaturePanelTabDescriptor> readTabDescriptors() {
        List<FeaturePanelTabDescriptor> result = new ArrayList<FeaturePanelTabDescriptor>();
        FeaturePanelProcessor featurePanelProcessor = ProjectUIPlugin.getDefault()
                .getFeaturePanelProcessor();

        List<FeaturePanelEntry> list = featurePanelProcessor.entries();
        if (list.isEmpty()) {
            return result; // empty!
        }
        for( FeaturePanelEntry entry : list ) {
            FeaturePanelTabDescriptor descriptor = new FeaturePanelTabDescriptor(entry);
View Full Code Here

TOP

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

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.