1 package org.catacomb.druid.blocks;
2
3
4 import org.catacomb.druid.build.Context;
5 import org.catacomb.druid.build.Druid;
6 import org.catacomb.druid.build.GUIPath;
7 import org.catacomb.druid.build.Realizer;
8
9
10 public class Requisite implements Realizer {
11
12 public String id;
13 public String source;
14
15
16 public Object realize(Context pctx, GUIPath gpathin) {
17 GUIPath gpath = gpathin;
18
19 gpath = gpath.extend(id);
20
21 Context ctx = new Context(pctx);
22 Druid druid = new Druid(source, ctx);
23
24 druid.whizzNoBang();
25
26
27
28 pctx.addComponent(druid, gpath);
29
30 return null;
31 }
32
33
34
35 }