/[fenfire]/fenfire/org/fenfire/view/TextNodeView.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/TextNodeView.java

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

revision 1.10 by tjl, Mon Jul 28 08:22:32 2003 UTC revision 1.11 by mudyc, Wed Jul 30 15:04:21 2003 UTC
# Line 60  public static final String rcsid = "$Id$ Line 60  public static final String rcsid = "$Id$
60      private boolean hasContext = true;      private boolean hasContext = true;
61      public void setHasNoContext() { hasContext = false; }      public void setHasNoContext() { hasContext = false; }
62    
63      private org.fenfire.view.lava.FenPDFContext context = null;      private org.fenfire.view.lava.TextHandler.Context context = null;
64      public void setContext(org.fenfire.view.lava.FenPDFContext context)      public void setContext(org.fenfire.view.lava.TextHandler.Context context)
65      { this.context = context; }      { this.context = context; }
66    
67      public Object f(ConstGraph g, Object node) {      public Object f(ConstGraph g, Object node) {
68          if (hasContext) {          if (hasContext) {
69              if (context == null) throw new Error("No context set");              if (context == null) throw new Error("No context set");
70              context.isToBePlaced(node, this);              context.toBePlaced(node, this);
71          }          }
72    
73          Enfilade1D enf = (Enfilade1D)nodeContent.f(g, node);          Enfilade1D enf = (Enfilade1D)nodeContent.f(g, node);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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