Message order in Papyrus sequence diagram xmi file

Dear all,
I would like to ask you if you could help me by explaining me how message ordering information of Papyrus sequence diagrams is represented in the corresponding xmi files.
For each lifeline, I would assume that the order of messages is shown in the xmi file in the coveredBy attribute of the respective lifeline element.
If yes, I have observed that the order there is not shown correctly. Adding a message seems to be always appended at the end of the messages list, instead of being inserted inbetween its neighbouring messages.
If no, then how can I get from the xmi file the message order for a single lifeline?
I am using just two simple lifelines exchanging messages, without any combined fragments or complex notation. My Eclipse version is Luna, and I just downloaded the Papyrus 1.1.0 version, the one that Mars uses.
Thank you a lot in advance. Any information you could provide me regarding this issue would be extremely useful.
Best regards,
Alkis

Since I haven't still got any answer, let me rephrase the question and make it more general:
Do Papyrus sequence diagrams store message order information?
As far as I have understood, they should, but I believe that it is a Papyrus bug that, when creating a new message, order of MessageOccurrenceSpecification fragments in XMI file is most frequently not respected. The same can be seen from the MessageOccurrenceSpecification fragments in the Model Explorer for the respective interaction in Papyrus IDE, order of them frequently seems random.
Another thing which I strongly believe is a bug is that, when creating a new combined fragment sometimes the lifeline information of message events in the XMI file gets lost (attribute 'coveredBy' of each lifeline, and attribute 'covered' of each MessageOccurenceSpecification fragment get blank).
In any case, I would be really grateful if someone could answer my initial question so that I know that these assumptions are correct, find a way to temporarily circumvent the problem and file a bug report about that.
Best regards,
Alkis

