facebook

Generate UML2 Sequence Diagram

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #343567 Reply

    djaquay
    Member

    I’m right-clicking on a class name, and selecting MyEclipse, Generate UML2 Sequence Diagram…

    The dialog comes up, but nothing happens when I click on either Finish or Browse (when trying to look for an existing model). I’m using My Eclipse 10.7.1 Blue.

    Any ideas?

    Dave

    #343605 Reply

    support-swapna
    Moderator

    Dave,

    Sorry that you are seeing this issue. I see no issues generating the UML sequence diagrams at my end.

    Can you please answer some more questions for us?

    1. What kind of a project is it? Is it a web project or a java project? Can you please create a simple web project and see if the issue persists ?

    2. Switch to a new workspace, replicate the issue and copy paste the entire contents of the .log file here for us to take a look.

    3. If possible please prepare a sample project which exhibits the issue and send it to help us replicate the issue at our end, along with a screenshot of the issue.

    4. Also share the OS details and version.

    #343648 Reply

    djaquay
    Member

    The project icon shows both the web “globe” and Java “J”.

    I created a simple web project and it worked fine. I also created a simple Java project, and it worked fine there as well.

    I’m on Windows 7 Professional, MyEclipse Blue 10.7.1.

    Dave

    #343680 Reply

    support-swapna
    Moderator

    Dave,

    From your description of the project icon, it looks like you are working with a Dynamic Web Project. I do not see any issue generating UML sequence diagram on a dynamic web project.

    Can you please send us the project along with the .log contents to help us replicate the issue at our end and investigate further? You can strip the project of its source code if you have reservations sharing the source code with us and send us all the .* files (.project,.class etc).

    #343688 Reply

    djaquay
    Member

    Where would I find this .log file?

    Not sure I’d get permission to send up much of my project files, but before I even try, had a couple of questions (based on the test files that I did get working).

    Does the Sequence Diagram generation just generate everything for the selected class? Is there a way to pick and choose a code path that you want to generate (or do you just gen the whole class and remove what you don’t want)?

    In my case, I’ve got a few select paths through the code (across maybe half a dozen classes) that I’d like to document, and I was hoping for a tool that would let me quickly select what classes, methods and calls got diagrammed, and perhaps keep the diagrams up to date as I refactored. Am I correct that this isn’t exactly what the MyEclipse tool is setup to do?

    Thanks,
    Dave

    #343736 Reply

    support-swapna
    Moderator

    Dave,

    The .log file is located at <workspace dir>/.metadata/.log.
    I am afraid our UML2 functionality will generate everything in the selected class and you cannot choose specific code path in the class.

    Here is the tutorial for UML2 in MyEclipse :
    http://docs.myeclipseide.com/index.jsp?topic=%2Fcom.genuitec.myeclipse.uml.doc%2Fhtml%2Fquickstarts%2Fuml2%2Findex.html&cp=1_17_1

    #343755 Reply

    djaquay
    Member

    Ok, I did get a little bit further, getting a diagram to generate off of one of my classes. I’ve attached my .log, which shows a stack trace. Unfortunately, I don’t think this tool is quite what we’re looking for, so I won’t be taking this any further.

    Thanks for your help.

    Dave

    Attachments:
    You must be logged in to view attached files.
    #343817 Reply

    support-swapna
    Moderator

    Dave,

    I have escalated it to a dev team member. They will get back to you.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Generate UML2 Sequence Diagram

You must be logged in to post in the forum log in