1
2
3 package org.catacomb.druid.blocks;
4
5 import org.catacomb.druid.build.Context;
6 import org.catacomb.druid.build.GUIPath;
7 import org.catacomb.druid.gui.base.DruCloseEffect;
8 import org.catacomb.druid.gui.edit.Effect;
9
10
11 public class CloseEffect extends BaseEffect {
12
13
14 public String target;
15
16
17
18 public Effect realize(Context ctx, GUIPath gpath) {
19 Effect eff = new DruCloseEffect(target);
20
21 ctx.getMarketplace().addViewer("TargetStore", eff, "access");
22
23 return eff;
24 }
25
26
27
28 }