Book a Demo

Author Topic: Change the order of template parameters  (Read 4284 times)

DarrenDickens

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Change the order of template parameters
« on: January 23, 2018, 11:39:34 pm »
I have a class with template parameters (representing an Ada generic package). I need to add a new parameter in the middle of the list of existing parameters so I get the properties window for the class and select the Templates "tab" in the list on the left hand side. I click the "Add" button under "Template Parameter(s)" and add the new parameter and it gets added to the bottom of the list.

How can I move the newly created parameter upwards in the list to its correct position (in relation to my Ada generic package source code)? I cannot see any Up or Down arrows in the properties window. I searched the Help system for keyboard shortcuts. I tried combinations of Ctrl+SHIFT+Alt+UpArrow but no joy. I know that I can do it via Automation but I want a GUI version for end users.

Can someone enlighten me please?

Thanks
Darren

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Change the order of template parameters
« Reply #1 on: January 24, 2018, 01:52:34 am »
In general CTRL-UP or CTRL-Down is the standard in EA to move things up or down.
But I wouldn't know in this specific instance.

Geert

DarrenDickens

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Change the order of template parameters
« Reply #2 on: January 24, 2018, 01:55:31 am »
Thanks Geert but I already tried that combination, sadly it doesn't work in this window  :'( >:(

DarrenDickens

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Change the order of template parameters
« Reply #3 on: February 20, 2018, 11:03:40 pm »
I have had a formal reply from Sparx that confirms my suspicion that (in EA 12.0.1214 the version that I am forced to use) that there is no GUI method to change the order of template parameters.