Similar Messages

  • How to create Sequence Diagrams in Jdev 10.1.3?

    Hi there,
    I´m migrating (trying) from Eclipse to JDeveloper and I´m having several dificulties....
    I´m creating a new project in JDeveloper:
    0) create an application workspace [ok]
    1) create a web application project [ok]
    2) create some packages and Java classes [ok]
    3) create a class diagram related to the
    above classes [ok]
    4) create a sequence diagram [ok]
    5) use the classes into the sequence
    diagram [more and less]
    6) use the methods of the classes into
    the message lines of the sequence
    diagram [no]
    Some observations that are messing me:
    1) Do I need to create an "Object Lifetime" for
    every class and after that select "Attach Classifier" ?? Why I can´t just drag the classes into the diagram (like Jude) ?
    2) Can I use the methods already defined in the classes to create messages in the sequence diagram?
    3) The sequence diagram od JDeveloper is disconnected from the project classes? i.e., is it just a draw ?
    best regards,
    Felipe Gaúcho

    Hi,
    I am glad to find that you are working on the sequence diagram. I take your point about selecting the methods and assigning them to the messages. Unfortunately this feature is gated by some architecture changes and it something I will be actively pursuing as soon as it is possible.
    In reply to your other points:
    1) Do I need to create an "Object Lifetime" for
    every class and after that select "Attach Classifier" ?? > Why I can´t just drag the classes into the diagram (like > Jude) ?The reason for this is that the sequence modeler is simply a view onto a single diagram type that can contain any object. This allows the mingling of different UML type on the same diagram. It can be usefull to mix usecase and seqeunce for example.
    For that reason the default action for java class is to model a java class, and you do indeed need to create a lifeline first. Did you know you could drag and drop the classifier, in your case a java class, from the navigator onto the lifeline. This might be quicker in your case.
    2) Can I use the methods already defined in the classes > to create messages in the sequence diagram?As noted before in the preview you can't select existing messages. This is something we would like to add as soon as it is possible.
    3) The sequence diagram od JDeveloper is disconnected
    from the project classes? i.e., is it just a draw ?The sequence modeler isn't totally disconnected from the project classes; but it wont update as you edit the code if this is what you mean.
    Could you perhaps expand on this point a little bit?
    Thanks,
    Gerard Davison
    UML Modelers

  • XMI & UML Sequence diagrams

    Hi everybody!
    Does anybody know where I can find some example or tutorial on how to write an XML file (following the XMI specification) representing an UML sequence diagram?
    I mean...I want to be able to write that XMI file in order to give it to a UML tool that can read it and transform it into a UML sequence diagram.
    Thanx
    Lexis

    There's very little hand-authored XMI around, so the only tutorial you're likely to find is:
    - create sequence diagram in UML tool
    - press export to XMI button
    If you're trying to use a specific tool or library, indicate which; if you're trying to work from the XMI specs, indicate which version and which tool you're targetting.
    You may well be best off exporting a few simple sequence diagrams from your tool of choice, then reverse engineering them, as tracing through the XMI -> MOF -> UML specs is both time consuming, and libiable to throw up inconsistancies, semantic variation points and implementation options.
    Pete

  • Message text in sequence diagrams not displaying in editor

    I split a large sequence diagram into smaller parts so that the parts could be included as graphics in a user manual.
    Here is how I split the diagram:
    1) Create the single large diagram. Name the diagram "SD".
    2) This diagram produces an SD_etlp and an SD_etld file.
    2) Copy these two files to different names. Eg SD_etlp_01 and SD_etld_01.
    2) Delete 10 messages from the bottom of the original diagram. Save.
    3) Copy the two files to SD_etlp_02 and SD_etld_02.
    And so on.
    So the diagram editor only sees the original file name. But this file is actually getting smaller and smaller. I can re-edit any of the saved files by changing their name back to the original file name as seen by the diagram editor.
    I produced about 10 smaller sequence diagrams without problem.
    On the latest sequence diagram in the editor, I lost all the message text. Everything else was fine. (I think I shortened the lifelines too much so they encroached on the actual messages. Note that I do not shorten lifelines in the editor, because these changes are not persistent. I edit the lifeline heights in the ETLP file.)
    Losing the message text should not have been a problem. Because I thought that all I had to do was return to one of the earlier diagrams and start again.
    However, on returning to all the previous saved diagrams, all the message text had disappeared from those diagrams as well. (I had already printed out those diagrams, so I haven't lost everything.)
    When I open the ETLD files, I can see all the missing message text for each diagram, for example:
    <name value="public void addNode( String Unnamed, String Unnamed )"/>
    Can anyone tell me how to show these messages on the diagrams?

    When I select "Show Message Numbers" , all text is displayed as "1:"
    If I right-click on an individual message, "Show Message Name" is not checked. If I check it, it says "Unnamed".
    I may have introduced a corruption as follows:
    1) One message text disappeared. This may have been due to the excessive amount of manual dragging on large diagrams (see later).
    2) I right-clicked on the message. Select "Show Message Name".
    3) The text "Unnamed" was displayed.
    ( I now know that "Unnamed" will be displayed for any message, even when message text is displayed :)
    4) I typed "public void logout( )"
    5) This produced the correct text on the diagram.
    Some effects of this were:
    1) In the model, a message was added to the contents of "Messages", named "public void logout()". All the other messages are simply called "Message".
    2) There is an entry in ".QueryCache" file:
    nodeType_="Message" name="public void logout( )" id="DCE.14D184C9-7052-ECFE-D9E9-48CB83B1E357" fullName="public void logout( )"/><Name nodeType_="Lifeline" name="self" id="DCE.37BD6533-F0C0-FDF8-7391-521338CD4F86"
    This is the only cache file entry that relates to messages.
    If I can roll back the changes made by typing "public void logout( )", would that cure the problem?
    1) As well as noticing that the message text is still in the ETLD file, I also see that, for each message:
    <visible value="true"/>
    I have been backing up matched pairs of ETLP and ETLD files which earlier produced good diagrams. If these files later produce a diagram in which the message text is missing, then there must be at least one other file that has been corrupted. Does anyone know what other files I should back up to produce a self-consistent set of files that can be used for recovery?
    By the way, here is the reason that I am spending so much time trying to recover message text rather than simply regenerating the model. The diagram has 250 messages. The horizontal spacing between some objects is equal to 20 times the width of one object. This means that I have a lot of dragging to do. Each manual action increases the risk that some error will be made (and usually is). Even at 5% zoom, the diagram is several screens wide, so messages can be disappearing off-screen without my knowledge. Simply closing up the objects takes two days work, because there are several combined fragments boxes which must be handled very delicately, or message text disappears.

  • Cannot select multiple messages in a sequence diagram

    In sequence diagrams, deleting multiple messages is tedious because multiple messages cannot be selected by using a selection rectangle.
    1) If the rectangle contains a single message, its object is also highlighted. So when multiple messages are selected, the corresponding objects are selected.
    2) If the selection rectangle overlaps a single line of the combined fragments box, the entire box is selected.
    I could same time if Studio used normal CTRL conventions. In other applications, holding down CTRL has two possible results.
    1) If the item to be selected is not highlighted, then that item becomes highlighted and is added to the selection group. Studio does this.
    2) If the item to be selected is already highlighted, then that item becomes non-highlighted and is removed from the selection group. Studio does not do this. So I cannot use a selection rectangle, then selectively use CTRL to remove unwanted items from the selection.
    Can anyone suggest a way of selecting multiple messages?
    As a side issue, does anyone know how to remove individual items from a selection?

    TreySpiva wrote:
    Have you tried using the Shift key when selecting?It's the same problem. Selecting one or more messages also highlights the sending and receiving objects associated with the messages. Pressing DELETE at this point would also delete the objects.

  • Selecting Operations for Messages in Sequence Diagrams

    Is there another way of assigning operations to messages in sequence diagrams apart from selecting the message, right-clicking and then selecting the operation from the list.
    The reason is that I have quite a list of operations and I can't see the last couple in the list.
    Any suggestions? ...Apart from having less operations... :)

    The only way to specify the operation is via the context menu. We have two levels. On is the operation context menu. The second is the context menus that list each operation by visibility. Are you not able to see all of the operations under the visibility context menus as well?

  • I cannot recal pages files get message " Lost xmi file any help me please

    I cannot recall pages files and get message "Lost xmi files any ideas please

    First thing is cease all activity on the computer and usb
    drive that the files were on that your trying to recover. Next use
    a friends PC or get access to the internet and obtain a file
    recovery program such as LSoft they have a nice program called
    Active@ File Recovery Professional that even recovers a lost
    partition and formatted hard drives and usb thumb drives.
    The key is to cease any more activity from the time of
    discovery of the lost file to have the best chances at recovering,
    overwritten, lost and acidentally deleted files. I have used it
    recover a relatives overwritten photos from a digital camera only
    two photos out of 47 were not recovered and this was probably
    because of the computer being used three days even after he
    overwrote the photos with similar file names within the same
    directory.
    I recommend the Professional version for the price to others
    that are out there and because this version recovers lost
    partitions.
    http://www.file-recovery.net/
    The standard is $29.95 professional is $44.95 and is has great
    ratings on www.download.com search for it there.

  • Saving Sequence Diagrams in Sun Java Studio Enterprise 8

    I'm having trouble saving my sequence diagrams! I create the diagrams press ctrl-s, click the Save-All button, when I close and reopen SJSE8 some of my diagrams are missing! When I look in the directory it appears that they have been saved because I have .eltd and .etlp files with the name of the diagram.
    In SJSE8 I still have the entries under Model, but not under Diagrams.
    It appears that the "link" or the "reference" to the file where the diagram has been saved is broken.
    Anybody have any ideas on how to fix this?

    I tried what you said on both Windows 2000 and Windows XP but could not reproduce the issue that you have. Could you please provide more detail like the following see if I can reproduce in order to help you.
    - what UML project type did you create (Platform-Independent Model, Java-Platform Model, etc.)? If Java-Platform Model, did you associate a Java project for code generation?
    - how many sequence diagrams do you have?
    - are the sequence diagrams created inside the package or just under the Model level scoping?
    - do you have other diagrams in the project too? If so, what type and how many of each type?
    - any other info you can provide will help
    Thanks,
    Peter

  • Reducing the width of a sequence diagram

    Does anyone know how to reduce the width of a reverse-engineered sequence diagram?
    Studio sequence diagrams are very wide in relation to their height. This is because horizontal messages are separated by only small amounts, but the vertical lifelines are separated by large amounts, especially if the objects have long names and class names.
    This feature causes problems when trying to export diagrams to A4 landscape pages.
    In other UML editors, I could overcome this problem by arranging the objects as in two rows of "bricks" along the top of the page. The first object would be in a "normal" position. The second object was positioned high enough to partially overlap the first object. The third object was placed in the "normal" position, but partially below the second object. And so on.
    This allowed the width of a sequence diagram to be reduced to almost half of its original width.
    This is not possible in Studio, because:
    1) The objects cannot be moved vertically.
    2) Even if they could be moved vertically, they will not allow themselves to overlap another object. This is because the bounding box of the objects extends right down to the foot of the lifeline. (I don't know if "bounding box" is the correct term. I mean the box with the sizing handles.) When one object is dragged to the left so that it overlaps another object, any objects to the left of the dragged object immediately jumpfurther to the left.
    Another possibility to reduce the width would be to allow the object name and class name to be on two lines. Such as:
    objectName:
    ClassName
    This happens by default in some UML editors.

    petersl wrote:
    Found a better way to duplicate the sequence diagram
    as a workaround for the Save As function.Great suggestion! Thanks!
    Because of the estimated large amount of sequence diagrams that I need to do, your tip will save me hours of work. Even if "Save As" is implemented, it will not be much faster than your method.
    Here is an interesting feature of your suggestion.
    All my experimentation is done using the BankAccount tutorial. I have several "copies" of the same operation. Each copy was produced using "Reverse Engineer Operation" on the class operation in the dependency diagram. I then modified each "copy" beyond all recognition.
    If I now invoke "Create Diagram from Selected Elements" on the sequence diagram interaction node for each copy, each new diagram is the same as the original reverse-engineered diagram :)
    BTW, here is my non-techie solution for copying. No LOL please.
    In the project file location, there are two files for each sequence diagram. For example:
    mainSD_1168604900517.etld
    mainSD_1168604900517.etlp
    These files can be copied. However, they must be copied to file names that are registered by studio.
    1) Copy the two files, using arbitrary file names.
    1) Reverse engineer a new sequence diagram simply to get two more file names.
    2) Rename the two copies to these new file names :)
    3) In the project tree in studio, this would produce duplicate diagram names. So in the ETLP file rename the diagram using the <diagramInfo> tag.
    You might wonder why I go to so much trouble to produce a copy, rather than simply reverse-engineer as many copies as I need. The answer is that on the first sequence diagram, I would like to make changes that persist in every other copy of that diagram, even after messages and lifelines are removed to split the diagram.
    Compared with my method, your method will allow me to take a couple of months off, and still produce the same amount of work :)

  • I want to use my Time Capsule as a central 'hub/hard-drive' in order to keep all my working files in one place. I then plan to use my laptops/desktops as peripheral devices for editing and creation of these files. Is it possible? Create a personal cloud?

    I want to use my Time Capsule as a central 'hub/hard-drive' in order to keep all my working files in one place. I then plan to use my laptops/desktops as peripheral devices for editing and creation of these files. Is it possible? To create a personal cloud?
    Can someone advise as to whether i can do the following:
                                Future Internet connection -------------------TIME CAPSULE (containing all files) -------------- Backed up on the WD 2T Hard-drive I have
                                      (not connected yet)                                         I                                                          (*connected to timecapsule physically)
                                                                                                            I
                    I                                         I                                                I                                                              I                                                I
          Macbook Pro                             iMac                                       HP (PC)                                             OLD Macbook Pro                         iPhone
    (used for remote working)       (Used for home working)     (used for heavy CAD and rendering)    (not being used for anything at the moment)        (& iPods)
    I am looking to have all my files in one place as i am hopelessly disorganised. I know the online clouds are a good solution (used Dropbox at work and uni for 3 years) however i am wanting to create my own 'dropbox/icloud' at home. So whenever i get back home with my laptop, any work i have been working on whilst out that day is updated to the timecapsule, and then ultimately as i turn on the other devices, they update to those newer versions of the files. Please tell me that the 3TB time capsule i have can do this, otherwise it feels rather overpriced as a wireless storage device?
    Another note (to those in the know) If i am to be working on large files (REVIT/SOLIDWORKS/KEYSHOT/CREO/AUTOCAD) - is the timecapsule connection good enough to support editing and updating these files?
    I know i may be asking a question that many have before, but as a bit of a technical novice I wanted a clear-cut answer to my specific circumstances. Your help is greatly appreciated.
    (*can i use this WD hard-drive that is connected to the Time Capsule as a back up? so that the time machine back-ups/any back ups are also backed up onto this one? can the WD be a backup for the TC?)
    Kind Regards
    Joe

    The diagram was supposed to look more like this......
    Internet ---------TIME CAPSULE(containing all files) --------WD 2T Harddrive
                                                I
         I                           I                          I                            I                                   I
    Macbook Pro         iMac                 HP (PC)            OLD Macbook Pro           iPhone
    Sorry!
    Regards
    Joe

  • Why is it that when I try to open a project, it says "the project contained a sequence that could not be opened. No sequence preview preset file or codec could be associated with this sequence type"?

    It could be opened last night but today it just kept showing "the project contained a sequence that could not be opened. No sequence preview preset file or codec could be associated with this sequence type". I really need to access my video.
    Some help out there, please?

    Hi,
    Please check this out : https://forums.adobe.com/message/4626663#4626663#4626663
    Thank You
    Arjun

  • How to handle different message types of EDIFACT in single input file.

    Hi All,
    Currently we have a requirement like we will be receiving the input with different messages in the same input file (eg: ORDERS and ORDRSP in the same file).
    We have configured both the message types in the document definitions. One more thing is the versions of the messages are different.
    When we pass the input we are getting the error.
    The input looks like below,
    UNB
    UNG
    UNH*ORDERS
    UNT
    UNE
    UNG
    UNH*ORDRSP
    UNT
    UNE
    UNZ
    Please assist us to overcome the error.
    Thanks,
    Ravindra.

    Hi Prasanna,
    Thanks for your reply.
    I have created the agreements for both the messages still i'm getting the below error,
    B2B-50037
    B2B inbound message processing error
    If i give the input as separate messages (i mean 2 input files). Its working fine.
    Also let me know is there any configuration settings to handle multiple messages in a single input file.
    Thanks,
    Ravindra.

  • Wrong sort order for rapid sequences of images

    When I have a sequence of shots taken at high speed, i.e. a number of them have the same timestamp, being taken within the same second, I find that LR displays some of them out of order. For instance, I have a sequence of 5 frames all with timestamp 9/4/07 2:17:32pm and the file names show up in this order - 1740, 1742, 1741, 1743, 1744 (these are the file names assigned by the camera)
    The frames show in this order with any of the sort order options selected except, of course, File Name, and in that one instance they display in the correct order.
    Is there a way I can specify in LR that I want to sort in Capture Time order then within that in file name order? This would give me the result I want. The reason I don't want to simply use file name order is that with images from different cameras with differing file naming conventions, or with file names I may have applied, that would not give me correct time sequence as shot. I want to see a whole day's images in correct time sequence regardless of file name.
    If there is not a way to specify this in LR, should I add this to the Feature Request list?

    Capture Time and Import Order do the same thing.
    Additional information - I see the same wrong sequence is presented in the import dialog when I try to import the same photos again (they happen to still be on the card). So, I think it is initially caused by the order that the camera lays down the photos in the file structure on the card, or in the way that Windows reads them off the disk. (I have a Canon EOS 30D, SanDisk CF card, using a card reader rather than plugging the camera to the PC.)
    If I use the import dialog's renaming process (in my test I chose filename - sequence) and apply a sequence number to the images the sequence number ends up wrong. So LR is importing the photos in the wrong order (may not be LR's fault?)
    So, this modifies the definition of the problem and of the feature request. No longer is it simply the sort order displayed in the library; it needs to be addressed at import time as well.
    Here is my attempt to redefine the feature request:
    - when importing images that are taken in rapid sequence (multiple shots within the same second) LR should allow for sorting the images by camera-derived file name to correct out-of-sequence delivery from the card/camera. This sort order, when selected, should re-arrange the preview thumbnails so the photographer can verify the images will be imported in the correct order.

  • Sequence diagram lifeline in Oracle BPA Suite

    I try to create sequence diagram in Oracle Busines Process Architect 11g. I use type of model "UML Sequence diagram". But in palette there is no object with type "Lifeline". How can I add lifelines to my sequence diagram?

    i guess you are clicking on file>new>model , or something like that.
    y dont you first go to designer/explorer , make sure you see the navigator frame, and click on "local" in navigator frame to start the local database first. adn then login to any database to create a model/group.
    In case it does not even happen then, and it still says unable to start the local server, check out the logs in <Oracle BPA Suite>\LocalServer\log directory and check what the error is.

  • Batch sequence to certify files

    Ability to certify documents using the batch processing mode.
    There is a sequence to encrypt files, but not a sequence to certify the files.  The Java Script Example sdkAddSignature.js relies on a software based certificate, not a token based certifficate which is what I have.  The ability to apply security works great, I only wish that I could certify documjents via batch processing.
    I'm using Acrobat 8 pro version 8.16.  I don't think this exists in version 9, if Id does my appologies.

    I have the following Batch JS as below.
    It runs but gives "the green sign" with message "Signed and signatures are valid", but not certified "blue ribbon" sign with message "Certified by ...." which can be done manually with "Certify without visible signature" command in my environment. The batch would be needed.
    I would be really pleased if someone could find what´s wrong!
    /* 01_Certify all */
    // Choose handler
    var ppklite = security.getHandler("Adobe.PPKLite");
    // Login -- change as appropriate
    ppklite.login("okokok", "/DS/mySign.p12");     // path for macintosh
    // Add a signature field with zero dimensions (invisible)
    var f = this.addField("Signature", "signature", 0, [0,0,0,0]);
    // Sign it and log out. Change as appropriate
    f.signatureSign(ppklite,
    { password: "okokok",
    location: "Town, Country",
    reason: "I am approving this document",
    contactInfo: "[email protected]",
    appearance: "myOwn"});
    // Obtain the signature field:
    var f = this.getField("Signature");
    // Validate the signature field:
    var status = f.signatureValidate();     // can´t find any certify command
    ppklite.logout();
    Thanks in advance!

