Title: AW: (ROSE) Customise Visual Basic Template in Rose to generate more presetcode.

I haven�t read the articles, but "patterns" in the java-version are the pattern written in "Design Pattern" by Gammy et al.


Mit freundlichen Gr��en
Jan Mat�rne

RZF NRW
Sachgebiet 314-P Software-Entwicklungs-Methoden
Fiscus AFG NW 42 SoftwareEntwicklungsUmgebung
Internet:       [EMAIL PROTECTED]


    -----Urspr�ngliche Nachricht-----
    Von:    Danijel Arsenovski [SMTP:[EMAIL PROTECTED]]
    Gesendet am:    Mittwoch, 4. Juli 2001 21:52
    An:     [EMAIL PROTECTED]
    Betreff:        (ROSE) FW: R�p. : (ROSE) Customise Visual Basic Template in Rose to generate more presetcode.


    Hi Jean!
     
    The article is most informative, thanks!
    Do you know if I can write Java templates? I have seen that Rose 2001A
    brings patterns for Java, but I am not shure how does that compare  to
    templates...
     
    Thanks,
     
    Dan

    -----Original Message-----
    From: Jean-Yves Garneau [mailto:[EMAIL PROTECTED]]
    Sent: Wednesday, July 04, 2001 7:12 AM
    To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
    Subject: R�p. : (ROSE) Customise Visual Basic Template in Rose to
    generate more presetcode.


    Hello Pascal,
     
       You can find a white paper from Rational : "VB and VC++ Templates in
    Rose2000e and Rose2001". I have try with VC++ and it's work.
     
     
     
    Jean-Yves Garneau
    Analyste-programmeur
    Centre de Recherche Industrielle du Qu�bec
    T�l.: (418) 659-1550 Poste 2903


    >>> "Pascal Lamothe" <[EMAIL PROTECTED]> 07/03 10:25 am >>>




    Hi everybody,

    I want to know if it's possible to customise visual basic template,
    because I
    try and it doesn't work.  See my test below :

    Template name : errorhandlingexit.rvb

    Original content :

        Exit <%=MethodType(ThisItem)%>
    ErrorHandler:
        Call RaiseError(MyUnhandledError, "<%=ThisItem.Name & " " &
    MethodType(ThisItem)%>")

    New Content :

        Exit <%=MethodType(ThisItem)%>
    ErrorHandler:
       'Error log into the event log of windows
        LogError(Err.Number, "<%=ThisItem.Name & " " &
    MethodType(ThisItem)%> in
    Class" & CLASSNAME, Err.Description)
       'Error display to the user
        Call RaiseError(MyUnhandledError, "<%=ThisItem.Name & " " &
    MethodType(ThisItem)%>")

    I try with operation propreties for VB (in model propreties) but I can
    used
    variable like :
       <%=MethodType(ThisItem)%>
       <%=ThisItem.Name & " " & MethodType(ThisItem)%>
    and it's very important

    Pascal Lamothe
    System Analyst


    ************************************************************************
    * Rose Forum is a public venue for ideas and discussions.
    * For technical support, visit http://www.rational.com/support
    <http://www.rational.com/support>
    *
    * Admin.Subscription Requests: [EMAIL PROTECTED]
    * Archive of messages:
    http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
    <http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl>
    * Other Requests: [EMAIL PROTECTED]
    *
    * To unsubscribe from the list, please send email
    *
    * To: [EMAIL PROTECTED]
    * Subject:<BLANK>
    * Body: unsubscribe rose_forum
    *
    ************************************************************************
    *



    ************************************************************************
    * Rose Forum is a public venue for ideas and discussions.
    * For technical support, visit http://www.rational.com/support
    *
    * Admin.Subscription Requests: [EMAIL PROTECTED]
    * Archive of messages: http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
    * Other Requests: [EMAIL PROTECTED]
    *
    * To unsubscribe from the list, please send email
    *
    * To: [EMAIL PROTECTED]
    * Subject:<BLANK>
    * Body: unsubscribe rose_forum
    *
    *************************************************************************

Reply via email to