rasterMapSetButton = new Button(settoGroup, SWT.NONE);
rasterMapSetButton.setText("set region to raster map");
rasterMapSetButton.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_HORIZONTAL));
rasterMapSetButton.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter(){
public void widgetSelected( org.eclipse.swt.events.SelectionEvent e ) {
JGRasterChooserDialog tree = new JGRasterChooserDialog(null);
tree.open(settoGroup.getShell(), SWT.SINGLE);
update(tree.getSelectedResources());
}
});
featuresMapSetButton = new Button(settoGroup, SWT.NONE);
featuresMapSetButton.setText("set region to vector map");
featuresMapSetButton.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_HORIZONTAL));
featuresMapSetButton.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter(){
public void widgetSelected( org.eclipse.swt.events.SelectionEvent e ) {
FeatureChooserDialog tree = new FeatureChooserDialog();
tree.open(settoGroup.getShell(), SWT.SINGLE);
update(tree.getSelectedResources());
}
});
resetToActiveButton = new Button(settoGroup, SWT.NONE);
resetToActiveButton.setText("reset back to actual region");
resetToActiveButton.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_HORIZONTAL));