Package org.locationtech.udig.project.ui

Examples of org.locationtech.udig.project.ui.SelectionStyle


        selectionCombo.setData(3 + "", SelectionStyle.IGNORE); //$NON-NLS-1$
        selectionCombo.select(0);

        String selection = getWizard().getDialogSettings().get(ExportMapToImageWizard.SELECTION);
        if (selection != null) {
            SelectionStyle saved = SelectionStyle.valueOf(selection);
            for( int i = 0; i < 4; i++ ) {
                if (selectionCombo.getData(i + "") == saved) { //$NON-NLS-1$
                    selectionCombo.select(i);
                    break;
                }
View Full Code Here


        scaleLabel.setText(label);
        scaleLabel.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false));
    }

    public SelectionStyle getSelectionHandling() {
        SelectionStyle value = (SelectionStyle) selectionCombo.getData(selectionCombo
                .getSelectionIndex()
                + ""); //$NON-NLS-1$
        getWizard().getDialogSettings().put(ExportMapToImageWizard.SELECTION, value.name());
        return value;
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.ui.SelectionStyle

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.