Linking classes on a Sequence diagram using Rational Software Architect












0















I am using Rational Software Architect to have a play at class diagrams and sequence diagrams. I created a class diagram with a number of classes. I then created a sequence diagram and tried create an operation/message between the classes.



I find that in some cases i cant create a link (message/operation) between some classes. I dont know why this is the case.



Are there some rules i should be aware of before i am able to link the classes on the sequence diagram?



Usually what happens is i click on the calling class, drag the mouse to the "Service" class to denote a method call. The problem though is that mouse shows a 'disabled' icon (similar to the no parking sign) so i cant link the two classes.










share|improve this question





























    0















    I am using Rational Software Architect to have a play at class diagrams and sequence diagrams. I created a class diagram with a number of classes. I then created a sequence diagram and tried create an operation/message between the classes.



    I find that in some cases i cant create a link (message/operation) between some classes. I dont know why this is the case.



    Are there some rules i should be aware of before i am able to link the classes on the sequence diagram?



    Usually what happens is i click on the calling class, drag the mouse to the "Service" class to denote a method call. The problem though is that mouse shows a 'disabled' icon (similar to the no parking sign) so i cant link the two classes.










    share|improve this question



























      0












      0








      0








      I am using Rational Software Architect to have a play at class diagrams and sequence diagrams. I created a class diagram with a number of classes. I then created a sequence diagram and tried create an operation/message between the classes.



      I find that in some cases i cant create a link (message/operation) between some classes. I dont know why this is the case.



      Are there some rules i should be aware of before i am able to link the classes on the sequence diagram?



      Usually what happens is i click on the calling class, drag the mouse to the "Service" class to denote a method call. The problem though is that mouse shows a 'disabled' icon (similar to the no parking sign) so i cant link the two classes.










      share|improve this question
















      I am using Rational Software Architect to have a play at class diagrams and sequence diagrams. I created a class diagram with a number of classes. I then created a sequence diagram and tried create an operation/message between the classes.



      I find that in some cases i cant create a link (message/operation) between some classes. I dont know why this is the case.



      Are there some rules i should be aware of before i am able to link the classes on the sequence diagram?



      Usually what happens is i click on the calling class, drag the mouse to the "Service" class to denote a method call. The problem though is that mouse shows a 'disabled' icon (similar to the no parking sign) so i cant link the two classes.







      class uml sequence-diagram






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 22 '18 at 14:06









      Sneftel

      23.7k64278




      23.7k64278










      asked Mar 31 '12 at 18:58









      ziggyziggy

      7,43955164256




      7,43955164256
























          1 Answer
          1






          active

          oldest

          votes


















          1














          If you are using "combined fragments" in sequence diagrams it is necessary that the classes that are involved in the message (method call) are part of the same "fragment". If this is the case you can include new classes to one combined fragment by right-clicking on it and selecting "Covered Lifelines" -> "Add Covered Lifeline" on the context menu.






          share|improve this answer

























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f9958754%2flinking-classes-on-a-sequence-diagram-using-rational-software-architect%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            If you are using "combined fragments" in sequence diagrams it is necessary that the classes that are involved in the message (method call) are part of the same "fragment". If this is the case you can include new classes to one combined fragment by right-clicking on it and selecting "Covered Lifelines" -> "Add Covered Lifeline" on the context menu.






            share|improve this answer






























              1














              If you are using "combined fragments" in sequence diagrams it is necessary that the classes that are involved in the message (method call) are part of the same "fragment". If this is the case you can include new classes to one combined fragment by right-clicking on it and selecting "Covered Lifelines" -> "Add Covered Lifeline" on the context menu.






              share|improve this answer




























                1












                1








                1







                If you are using "combined fragments" in sequence diagrams it is necessary that the classes that are involved in the message (method call) are part of the same "fragment". If this is the case you can include new classes to one combined fragment by right-clicking on it and selecting "Covered Lifelines" -> "Add Covered Lifeline" on the context menu.






                share|improve this answer















                If you are using "combined fragments" in sequence diagrams it is necessary that the classes that are involved in the message (method call) are part of the same "fragment". If this is the case you can include new classes to one combined fragment by right-clicking on it and selecting "Covered Lifelines" -> "Add Covered Lifeline" on the context menu.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Oct 6 '12 at 1:21









                Andrew Barber

                33.6k1476107




                33.6k1476107










                answered Oct 3 '12 at 18:37









                BrunoBruno

                111




                111






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f9958754%2flinking-classes-on-a-sequence-diagram-using-rational-software-architect%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    404 Error Contact Form 7 ajax form submitting

                    How to know if a Active Directory user can login interactively

                    TypeError: fit_transform() missing 1 required positional argument: 'X'