Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dsdp-dd-dev] Always getting children of an expression

Marc Khouzam wrote:
Hi,

I was wondering if there is a reason why the VariableLayoutNode (and possibly others), requests the children of an _expression_ (IExpressions.getSubExpresions()) even though
the user has not expanded the _expression_ yet (efeectively not having requested the children)?  Could it be because we need to know if it has children, so as to know if the
_expression_ is expandable?   If that is the only reason, then we should probably use the new IExpressions.getSubExpressionCount() instead;  this would avoid going to the back-end to list all
children of an _expression_, when they may never be requested by the user.
This is the reason, and it would definitely be more efficient to use getSubExpressionCount().  Please file a bug for this against DSF.
Thanks
Pawel
 
Is there another reason for this?
 
Thanks
 
 

 

Marc Khouzam
Software Designer, Methods and Tools

 

Ericsson Canada Inc

EMC/Q
8500 Decarie Blvd.
H4P 2N2, Mont-Royal, Qc, Canada
www.ericsson.com

Office: +514 345 7900 x42350
Fax: +514 345 6159
Mobile: +514 951 7191
Email: Marc.Khouzam@xxxxxxxxxxxx



Ce courriel est confidentiel et uniquement destiné à son ou ses destinataires. Il est défendu de le consulter, de l'utiliser, de le dévoiler ou de le diffuser sans autorisation. Si ce message vous est parvenu par erreur, merci d'en aviser l'expéditeur par retour de courrier et de le détruire sans le divulguer.  Un courriel et ses pièces jointes peut être sans autorisation corrompu, interrompu, amendé, altéré et infecté. L'entreprise ne reçoit et n'envoie de courriel qu'avec l'entente qu'elle n'est responsable d'aucune corruption, interception, modification, altération, infection ou conséquence possible.

This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.  E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.

 

_______________________________________________ dsdp-dd-dev mailing list dsdp-dd-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dsdp-dd-dev


Back to the top