[
http://jira.jboss.com/jira/browse/JBIDE-1482?page=comments#action_12394522 ]
Vitali Yemialyanchyk commented on JBIDE-1482:
---------------------------------------------
1) this is not exact code copy - I made some changes; I don't know the right way to
handle the situation... Is it be enough put MTreeViewer into .xpl package? or should I
workaround code comments;
2) I leave the same functionality as it was - just return ALL TreeItems for the OBJECT -
not the first one as standard TreeViewer does; I don't know why TreeViewer return only
first one cause I see that its developers think about such functionality support but
didn't make it; they even create some troubles for redefine his methods;
3) If you have old code version - without my changes - you can easy reproduce the bug;
take discriminator project - I will attach zip file and try to open all tree items for
Configuration subtree - first time from top to buttom, then restart the workspace (or
refresh) and then - from buttom to top; you'll see the difference
to see the difference - bug - in KnownConfigurationsView - use TreeViewer instead of
MTreeViewer - I'll attach 2 screenshots;
4) Our model is right. This is just TreeView luck.
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: Vitali Yemialyanchyk
Fix For: 2.0.1
Attachments: discriminator.zip
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