UML Sequence Diagrams in RAD - rad

I am trying to create several sequence diagrams in RAD, and I have two questions:
When I create a synchronous message, it automatically creates the dotted line, but I also need it to generate a < < return > > tag above the return message. I've tried looking in Preferences, and online there is almost no information for changing the settings for sequence diagrams in RAD.
Is there a way to convert these diagrams into .jpg format? They are currently .dnx files, and I would lose a large amount of detail if I had to simply take screenshots of these files.
If anyone has any familiarity with this, I appreciate any help you can give.
Thanks!

The image export is possible if you click on the diagram background and select Export as Image. Concerning return I don't remember but if you click on the message and open the message contextual menu you should be able to find out.
Good luck

Related

How to open multiple file trees in IDEA (WebStorm)

Goal: View multiple scopes(file tree) at once.
I'm modifying a little old web node application, the view folder and logic handling are written in different places, but I need to see each other.
So, I would like to have multiple file trees in the same project for easy navigation.
However, since the folders are so far apart from each other, I set up a scope and try to switch between them each time.
Sorry, my English is not very good, so I use a little translation. I'm attaching a picture just in case.
Thank you.
I was able to find a few solutions.
It is the Favorites window.
Maybe the scope is not available, but I was able to increase the number of project views to two.
I can't open more than three of them, so if there is a convenient way to do this, please let me know.
Thank you.
screenshot

Zebra .zpl file backwards to designer

I am still learning zpl. I have created some simple labels using the Zebra designer and converted them to zpl files and added to printers. Now, I have been tasked to update existing labels for some of our customers and I do not have the file available in the designer. I have been successfully been able to do things like update a barcode type and add a field by directly updating the script. But, the changes the users want would be much easier if I could use designer (I know that is like cheating!). But, the timeline I have is short. I have found some older questions out there that say this is not possible, so I thought I would check to see if it may now be possible to use the script on the zebra printer, and convert it to text that the designer will recognize.
I would like to mention that the printers I work with are physically located in other countries, with most inside restricted manufacturing production areas. When testing, I have to coordinate with users who have access to these printers. This means that printing one label, and then receiving a picture of this label can take several hours. I am still waiting for results of one test we did yesterday! Thanks to this site, I have found a site on line that will kind of mimic the label, but the actual printed copy is the best test.
Thanks for your attention.
You cannot import the ZPL back into a designer, but there are two tools that are very helpful when you don't have a printer to test with:
Labelary Online ZPL Viewer
Chrome ZPL Plugin
I've used both and have been pleased with the results, but your experience may vary depending on the complexity of the label.

Getting a handle on Object Properties through Link Templates in AutoCAD from SQL

I have searched high and low for some help regarding AutoCAD Link Templates.
I have managed to create a connection between AutoCAD and my SQL server. I am able to view the servers tables from AutoCAD.
My next task is to find a way to create a link between the properties of an Object in my drawing (eg. The text of a Label) to a row in my SQL table, To the point where I could change the value of that row in SQL, and it would change the text value of the object within my AutoCAD.
Like I said i am struggling to find sources of information or any help at all with achieving this. Which is why I am here now asking if anyone could give me and help or advice with how I would achieve this.
Anything is appreciated, thank you in advance.
I know links are looked down on but a very brief Google search (link AutoCAD and database) brought back a LOT of relevant links. Here's the first one, directly from Autodesk: About Database Links and Link Templates

Modelica class diagrams

I am looking for a tool that can (automatically) create class diagrams like this one from Modelica code:
https://trac.modelica.org/Modelica/attachment/ticket/85/classDiagramModelicaMedia.png
I need to create a couple of such diagrams and an automated solution would help a lot!
So far, I found this article about Modelica CDV (class diagram viewer):
https://www.modelica.org/events/modelica2006/Proceedings/sessions/Session1c1.pdf
but not a ready to use tool. Any ideas?
This can be done with SystemModeler and Mathematica. The relevant function is a little bit hidden, but it's there. Here's an example:
WSMLink`Library`WSMDependencyGraph["Modelica.Mechanics.Rotational.Components.Spring"]
When hovering over the classes, the full name appears:
The object returned from the function includes a Graph, so you can operate on it with all the graph functionality in Mathematica. Also the function takes the same arguments as Graph, so you can get different graph layouts if needed.
I don't have any specific suggestions, but you might find that a tool like OpenModelica could extract and output sufficient information to construct such diagrams. It seems to have many command line switches for outputting lots of information (debugging and otherwise).

How to implement an NSTextView that performs on-the-fly markup to RTF conversions

I'm trying to build an NSTextView that can take "marked up" input that is automatically translated into beautiful RTF-style text while the user types.
The idea is to let the user enter text in "plain text" format, but to "beautify" it on the spot, e.g.
H1 A quick list:
* first item
* second item
would be translated into a first line with a header font, followed by a bulleted list.
I have found plenty of potential ways of doing this, but the Text System is incredibly complicated (with reason) and I don't want to start "cooking my own" if there is already something suitable built-in. BTW I would be happy with a Snow Leopard only API.
The first thing I thought of was "data detectors", but I can't find a public API for doing this.
Having reached the end of the road with that, I turned to the new "Text Input Sources API". This does all kinds of things, but the "data-driven input methods" section of the WWDC 2006 presentation "Take Charge of the Text Input" seems interesting in my context. Beyond that single presentation slide however nothing seems to exist anywhere, so it's a bit of a dead end again.
Finally, I had a look at the NSSpellChecker class which is also supposed to offer completion features and automatic corrections.. but I'm not sure how this could be re-purposed for my requirements either.
At the moment, I'm tempted to just re-parse the entire NSTextStorage manually and make the changes myself when the user stops typing.. but I'm sure there are cleverer heads around this forum..
Any advice or pointers in the right direction would be greatly appreciated.
Neither data detectors nor the spell checker are appropriate for this task. Assuming you're just looking for a way to pass the input to a parser/formatter you already have, interfacing with the text system isn't too difficult. You're on the right track with handling the editing to NSTextStorage.
Along those lines, there's no need to re-parse the entire thing when the user stops. The text system sends you the modified range and gives you the opportunity to act on those changes (and even reject them out of hand). Since all changes funnel through this (typing, pasting, dropping...), this is the point where you want to intercede.
Because you're dealing with headings and bulleted lists, I'd get the enclosing paragraph of the modified range. This gives you a nice, round unit of work that is easily discovered and perfectly fits what you're trying to accomplish.
Good luck!