View Javadoc

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.edit.DruWindowEditEffect;
8   import org.catacomb.druid.gui.edit.Effect;
9   
10  
11  public class WindowEditEffect extends BaseEffect {
12  
13      public String config;
14  
15      public String target;
16  
17  
18  
19      public Effect realize(Context ctx, GUIPath gpath) {
20          Effect eff = new DruWindowEditEffect(target, config);
21  
22          ctx.getMarketplace().addViewer("TargetStore", eff, "access");
23  
24          return eff;
25      }
26  
27  
28  
29  }