Added code to handle displaying the user interface for a place once we

have actually entered the place. It's not tied to a particular UI toolkit
and this requires coordination between the client implementation and the
place implementation, but that seems better than the alternative of tying
the Parlor code to Swing or similar.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@408 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-10-09 17:20:03 +00:00
parent 61a2c30859
commit c9dfd6ef45
3 changed files with 29 additions and 4 deletions
@@ -1,5 +1,5 @@
//
// $Id: PlaceController.java,v 1.2 2001/10/06 00:24:46 mdb Exp $
// $Id: PlaceController.java,v 1.3 2001/10/09 17:20:03 mdb Exp $
package com.threerings.cocktail.party.client;
@@ -58,9 +58,11 @@ public abstract class PlaceController
*/
public void willEnterPlace (PlaceObject plobj)
{
// let the UI hierarchy know that we've got our place
if (_view != null ) {
// let the UI hierarchy know that we've got our place
PlaceViewUtil.dispatchWillEnterPlace(_view, plobj);
// and display the user interface
_ctx.setPlaceView(_view);
}
}