setTargetEditPart( editPart ); boolean validateCurr = handleValidatePalette( getFactory( ).getObjectType( ), getTargetEditPart( ) ); if ( !validateCurr ) {  setTargetEditPart( editPart.getParent( ) );
	public void performCreation( EditPart editPart )	{		if ( editPart == null )			return;		setTargetEditPart( editPart );		boolean validateCurr = handleValidatePalette( getFactory( ).getObjectType( ),				getTargetEditPart( ) );		if ( !validateCurr )		{			// Validates the parent part			setTargetEditPart( editPart.getParent( ) );		}		if ( validateCurr				|| handleValidatePalette( getFactory( ).getObjectType( ),						getTargetEditPart( ) ) )		{			// Sets the insertion point			IFigure figure = ( (GraphicalEditPart) editPart ).getFigure( );			Rectangle rect = figure.getBounds( ).getCopy( );			figure.translateToAbsolute( rect );			Point point = rect.getRight( );			point.performTranslate( 1, 1 );			getCreateRequest( ).setLocation( point );			setCurrentCommand( getCommand( ) );			performCreation( MOUSE_BUTTON1 );		}		eraseTargetFeedback( );	}