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); |