Package org.locationtech.udig.catalog.jgrass.core

Examples of org.locationtech.udig.catalog.jgrass.core.ChooseCoordinateReferenceSystemDialog.open()


        final Button crsButton = new Button(crsGroup, SWT.BORDER);
        crsButton.setText(" Choose CRS ");
        crsButton.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter(){
            public void widgetSelected( org.eclipse.swt.events.SelectionEvent e ) {
                final ChooseCoordinateReferenceSystemDialog crsChooser = new ChooseCoordinateReferenceSystemDialog();
                crsChooser.open(new Shell(Display.getDefault()));
                CoordinateReferenceSystem crs = crsChooser.getCrs();
                if (crs == null)
                    return;
                crsText.setText(crs.getName().toString());
                readCrs = crs;
View Full Code Here


                            final Button crsButton = new Button(crsGroup, SWT.BORDER);
                            crsButton.setText(" Choose CRS ");
                            crsButton.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter(){
                                public void widgetSelected( org.eclipse.swt.events.SelectionEvent e ) {
                                    final ChooseCoordinateReferenceSystemDialog crsChooser = new ChooseCoordinateReferenceSystemDialog();
                                    crsChooser.open(new Shell(Display.getDefault()));
                                    CoordinateReferenceSystem readCrs = crsChooser.getCrs();
                                    if (readCrs == null)
                                        return;
                                    crsText.setText(readCrs.getName().toString());
                                    crsText.setData(readCrs);
View Full Code Here

        final Button crsButton = new Button(crsGroup, SWT.BORDER);
        crsButton.setText(" Choose CRS ");
        crsButton.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter(){
            public void widgetSelected( org.eclipse.swt.events.SelectionEvent e ) {
                final ChooseCoordinateReferenceSystemDialog crsChooser = new ChooseCoordinateReferenceSystemDialog();
                crsChooser.open(new Shell(Display.getDefault()));
                CoordinateReferenceSystem readCrs = crsChooser.getCrs();
                if (readCrs == null)
                    return;
                properties.crs = readCrs;
                crsText.setText(readCrs.getName().toString());
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.