Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 8
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3503 times and has 7 replies Next Thread
ckuppel
Newbie




Joined: Sep 28, 2010
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
add a member to HomePieceOfFurniture

hello everyone,

I try to edit the stucture of the "HomePieceOfFurniture" model by adding member. I alredy added the member, the getter and the setter, i modified the different views by adding an input field for this member (import and edit by double clicking on the object on the plan 2D).
I don't know where (or when) the listener witch use the setters of "HomePieceOfFurniture" is called.

this is a list of file modified :

HomePieceOfFurniture.java
homeFurnitureController.java


When i importing a furniture or when modify one, i fill my text input associated to the member, then there the value of the memberis still Null.

Do someOne has an Idee?
Thank you

[Note from moderator: please no translation. If you prefer to speak French, please post in the French section]
----------------------------------------
[Edit 1 times, last edit by Puybaret at Nov 15, 2010, 12:43:07 PM]
[Nov 15, 2010, 9:43:31 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: add a member to HomePieceOfFurniture

Sorry, but no one will be able to find a bug in your code, if he doesn't see the part you changed!
I suggest you to use a debugger to be sure that you set the fields and the variables values as expected.

By the way, "witch" is "sorcière" but I guessed you wanted to use "which" instead! wink
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Nov 15, 2010, 4:41:44 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
ckuppel
Newbie




Joined: Sep 28, 2010
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: add a member to HomePieceOfFurniture

Hello,

Thank you for your answer.

I'd like to put a breakcpoint, but i don't know where I have to put it. I don't know which file is concern by the event click (or double click) on an object in the 2D plan.

I knows that's a small problem but there is a lot of file, and I'm quite lost.
[Nov 17, 2010, 11:00:53 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: add a member to HomePieceOfFurniture

Every body is lost in front of 60000 lines... until you understand better the logic of the software. wink

By the way, it would be nice to present yourself and your project.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Nov 17, 2010, 11:24:27 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
ckuppel
Newbie




Joined: Sep 28, 2010
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: add a member to HomePieceOfFurniture

Let me introcuce myself,

I'm a student in IT and project management

I'm able to develop in several languages, I have got basic java developpement skills (java - swing) with eclipse.

I'm working on a project at school which includes the sweethome3D Applet. I'm in charge of de 3D section of this project. The main part of my work consist in changing the behavior of SH3D when you import a funriture into the catalog or edit a furniture dragged in the 2D plan.
[Nov 17, 2010, 2:24:18 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Sv.Kostadinov
Newbie



Bulgaria
Joined: Oct 15, 2009
Post Count: 7
Status: Offline
Reply to this Post  Reply with Quote 
Re: add a member to HomePieceOfFurniture

Hi, send me your skype or email, please. I will try to help you out. I've actually derived and changed a lot of classes. My project doesn't have anything to do with furniture, but basically the selectable objects act the same way. So, maybe I could help you.
[Nov 19, 2010, 10:07:47 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: add a member to HomePieceOfFurniture

Thank you Svetlozar to propose your help. smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Nov 19, 2010, 10:37:06 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
ckuppel
Newbie




Joined: Sep 28, 2010
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: add a member to HomePieceOfFurniture

Thank you very much Svetlozar, i sent you my skype.
[Nov 19, 2010, 3:53:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved