Book a Demo

Author Topic: Multiple selection elements - edit properties  (Read 7264 times)

node.pl

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Multiple selection elements - edit properties
« on: March 23, 2015, 03:00:05 am »
Please allow multiple selection properties edit - at least in docked properties sheet. It would be extremely(!) powerful when setting statuses, versions, authors etc.

If anybody have idea how to achieve it without massive direct update of the database please share.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Multiple selection elements - edit properties
« Reply #1 on: March 23, 2015, 07:26:37 am »
This feature has been asked for since more than 10 years. Use your 10 fingers to calculate the probability to see it live within the next years  ::)

q.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Multiple selection elements - edit properties
« Reply #3 on: March 24, 2015, 03:13:59 am »
It really is difficult to understand (except for the reason that a training organization hasn't requested them) why requests for sensible usability improvements like these that have a profound impact on the day to day productivity of people using EA have been just plain ignored by Sparx for years and years.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Multiple selection elements - edit properties
« Reply #4 on: March 24, 2015, 09:12:48 am »
Just because this request hasn't been implemented, doesn't mean it has been ignored. We have looked at it a number of times, even tried a few things. None of the approaches looked into provided a clear UI, and all of them made it too easy for accidental changes.

For updating status in bulk, you can do it at a package level.
See http://www.sparxsystems.com/enterprise_architect_user_guide/12.0/projects_and_teams/updatepkgstatus.html

The Relationships window was also updated to allow applying formatting options to multiple connectors (which was necessary because normal buttons for adding to a selection are used for other actions on connectors)
See http://www.sparxsystems.com/enterprise_architect_user_guide/12.0/navigate_search_and_trace/linktab.html
Try selecting everything on a diagram and then apply a line style to all connectors (or all connectors of one type) using this method.

node.pl

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Multiple selection elements - edit properties
« Reply #5 on: October 24, 2015, 05:21:51 am »
Actually there is simple workaround using scripting feature. It does not mean that proper functionality is not needed...


1. Open scripting.
2. Create or open project browser group
3. Create script "Mulit-update Alias" in that group:

(tested in EA 12 and 12.1)

!INC Local Scripts.EAConstants-JScript
!INC EAScriptLib.JScript-Dialog


/*
 * Script Name: Multielement update
 *
 * Author: tkazimie
 * Purpose: Update alias field for muli-selected elements project browser
 * Date: 2015.10.23
 *
 * Select elements in Project Browsera, right click and choose "Scripts / Mulit-update Alias" from the context menu
 *
 *
 */



/*
 * Project Browser Script main function
 */
function OnProjectBrowserScript()
{
      
      // Get the type of element selected in the Project Browser
      var selElem as EA.Collection;

      var wart=DLGInputBox( 'New alias', 'Multi-select element update', '');
      
      selElem = Repository.GetTreeSelectedElements();
      for (i=0; i < selElem.Count; i++) {
            var e as EA.Element;
            e = selElem.GetAt(i);
            Session.Output('Element changed:'+e.Name);
            e.Alias = wart;
            e.Update();
            e.Refresh();
      }
}

OnProjectBrowserScript();