Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to create more than one GwtRenderingContext in the same view ? #71

Open
andnovar opened this issue Mar 27, 2016 · 4 comments
Assignees
Labels

Comments

@andnovar
Copy link

Initially I create a rendering context for rendering a scene and then I have a button to add models to the scene but it loads a preview first in a new GwtRenderingContext. At the moment when I add the ViewerWidget it does not render the preview but adds the element to the page and at the same time detach the rendering1 clears content.

rendering1 = new GwtRenderingContext(PageExample.this.content);
rendering2 = new GwtRenderingContext(ViewerWidget.this.viewer);

I just don't get to create different widgets. content and viewer are SimpleLayoutPanel in PageExample.java ui bind with PageExample.ui.xml and ViewerWidget.java ui bind with ViewerWidget.ui.xml

@thothbot
Copy link
Owner

It should be possible, if not then it is a bug

@andnovar
Copy link
Author

Most likely since I can load both GwtRenderingContext indivually but not together.

@thothbot thothbot added the bug label Mar 27, 2016
@thothbot
Copy link
Owner

Ok, I'll take a look at this

@andnovar
Copy link
Author

Thanks !

@thothbot thothbot self-assigned this Mar 27, 2016
@thothbot thothbot added this to the ver 2.0 android platform milestone Mar 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants