Package org.locationtech.udig.ui.filter

Examples of org.locationtech.udig.ui.filter.FilterViewer


        label = new Label(parent, SWT.SINGLE );
        label.setText("Manual Filter");
        label.setLayoutData("cell 0 1,aligny top, gapx 0 unrelated"); // unrelated spacing after to leave room for label decoration
       
        ControlDecoration decoration = new ControlDecoration(label, SWT.RIGHT | SWT.TOP );
        filterViewer = new FilterViewer(parent, SWT.MULTI );
        filterViewer.getControl().setLayoutData("cell 1 1,grow,width 200:100%:100%,height 60:100%:100%");
       
        FilterInput input = new FilterInput();
        input.setFeedback( decoration );
        filterViewer.setInput(input);
View Full Code Here


        Label label = new Label(page, SWT.SINGLE );
        label.setText("Data Filter");
        label.setLayoutData("cell 0 0,aligny top, gapx 0 unrelated"); // unrelated spacing after to leave room for label decoration

        ControlDecoration decoration = new ControlDecoration(label, SWT.RIGHT | SWT.TOP );
        filter = new FilterViewer(page, SWT.MULTI );
        filter.getControl().setLayoutData("cell 1 0,grow,width 200:100%:100%,height 60:100%:100%");
       
        FilterInput input = new FilterInput();
        input.setFeedback(decoration);
        input.setRequired(false);
View Full Code Here

TOP

Related Classes of org.locationtech.udig.ui.filter.FilterViewer

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.