1
2 package org.catacomb.druid.blocks;
3
4 import org.catacomb.druid.build.Context;
5 import org.catacomb.druid.build.GUIPath;
6 import org.catacomb.druid.gui.base.DruPanel;
7 import org.catacomb.druid.gui.edit.DruProgressReport;
8
9
10 public class ProgressReport extends Panel {
11
12
13 public String text;
14
15
16 public DruPanel instantiatePanel() {
17 DruProgressReport drup = new DruProgressReport();
18
19 return drup;
20 }
21
22 @Override
23 public void populatePanel(DruPanel drup, Context ctx, GUIPath gpath) {
24 DruProgressReport dpr = (DruProgressReport)drup;
25 if (text != null) {
26 dpr.setText(text);
27 }
28 }
29
30 }