Hello,
Let's give a little example :
private final PlaceManager placeManager;
@Inject
public AppPresenter(final EventBus eventBus, final MyView view, final MyProxy proxy, PlaceManager placeManager) {
super(eventBus, view, proxy);
this.placeManager = placeManager;
}
I do not understand :
- Who (what mecanism or classses) is responsible to initialize the placeManager (for me, it magically appear in the constructor and I use it after...) ?
I have 2 others problems :
- I have a SidebarWidget (let say such as the left menu in Google Circle) but I did it just with UiBinder (it is not a PresenterWidget and some problems are appearing). I need some links (actually I hesitate between using Hyperlinks or MenuItems) and I do not know how to manually reveal other Presenters without the PlaceManager...So should I inject a PlaceManager in my SidebarWidget (but I do not know if it will be the "same" PlaceManger singleton that will be invoked) ?
- Some links of the SidebarWidget should also call some popupWidgetPresenters, but I cannot call addToPopupSlot() (because SidebarWidget is not a Presenter) and I understood that popupWidgets are not places so I cannot reveal them using PlaceRequest and PlaceManager. So how could I do ?
Thanks a lot for you for the help,