Request request = new Request(RequestConstants.REQ_OPEN); ( (EditPart) editpart ).performRequest( request );
Request request = new Request(ReportRequest.CREATE_ELEMENT); if ( ( (EditPart) editpart ).understandsRequest( request ) ) { ( (EditPart) editpart ).performRequest( request ); }
	public void propertyChange( final PropertyChangeEvent evt )	{		if ( LibraryHandleAdapter.CURRENTMODEL.equals(evt.getPropertyName( )  ) 				|| LibraryHandleAdapter.CREATE_ELEMENT.equals(evt.getPropertyName( )))		{			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( );						if ( !( editpart instanceof EmptyEditPart ) )						{							getViewer( ).select( (EditPart) editpart );						}					}					if ( editpart != null )					{						getViewer( ).reveal( (EditPart) editpart );												if (LibraryHandleAdapter.CREATE_ELEMENT.equals(evt.getPropertyName( )))						{							Request request = new Request(RequestConstants.REQ_OPEN);							( (EditPart) editpart ).performRequest( request );						}					}									}			} );		}	}