information.setColor( builder.getRGB( ) );
information.setColor( selectedColor );
				public void widgetSelected( SelectionEvent e )				{					if ( ( (Button) e.widget ).getSelection( ) )					{						SessionHandleAdapter.getInstance( )								.getCommandStack( )								.startTrans( Messages.getString( "BordersPage.Trans.SelectBorder" ) );						BorderInfomation information = new BorderInfomation( );						information.setPosition( provider.getPosition( ) );						information.setColor( builder.getRGB( ) );						information.setStyle( (String) styleCombo.getSelectedItem( ) );						information.setWidth( (String) widthCombo.getSelectedItem( ) );						previewCanvas.setBorderInfomation( information );						restoreInfo = information;						try						{							provider.save( information );						}						catch ( Exception e1 )						{							ExceptionHandler.handle( e1 );						}						checkToggleButtons( );						SessionHandleAdapter.getInstance( )								.getCommandStack( )								.commit( );					}					else					{						BorderInfomation oldInfo = (BorderInfomation) provider.load( );						RGB oldColor = oldInfo.getColor( );						if ( oldColor == null )						{							oldColor = autoColor;						}						if ( !( oldInfo.getStyle( ).equals( (String) styleCombo.getSelectedItem( ) ) )								|| !( oldColor.equals( builder.getRGB( ) ) )								|| !( oldInfo.getWidth( ).equals( (String) widthCombo.getSelectedItem( ) ) ) )						{							SessionHandleAdapter.getInstance( )									.getCommandStack( )									.startTrans( Messages.getString( "BordersPage.Trans.SelectBorder" ) );							BorderInfomation information = new BorderInfomation( );							information.setPosition( provider.getPosition( ) );							information.setColor( builder.getRGB( ) );							information.setStyle( (String) styleCombo.getSelectedItem( ) );							information.setWidth( (String) widthCombo.getSelectedItem( ) );							previewCanvas.setBorderInfomation( information );							restoreInfo = information;							try							{								provider.save( information );							}							catch ( Exception e1 )							{								ExceptionHandler.handle( e1 );							}							( (Button) e.widget ).setSelection( true );							SessionHandleAdapter.getInstance( )									.getCommandStack( )									.commit( );						}						else						{							SessionHandleAdapter.getInstance( )									.getCommandStack( )									.startTrans( Messages.getString( "BordersPage.Trans.UnSelectBorder" ) );							previewCanvas.removeBorderInfomation( provider.getPosition( ) );							if ( allButton.getSelection( ) )								allButton.setSelection( false );							try							{								provider.reset( );							}							catch ( Exception e1 )							{								ExceptionHandler.handle( e1 );							}							SessionHandleAdapter.getInstance( )									.getCommandStack( )									.commit( );						}					}					previewCanvas.redraw( );				}