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: 42
Posts: 42   Pages: 5   [ Previous Page | 1 2 3 4 5 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 21698 times and has 41 replies Next Thread
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need to deploy on Tomcat serer

In a subclass of AppletApplication, you should override getViewFactory method to return a view factory (for example an instance of a subclass of SwingViewFactory) with a createView3D method that will return null.
Then, in a subclass of SweetHome3DApplet, override the method getApplicationClassName to return the name of the subclass of AppletApplication you programmed.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jan 27, 2015, 5:38:17 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
prabath
Member
Member's Avatar


Joined: Dec 24, 2014
Post Count: 28
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need to deploy on Tomcat serer

Thank You Puybaret..
[Jan 28, 2015, 4:56: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 
prabath
Member
Member's Avatar


Joined: Dec 24, 2014
Post Count: 28
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need to deploy on Tomcat serer

Hi Puybaret..

I want to add a button next to ZOOM OUT buttons. Please tell me how to add button. I found below link. Some method do not exist in that class.
http://www.sweethome3d.com/support/forum/view...F1D4E82105E7F6C79DF1A2202

Thank You
[Jan 29, 2015, 7:18:52 PM] 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: Need to deploy on Tomcat serer

Prabath, you request a lot of information but don't give any info to the community about the project you work on. It would be nice to present what you want to achieve, no?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jan 29, 2015, 8:40:29 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
prabath
Member
Member's Avatar


Joined: Dec 24, 2014
Post Count: 28
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need to deploy on Tomcat serer

:) I'm very sorry Puybaret. I'll explain.

I'm developing a online System for the Electricians to design Lights, Sockets and A/C systems for a selected Floor Plan. The application reads the PDF files and can detect the Floor Plans. Floor Plans are loaded with fixed scale.

3D view is not available. It is going to be handled by a separate button. So I struggled to add a new Button but failed.
[Jan 30, 2015, 12:36:59 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need to deploy on Tomcat serer

.. online System for the Electricians to design Lights, Sockets and A/C systems for a selected Floor Plan. The application reads the PDF files and can detect the Floor Plans.
Sounds interesting. You have probably noticed that the question of electric symbols appear from time to time: e.g. 5531: 2D Symbols and the 5416: Schneider project. If your work results in something of interest, it would be great if you would post something about it. And good luck. ok
[Jan 30, 2015, 7:34: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 
prabath
Member
Member's Avatar


Joined: Dec 24, 2014
Post Count: 28
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need to deploy on Tomcat serer

Ys of Course. I'm really interesting. I'll look in to that
[Feb 2, 2015, 3:40:43 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
prabath
Member
Member's Avatar


Joined: Dec 24, 2014
Post Count: 28
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need to deploy on Tomcat serer

Hi Puybaret

Can you pls help to add a button as requested above?
[Feb 2, 2015, 10:49:19 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: Need to deploy on Tomcat serer

Thanks for giving details about your goals. smile

If you want to add a button to the applet toolbar, you should override createHomeController method in the subclass of AppletApplication you started before.
Once you retrieved super implementation, inspire yourself of the (not so cleaned) existing implementation to retrieve the toolbar and add a button to it.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Feb 2, 2015, 2:44:27 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
prabath
Member
Member's Avatar


Joined: Dec 24, 2014
Post Count: 28
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need to deploy on Tomcat serer

Thank You Puybaret.....
[Feb 3, 2015, 6:12:51 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 42   Pages: 5   [ Previous Page | 1 2 3 4 5 | Next Page ]
[ 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