getViewer( ).select( (EditPart) editpart );
if(! (editpart instanceof EmptyEditPart)) { getViewer( ).select( (EditPart) editpart ); }
	public void propertyChange( final PropertyChangeEvent evt )	{		if ( evt.getPropertyName( ).equals( LibraryHandleAdapter.CURRENTMODEL ) )		{			refresh( );			Display.getCurrent( ).asyncExec( new Runnable( ) {				public void run( )				{					Object model = evt.getNewValue( );					Object editpart = getViewer( ).getEditPartRegistry( )							.get( model );					if ( editpart instanceof EditPart )					{						getViewer( ).flush( );						getViewer( ).select( (EditPart) editpart );					}					if ( editpart != null )					{						getViewer( ).reveal( (EditPart) editpart );					}					// final List mediatorSelection =					// SessionHandleAdapter.getInstance( )					// .getMediator( ).getCurrentState( )					// .getSelectionObject( );					// if ( mediatorSelection.size( ) == 1					// && mediatorSelection.get( 0 ) instanceof LibraryHandle )					// {					// return;					// }					// List list =getChildren( );					//					// EditPartViewer viewer = getViewer( );					// if ( viewer instanceof DeferredGraphicalViewer )					// {					// ( (DeferredGraphicalViewer) viewer ).setSelection(					// new StructuredSelection( list ), false );					// }					// // getViewer().setSelection(new					// StructuredSelection(list));				}			} );		}	}