Add support for clearing a place view when it goes away so that we can
better manage multiple outstanding place views. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1929 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: MiCasaClient.java,v 1.15 2002/08/14 19:07:49 mdb Exp $
|
||||
// $Id: MiCasaClient.java,v 1.16 2002/11/08 09:31:59 mdb Exp $
|
||||
|
||||
package com.threerings.micasa.client;
|
||||
|
||||
@@ -161,6 +161,11 @@ public class MiCasaClient
|
||||
_frame.setPanel((JPanel)view);
|
||||
}
|
||||
|
||||
public void clearPlaceView (PlaceView view)
|
||||
{
|
||||
// we'll just let the next place view replace our old one
|
||||
}
|
||||
|
||||
public MiCasaFrame getFrame ()
|
||||
{
|
||||
return _frame;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: SimpleClient.java,v 1.7 2002/08/14 19:07:50 mdb Exp $
|
||||
// $Id: SimpleClient.java,v 1.8 2002/11/08 09:31:59 mdb Exp $
|
||||
|
||||
package com.threerings.micasa.simulator.client;
|
||||
|
||||
@@ -113,6 +113,11 @@ public class SimpleClient
|
||||
_frame.setPanel((JPanel)view);
|
||||
}
|
||||
|
||||
public void clearPlaceView (PlaceView view)
|
||||
{
|
||||
// we'll just let the next view replace the old one
|
||||
}
|
||||
|
||||
public MiCasaFrame getFrame ()
|
||||
{
|
||||
return (MiCasaFrame)_frame;
|
||||
|
||||
Reference in New Issue
Block a user