}
public void applyCoordinateReferenceSystem( CoordinateReferenceSystem crs ) {
UndoableComposite commands=new UndoableComposite();
List<MapCommand> commandList = commands.getCommands();
commandList.add(new SetLayerCRSCommand(layer, crs));
if( layer.getCRS()==ILayer.UNKNOWN_CRS &&
layer.getMap().getViewportModel().getCRS().equals(ILayer.UNKNOWN_CRS) ){
IPreferenceStore store=ProjectUIPlugin.getDefault().getPreferenceStore();
store.setDefault(SHOW_DIALOG_KEY, true);
boolean openDialog=store.getBoolean(SHOW_DIALOG_KEY);