Book a Demo

Author Topic: Jump to the Class assigned to an Attribute  (Read 4085 times)

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Jump to the Class assigned to an Attribute
« on: November 08, 2006, 06:18:46 am »
I have a class foo with attribute myBar of Type Bar.
I have also a class Bar, but not on current diagram nor in current package - it is hidden somewhere else.

How can I Jump to this class (Bar) to see it's properties or jump to it in Project browser? Is it possible?
Peter

thomaskilian

  • Guest
Re: Jump to the Class assigned to an Attribute
« Reply #1 on: November 09, 2006, 02:30:20 am »
You can use the search button in the project view. That will take you to the next occurences. Or use Ctrl-F to locate all of them. Click in the result list and the according object is higlighted in the project view.

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Jump to the Class assigned to an Attribute
« Reply #2 on: November 09, 2006, 02:41:40 am »
This is of great help, if I want to find the element.

But I think it will be very nice to jump directly to it. I mean something like
Alt+G for locating element in project browser. Or
Ctrl+Alt+G for locating element clasifier.

Imagine you are on an attribute (somewhere) and press Alt+G (or something) and
you see the attribute type's class in project browser.
Peter

thomaskilian

  • Guest
Re: Jump to the Class assigned to an Attribute
« Reply #3 on: November 09, 2006, 03:37:52 am »
Probably I don't understand what you want. If you want to GO TO a class you need to identify it. Your BAR class might appear more than once. So where should you GO TO? You need to find it in an overview first.

If you are "on an attribute" this is either in a class in a diagram (use Ctrl-G for that) or already in the class in the project view.

Maybe I did't get the point
???

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Jump to the Class assigned to an Attribute
« Reply #4 on: November 09, 2006, 04:18:49 am »
Try this:

Create a class FOO.
Class BAR is not in the project.

Add attribute a of type BAR (just type "BAR", it's not possible to select BAR because it's not in the projet yet).

Add class BAR with alias BAR1.
Add class BAR with alias BAR2.

Go to FOO and
add attr b and select type BAR (BAR1)
add attr c and select type BAR (BAR2)
add attr d and with type BAR (just type "BAR")

Go to BAR (BAR1) and rename it to BAR1.
Go to BAR (BAR2) and rename it to BAR2.

Go to FOO and you will see attributes with types:
a - BAR
b - BAR1
c - BAR2
d - BAR1

What is this all about?
EA knows the exact type's class of an attribute at least if it was selected.
In case of typing letters to the type field, EA try to identify the class and select the first class element with such name if there is one in the project.

Conclusion?
If EA knows the exact type's class of an attribute I want to jump to it.
Peter

thomaskilian

  • Guest
Re: Jump to the Class assigned to an Attribute
« Reply #5 on: November 09, 2006, 07:38:02 am »
Now it's clear :) and you need to post this to the feature request board. At least, I don't know how to do it.

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Jump to the Class assigned to an Attribute
« Reply #6 on: November 10, 2006, 02:45:49 am »
Feature Request done.
Peter