Maybe you are looking for

  • HP LaserJet 1022 Printing Problems - Please Post Here

    Sorry, I hate to create a new thread, but tracking so many different threads on this one issue is becoming problematic for me. So with that being said, if you are still having a problem with printing to a LaserJet 1022 after the full uninstall I deta

  • HT4145 how to connect the i pod to airport extreme

    I am trying to figure out how to connect to my airport extreme from my ipod- anyone who can give me a stepby step answer? I am not sure which operating system it is... Thanks!

  • Stack Java with Adobe document Service

    Good Mornig, sorry for my English, but I have one question: which file '.rar' should I use to install (and I Can download) Stack Java and Adobe Document Service ? Thank you 1000!!! Francesco.

  • XSLT TRIM Function

    Hi, We are into XSLT mapping, we had a requirement like below; Note: Transformation Between A to B: if value(A) NOT NULL then left(right(rtrim(VALUE),3),2) - > B How can we develop the similar function in XSLT?!! Thanks n Advance., Stallin

  • Oracle workflow consultant (with workflow builder exp)

    May 25 2004 Our client is a major bank in Jamaica and they have a requirement for an Oracle Workflow Consultant. This is a 6 months contract and it would be 3 weeks/month in Jamaica and 1 week/month back home. All expenses including trave, accomodati