[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1482) Hibernate Configurations Tree not exapands all composites.
Dima Geraskov (JIRA)
jira-events at lists.jboss.org
Wed Dec 19 05:27:43 EST 2007
[ http://jira.jboss.com/jira/browse/JBIDE-1482?page=comments#action_12392846 ]
Dima Geraskov commented on JBIDE-1482:
--------------------------------------
Because in Tree we have TreeItems which hold Objects.
We have 1 Property object "address" which represented in 3 TreeItems.
TreeViewer works as I wrote in my first comment:
1) it gets children for "address" - all right
2) it finds TreeItem which represents "address" object, but we have 3 such TreeItems.
And always it finds first(from top) loaded TreeItem with "address" object.
When we use TreePathContentProvider it use not only selected TreeItem but all path to the selected object(path from tree).
> Hibernate Configurations Tree not exapands all composites.
> ----------------------------------------------------------
>
> Key: JBIDE-1482
> URL: http://jira.jboss.com/jira/browse/JBIDE-1482
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Hibernate
> Affects Versions: 2.0.0.GA
> Reporter: Dima Geraskov
> Assigned To: Dima Geraskov
> Fix For: 2.0.1
>
>
> Tree has following structure:
> -Customer
> +address
> -Employee
> +address
> -Person
> +address
> and Customer and Employee are subclasses of Person, address is Component(address, zip, city).
> All address items will expands only if expand it from bottom to top.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list