|
It is currently Fri Sep 10, 2010 3:11 am
|
View unanswered posts | View active topics
 |
Page 1 of 1
|
[ 5 posts ] |
|
| Author |
Message |
|
chris.small
|
Post subject: Show Attributes not working Posted: Sun Jun 27, 2010 4:45 pm |
|
Joined: Sun Jun 27, 2010 4:19 pm Posts: 3
|
|
When hiding attributes in the model I am not able to unhide them again.
It works fine for operations though.
Right Click on the class and select Show and can see Attributes is ticked however attributes dont want to show so I am unable to edit attributes in the model.
|
|
| |
|
 |
|
lars
|
Post subject: Re: Show Attributes not working Posted: Wed Jul 14, 2010 7:14 pm |
|
Joined: Tue Apr 10, 2007 4:42 pm Posts: 562 Location: Uppsala, Sweden
|
|
Hi Chris,
Sorry, but I am not able to reproduce this. It works for me.
But I got a hack you can try: Open the objectdesign.odx file (the HiberObjects icon) in a text editor. Find the <classSymbol> element with the correct <class ...> If there is no <attributes> element below <class>, insert this: "<attributes autoDisplay="289" accessVisible="true"/>" Then close and open your project again.
Or just send me the objectdesign.odx file (to eclipse@objectgeneration.com) and I can try to do it for you.
Regards, Lars
|
|
| |
|
 |
|
chris.small
|
Post subject: Re: Show Attributes not working Posted: Thu Jul 15, 2010 9:47 am |
|
Joined: Sun Jun 27, 2010 4:19 pm Posts: 3
|
|
Hi Lars,
I attach the .odx file in a zip for your perusal.
Thanks, Chris
|
|
| |
|
 |
|
lars
|
Post subject: Re: Show Attributes not working Posted: Tue Jul 20, 2010 3:55 am |
|
Joined: Tue Apr 10, 2007 4:42 pm Posts: 562 Location: Uppsala, Sweden
|
|
Hi Chris,
I found the bug. You had changed the attributes to default access by removing the "+" before the them. For instance to "String userName" instead of "+String userName". The + means public. And if you hide and show attributes again, HiberObjects will only draw public attributes.
I fixed your project file by changing all attributes to public (with <access>1</access> in all <variable> elements). This only means that the get- and set-methods will be generated public, the fields will be private. I will fix the error in HiberObjects when I get a chance.
PS: The attached file may be called "download.php" when you download it. You may have to rename it to download.zip and unzip it to get objectdesign.odx.
Regards, Lars
|
|
| |
|
 |
|
chris.small
|
Post subject: Re: Show Attributes not working Posted: Tue Jul 20, 2010 8:37 am |
|
Joined: Sun Jun 27, 2010 4:19 pm Posts: 3
|
|
Hi Lars,
Appreciate your effort in resolving the issue. Thanks for the feedback.
Regards, Chris
|
|
| |
|
 |
 |
Page 1 of 1
|
[ 5 posts ] |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|