Book a Demo

Author Topic: Improvements to navigation by first letter  (Read 4821 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Improvements to navigation by first letter
« on: January 21, 2016, 01:27:53 am »
Hi all,


In the project browser, and various treeview-style dialogs, you can search for / jump to the next item which begins with the letter 'X' by hitting the 'X' key on your keyboard. Very useful.

But if an element which begins with 'X' happens to have a stereotype, it is missed in the search. You jump right past it. So I think stereotypes should be ignored when jumping this way.

Secondly, instance elements without names should be jumped to as if they had the name of their classifier. In other words, an object ': X' should be jumped to if I hit the 'X' key. With the current function, only the actual name is considered.

Actually, you can jump to instances by hitting ':', which causes me to believe that the same would hold true if there was a '«' key I could hit: that would take me to the next stereotyped element. In other words, the function considers the displayed string exactly as it appears.

But in these cases, both ':' and '«' are parts of the UML syntax, not part of the items' names, and should therefore not be considered.

This would be a small but substantial GUI improvement.

Cheers,


/Uffe
My theories are always correct, just apply them to the right reality.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Improvements to navigation by first letter
« Reply #1 on: January 21, 2016, 06:04:58 am »
+1

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Improvements to navigation by first letter
« Reply #2 on: January 21, 2016, 08:25:31 am »
Without trying it, I suspect that overriding this kind of windows standard behavior is likely to be much harder than it sounds.

As a workaround, there is an option to disable stereotype display in the project browser.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Improvements to navigation by first letter
« Reply #3 on: January 21, 2016, 08:52:23 pm »
Yes, I think you're right. Dammit.

Ignoring the key press altogether is simple enough, but the search algorithm does not seem to be overrideable in the API.

/U
My theories are always correct, just apply them to the right reality.