/[gzz]/gzz/gzz/client/Fallback.java
ViewVC logotype

Diff of /gzz/gzz/client/Fallback.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.44 by benja, Wed Oct 2 18:40:43 2002 UTC revision 1.45 by benja, Wed Oct 2 18:55:10 2002 UTC
# Line 116  public static final String rcsid = "$Id$ Line 116  public static final String rcsid = "$Id$
116      public View[] viewList;      public View[] viewList;
117      public DefaultBinder binder = new DefaultBinder(this);      public DefaultBinder binder = new DefaultBinder(this);
118            
119        /** FallbackBinder objects only used when a given view is active.
120         *  Maps views to binders.
121         */
122        Map viewSpecificBinders;
123        
124      CellView cellView;      CellView cellView;
125      CellContentView cellContentView;      CellContentView cellContentView;
126    
# Line 270  public static final String rcsid = "$Id$ Line 275  public static final String rcsid = "$Id$
275          public void timeout(Object o) {}          public void timeout(Object o) {}
276          public void windowClosed() { getBinder().windowClosed(this); }          public void windowClosed() { getBinder().windowClosed(this); }
277                    
278          public FallbackBinder getBinder() { return binder; }          public FallbackBinder getBinder() {
279                if(viewSpecificBinders.get(getView()) != null)
280                    return (FallbackBinder)viewSpecificBinders.get(getView());
281                return binder;
282            }
283    
284          Win(ColorScheme colors) {          Win(ColorScheme colors) {
285              for(int i=0; i<dimsIndices.length; i++)              for(int i=0; i<dimsIndices.length; i++)
# Line 328  public static final String rcsid = "$Id$ Line 337  public static final String rcsid = "$Id$
337      }      }
338    
339      public Fallback(Cell start, Space linkSpace, FallbackDim[] dimList,      public Fallback(Cell start, Space linkSpace, FallbackDim[] dimList,
340                      View[] viewList, CellView cellView,                      View[] viewList, Map viewSpecificBinders, CellView cellView,
341                      CellContentView cellContentView, Filer.Group filers) {                      CellContentView cellContentView, Filer.Group filers) {
342          this.dimList = dimList;          this.dimList = dimList;
343          this.viewList = viewList;          this.viewList = viewList;
344            this.viewSpecificBinders = viewSpecificBinders;
345          this.filers = filers;          this.filers = filers;
346          this.space = start.space;          this.space = start.space;
347          this.linkSpace = linkSpace;          this.linkSpace = linkSpace;

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26