Blog Post

Quick Link Definition Simplified

Overview:

‘Quick link’ feature in Enterprise Architect’s makes connector creation quicker and easier. Though quick linker simplifies the concept of creating connectors between artifacts (or) elements, the process of defining it would really consumes huge amount of time and manual efforts sometimes lead to errors.

To overcome this we have created a custom script. This allows us to generate the quick linker definition quicker & easier than ever before. Please follow the below steps to create your quick linker definition ease.

Pre-requisite:

  • Custom MDG Technology. Please refer how to define a custom MDG here
  • Must have a diagram (Metamodel / Blueprint) with connectors between artifacts which are required as quick links.

Steps to follow:

  • Create a diagram group in scripting section
  • Create a J-Script below the newly create diagram group. Copy and Paste the code snippet given below


!INC Local Scripts.EAConstants-JScript
/*
* This code has been included from the default Diagram Script template.
* If you wish to modify this template, it is located in the Config\Script Templates
* directory of your EA install path.
*
* Script Name: Generate Quick Linker Definition
* Author: Sparx Systems India
* Purpose: Generate quick linker definition from metamodel and to reuse in MDG definition
* Date: 12/07/2018
*/

/*
* Diagram Script main function
*/
function OnDiagramScript(diaID)
{
// Get a reference to the current diagram
var currentDiagram as EA.Diagram;
currentDiagram = Repository.GetCurrentDiagram();
Session.Output(“//Source Element Type\tSource ST filter\tTarget Element Type\tTarget ST Filter\tDiagram Filter\tNew Element Type\tNew Element ST\tNew Link Type\tNew Link ST\tNew Link Direction\tNew Link Caption\tNew Link & Element Caption\tCreate Link\tCreate Element\tDisallow Self connector\tExclusive to ST Filter + No inherit from metatype\tMenu Group\tComplexity Level\tTarget Must Be Parent\tEmbed element\tPreceeds Separator LEAF\tPreceeds Separator GROUP\tDUMMZ COLUMN”);

if ( currentDiagram != null )
{
for(var i=0; i<currentDiagram.DiagramLinks.Count; i++)
{

var dialinks as EA.DiagramLink;
var curCon as EA.Connector;

dialinks = currentDiagram.DiagramLinks.GetAt(i);

curCon = Repository.GetConnectorByID(dialinks.ConnectorID);

var SourceElem as EA.Element;
SourceElem = Repository.GetElementByID(curCon.ClientID);
var TargetElem as EA.Element;
TargetElem = Repository.GetElementByID(curCon.SupplierID);

var ConcType = “”;
if(curCon.Type==”Realisation”)
ConcType = “Realization”;
else
ConcType = curCon.Type;

Session.Output(SourceElem.Type + “\t”+ SourceElem.Stereotype + “\t” + TargetElem.Type + “\t” + TargetElem.Stereotype + “\t” + “\t” + TargetElem.Type + “\t” + TargetElem.Stereotype + “\t” + ConcType + “\t” + curCon.Stereotype + “\t” + ‘to’ + “\t” + “” + “\t” + “” + “\t” + “TRUE” + “\t” + “TRUE” + “\t” + “FALSE” + “\t” + “TRUE” + “\t” + “\t” + “0”);

//Session.Output(TargetElem.Type + “\t” + TargetElem.Stereotype + “\t” + SourceElem.Type + “\t”+ SourceElem.Stereotype + “\t” + “\t” + SourceElem.Type + “\t”+ SourceElem.Stereotype + “\t” + ConcType + “\t” + curCon.Stereotype + “\t” + ‘from’ + “\t” + “” + “\t” + “” + “\t” + “TRUE” + “\t” + “TRUE” + “\t” + “FALSE” + “\t” + “TRUE” + “\t” + “\t” + “0”);
}

Session.Output(“Done”);
}
else
{
Session.Prompt( “This script requires a diagram to be visible.”, promptOK)
}
}
OnDiagramScript();

  • Now open the diagram which has the connectors and artifacts
  • Right – Click on the diagram. Select Script|New Script from Context Menu.
  • Now open the system output screen
  • Right – Click on system output screen. Then Click “Copy All to Clipboard”
  • Paste the clipboard data in the excel file
  • Replace the cell values of “New Link Caption” – Column K & “New Link &amp; Element Caption” – Column L.
  • Now save the file as CSV.
  • Now copy and paste the CSV data in MDG quick link artifact and generate custom MDG with quick links

31 Comments

  1. Cela peut ĂŞtre ennuyeux lorsque vos relations sont perturbĂ©es et que son tĂ©lĂ©phone ne peut pas ĂŞtre suivi. Maintenant, vous pouvez facilement effectuer cette activitĂ© Ă  l’aide d’une application d’espionnage. Ces applications de surveillance sont très efficaces et fiables et peuvent dĂ©terminer si votre femme vous trompe.

    Reply
  2. urveillez votre tĂ©lĂ©phone de n’importe oĂą et voyez ce qui se passe sur le tĂ©lĂ©phone cible. Vous serez en mesure de surveiller et de stocker des journaux d’appels, des messages, des activitĂ©s sociales, des images, des vidĂ©os, WhatsApp et plus. Surveillance en temps rĂ©el des tĂ©lĂ©phones, aucune connaissance technique n’est requise, aucune racine n’est requise.

    Reply
  3. Wow, fantastic weblog structure! How long have you been blogging for?
    you made running a blog look easy. The total glance of
    your site is magnificent, as well as the content!
    You can see similar here najlepszy sklep

    Reply
  4. Link exchange is nothing else except it is simply placing the other person’s website link on your page at suitable place and other
    person will also do same in support of you. I saw similar here: Najlepszy sklep

    Reply
  5. It is appropriate time to make some plans for the future and it is time to be happy.
    I have read this post and if I could I wish to
    suggest you few interesting things or advice. Maybe you can write next articles referring to this article.
    I desire to read even more things about it!
    I saw similar here: Ecommerce

    Reply
  6. Hey there! Do you know if they make any plugins to assist
    with Search Engine Optimization? I’m trying to get my blog to rank for some targeted
    keywords but I’m not seeing very good results.
    If you know of any please share. Appreciate it! You can read similar art here:
    Dobry sklep

    Reply
  7. It’s very interesting! If you need help, look here: ARA Agency

    Reply
  8. Good day! Do you know if they make any plugins
    to assist with Search Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good success.
    If you know of any please share. Many thanks! You can read similar text here: Sklep internetowy

    Reply
  9. Hi there! Do you know if they make any plugins
    to help with Search Engine Optimization? I’m trying to get
    my website to rank for some targeted keywords but I’m not seeing
    very good success. If you know of any please share.
    Thank you! I saw similar art here: Backlink Portfolio

    Reply
  10. Hi! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my site to rank for some targeted keywords but I’m not seeing very good
    success. If you know of any please share. Cheers!
    I saw similar blog here: GSA Verified List

    Reply
  11. Hello there! Do you know if they make any plugins to assist with SEO?
    I’m trying to get my site to rank for some targeted keywords but I’m
    not seeing very good gains. If you know of any please share.
    Thanks! You can read similar blog here: Backlink Portfolio

    Reply
  12. Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

    Reply
  13. Wow, amazing weblog structure! How long have you been running a blog for?
    you made running a blog glance easy. The full look of your web site is magnificent, let alone
    the content material! You can see similar here sklep online

    Reply
  14. Hey! Do you know if they make any plugins to help with SEO?
    I’m trying to get my site to rank for some targeted keywords but I’m not seeing very
    good success. If you know of any please share. Cheers!

    You can read similar article here: Escape rooms

    Reply
  15. I have been surfing online more than three hours nowadays, yet I never found any fascinating article like yours. It is pretty worth enough for me. In my view, if all web owners and bloggers made good content material as you did, the web will likely be much more useful than ever before!

    Reply
  16. Hello! Do you know if they make any plugins to assist with Search Engine Optimization? I’m trying
    to get my website to rank for some targeted keywords but I’m not seeing very
    good success. If you know of any please share. Thanks! You
    can read similar article here

    Reply
  17. Hi my loved one! I wish to say that this article is amazing,
    great written and include almost all vital infos.

    I would like to look extra posts like this .

    Reply
  18. Greetings! Very useful advice in this particular post!
    It is the little changes that produce the most important changes.
    Many thanks for sharing!

    Reply
  19. Heya i’m for the first time here. I found this board and I find It really useful & it helped me
    out much. I hope to give something back and help others like you helped me.

    Reply
  20. The primary typewriter was designed in Milwaukee
    in 1867. Noah’s Ark in Wisconsin is the biggest water-themed park within the U.S.

    There are 7,446 streams and rivers in Wisconsin. Considering illness
    can only survive in an acidic pH atmosphere, it is smart to stay away from foods
    which might be doing this.

    Reply
  21. These imbalances can result in the excessive temper swings characteristic of the disorder.
    With the appropriate assist and treatment, individuals
    with bipolar disorder can lead fulfilling and productive lives.
    Recognizing these elements may also help healthcare professionals higher perceive the situation and supply effective treatment options for
    individuals with bipolar disorder.

    Reply
  22. Then place it within the cutter, and – depending on the mannequin – push or pull the
    diamond blade over the tile. In fact, a tile cutter is
    an entire lot sharper than a paper cutter, so be careful.

    They appear a lot just like the paper cutters whose blades are anchored
    right into a single again-and-forth observe. Its blade is a
    stationary rotor, one thing like the blade of a table saw.
    A wet noticed does use water, as its title
    implies; there’s a shallow effectively of water beneath
    the blade, and the bottom edge of the blade passes by way
    of the water because it rotates.

    Reply
  23. However due to lack of data and expertise, there are several staff who are left behind they usually fail to take motion in the
    best time. Proceedings of the 2017 ACM on Conference on Data and Data
    Management. Proceedings of the primary international
    joint conference on Autonomous brokers and multiagent techniques: part 1.
    pp. The Noida has a positive aspect to dwell as the basic infrastructure
    is quite better than any other a part of the Delhi and NCR.

    Reply
  24. Just like the beehive, the garden was established in 2009, and it is the first garden of its
    sort on the White House grounds since World War II.
    In 1939, with World Struggle II ramping up, he joined
    the Royal Air Drive (RAF), started flight coaching in Kenya
    and was assigned to fly a biplane. In 1940, Dahl was given an incorrect flight route that took him
    over no-man’s land between the Allied and Italian fronts in northern Africa.
    He was sent to Tanganyika (part of fashionable-day Tanzania) in Africa.

    Reply
  25. They’d round 7,000 miles (11,265 kilometers) left of their
    journey; this 24-hour flight to Howland covered about 2,500 miles (4,023 kilometers).
    When Charley made landfall in Florida on August 13, 2004, it left a path of destruction that spanned 20 miles
    wide, also known as a “20-mile-broad tornado”. We won’t know precisely how she interpreted this recommendation; she might have thought the spirits
    would get her if she stopped, or she may need seen steady building as a path to eternal life.

    Good luck — If somebody says “good luck” to you as you go away for a fishing journey, you
    may be sure you have bad luck instead. LTE is taken into account a great long-term option as a result of it is easier to scale up for larger capability and efficiency.
    Doors might open onto partitions, or within the case of a second story
    door, to the surface, leading to a big fall for anyone who may attempt to exit that
    means.

    Reply
  26. The Expedition was additionally the final Ford automobile to retain its older design discovered
    within the early to mid 2000s, that means, all
    the way in which up to 2017, it kept its triangular-styled taillamps
    and rounded-rectangular shaped headlamps along with the general boxy shape of the physique.
    A typical weekday for the crew of Expedition 18
    (the 18th permanent crew of the ISS), for example, began with a 6
    a.m. Upon Danny’s return to New York City from K’un-Lun, and after the loss of life of Harold Meachum (the company’s co-owner), the muse was renamed Rand Enterprises and Danny was formally named the new
    CEO. Rafe and Danny shortly leap in their planes to shoot down the enemy.

    As in that situation relaxation is most vital as by doing this the physique of a
    person will get relaxed and his senses comes down again to regular working condition. There comes a time in every particular person’s life
    once they should face a giant resolution after highschool is
    over. There’s also the choice of taking some time off to think
    about what you need to do for the rest of your life. I can manage an reasonably priced way of life, but I want to attend an expensive school.

    Reply
  27. A recorded voice explains how far a sneeze can travel and contains
    the Science World “We are able to Explain” tag line.
    To fight this oversight, the sustainability community has created the concept of meals miles, the quantity of miles
    food travels from farm to retailer (and inherently the quantity of
    greenhouse gases that travel generates). Pet meals company Science Eating regimen contracted
    with JWT Advertising to run a collection of print ads that showed a veterinarian analyzing three completely different canine.
    Ostensibly, because of their owners feeding them Science Food plan dog food,
    the pets have bowels so unobstructed that the beam from the flashlight the vet
    uses on the animals passes right by means of them. 1232-1509.
    The publish-1232 rolls have not been printed as full texts, but in calendar form (i.e.
    as complete English summaries, with all important details included).
    C. Developmental Limitations: Children’s cognitive
    talents, language skills, and reminiscence capability are still creating, which can have an effect
    on their skill to offer coherent and comprehensive testimonies.

    Not everyone is made from the stuff that can handle wielding a weapon or a scalpel.

    ’s world. Additionally, the advancement of expertise has brought forth
    mental health apps and applied sciences that may present additional tools for
    managing psychological properly-being.

    Reply
  28. It will be host based mostly in your trekking package. It is not any surprise that trekkers from
    everywhere in the globe come to Nepal each trekking season to admire a visit that permits them to get pleasure from a lovely blend of culture, artwork, nature and adventure.
    Stir the mixture over medium heat continually so it would not burn and convey it to a boil.
    One principle proposes that the Mongolian Demise Worm might be a surviving relic from prehistoric times – a residing fossil that has
    adapted to the harsh desert atmosphere over millennia.
    One shouldn’t kill wildlife even when they arrive into
    their villages. Even so, there is an unbelievable number of radio services that use
    frequencies most scanners can hear. These tasty fruits make for tasty crafts, and
    even some that you may play with when you are performed! To make the doll’s dress, fold 3 pieces of tissue paper in half and make somewhat gap in the center.
    Slip the arms up horizontally underneath the gown, then tie
    the costume on the waist with thread so the arms stay in place.
    They admire it when their lovable pets are taken care of
    throughout their stay.

    Reply
  29. The identical poll confirmed one-third of Individuals are working more than 50 hours every
    week. Bodily fatigue happens when you spend the day working in the backyard and at the end of the day you cannot even elevate your little toe.

    Reply
  30. The primary set was the unique 1942 series. The program was first established
    in 1942 so World Conflict II veterans may efficiently end high school and get a decent job in the civilian economic system.
    We’ll get to the controversy in regards to the test all
    of the sudden having a for-profit model, however suffice it to say
    for now that Pearson’s acquisition and subsequent choices have confirmed divisive.
    Now the vital factor one should keep within the thoughts
    is it’s a must to observe up the suit for ninety days to get desirable consequence.

    Reply
  31. Are your expectations sensible? Driving a automobile so large and with many giant blindspots might be nerve-racking,
    however there are some strategies that might help drivers complete the task easier.

    Reply

Leave a Comment

*