Locked Method Parameters in Diagram?

  • Wednesday, May 11, 2005 12:55 PM
     
     
    How do I display the method parameters in the diagram? I can only see the return types.

All Replies

  • Wednesday, May 11, 2005 1:14 PM
     
     
    Hi,

    in UML you see the parameters in the Parantheses.

    +myMethod(strin param1, string param2):void
  • Wednesday, May 11, 2005 2:20 PM
     
     
    In my diagram, I only see:

    +myMethod() : void

    even if the signature is

    public void myMethod(string args);

    Is there an option to enable method params that isn't obvious? I clearly see params in the Class Details pane, but not in the diagram.

    Thanks,
    Mark
  • Wednesday, May 11, 2005 2:32 PM
    Moderator
     
     Answered

    Unfortunetely, there is no option in version release of Class Designer to display member parameters on the diagrams. As Mark mentioned, you can see parameter information in the Class Details Window and in tooltips on diagram elements.

    This is one of the top requests though.

    Regards

  • Wednesday, May 11, 2005 2:59 PM
    Moderator
     
     
    As Dmitriy mentions this is one of the top requests.  We are looking into this issue.  Stay tuned.  No promises though as it is very late in the shipping cycle.

    Ramesh Rajagopal.
    Class Designer Team.
  • Wednesday, May 11, 2005 6:04 PM
     
     
    This really is critical for feature parity with products such as Rational Rose, XDE, and even your own Visio product.

    Just this morning I brought a class diagram into a meeting and they threw fruit and vegetables at me for not having params in my UML Big Smile
  • Wednesday, May 18, 2005 4:39 PM
    Moderator
     
     
    Folks,

    Good news!  We have been able to address the issue of not showing parameter info on the diagram.  In the RTM release, Class Designer will have 3 modes - Name only, Name and Type and Full Signature.  The last one will display the parameter info.

    Mark, sorry that you had to encounter fruit and vegetables at your meeting!

    Ramesh Rajagopal.
    Class Designer Team.
  • Thursday, June 16, 2005 6:51 PM
    Moderator
     
     

    If you want a preview of this feature, you can download June CTP and try it out.  Of course, it comes with the usual caveats of a CTP.  See

    http://blogs.msdn.com/robcaron/archive/2005/06/15/429278.aspx


    for more details.

    Ramesh.



  • Thursday, July 14, 2005 10:48 PM
     
     
    I been using it, it's great. thanks for the work in squeezing it in.