Package org.locationtech.udig.catalog.ui

Examples of org.locationtech.udig.catalog.ui.ResolveTitlesDecorator$DisplayUpdater


    }

    @Override
    protected IBaseLabelProvider createLabelProvider() {
        ResolveLabelProviderSimple base = new ResolveLabelProviderSimple();
        return new DecoratingLabelProvider(base, new ResolveTitlesDecorator(base));
    }
View Full Code Here


    public class ExportResourceLabelProvider implements ITableLabelProvider{

        private DecoratingLabelProvider wrapped;

        public ExportResourceLabelProvider() {
            ResolveTitlesDecorator titleDecorator = new ResolveTitlesDecorator(new ResolveLabelProviderSimple());
            wrapped = new DecoratingLabelProvider(titleDecorator.getSource(),
                    titleDecorator);
        }
View Full Code Here

     *
     * @return LabelProvider for use with the viewer
     */
    protected IBaseLabelProvider createLabelProvider() {
        ResolveLabelProviderSimple base = new ResolveLabelProviderSimple();
        return new DecoratingLabelProvider(base, new ResolveTitlesDecorator(base));
    }
View Full Code Here

        });
        viewer.addCheckStateListener(new ResourceSelectionPageCheckStateListener());
        viewer.setContentProvider(new ServiceTreeProvider());

        titleDecorator = new ResolveTitlesDecorator(new ResolveLabelProviderSimple(), true);
        LabelProvider labelProvider = new DecoratingLabelProvider(titleDecorator.getSource(),
                titleDecorator);

        viewer.setLabelProvider(labelProvider);
        viewer.setAutoExpandLevel(3);
View Full Code Here

        gridData.widthHint = SWT.DEFAULT;
        gridData.verticalSpan = 4;
        tree.setLayoutData(gridData);
        viewer.setContentProvider(new MapGraphicTreeContentProvider());
        ResolveLabelProviderSimple resolveLabelProviderSimple = new ResolveLabelProviderSimple();
        ResolveTitlesDecorator resolveTitlesDecorator = new ResolveTitlesDecorator(
                resolveLabelProviderSimple, true);
        viewer.setLabelProvider(new DecoratingLabelProvider(resolveLabelProviderSimple,
                resolveTitlesDecorator));
        viewer.setInput(getMapGraphicService());
        viewer.addPostSelectionChangedListener(new ISelectionChangedListener(){
View Full Code Here

TOP

Related Classes of org.locationtech.udig.catalog.ui.ResolveTitlesDecorator$DisplayUpdater

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.