01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10: package org.mmbase.module.builders;
11:
12: import org.mmbase.module.corebuilders.InsRel;
13: import org.mmbase.module.core.MMObjectNode;
14:
15: /**
16: * Like InsRel, only with a GUIIndicator tailored for a relation with a 'pos' field.
17: *
18: * @application Tools
19: * @author Rico Jansen
20: * @author Michiel Meeuwissen.
21: * @version $Id: PosRel.java,v 1.8 2004/10/08 12:30:01 pierre Exp $
22: */
23: public class PosRel extends InsRel {
24:
25: public PosRel() {
26: }
27:
28: public String getGUIIndicator(MMObjectNode node) {
29: return super .getGUIIndicator(node) + ":"
30: + node.getStringValue("pos");
31: }
32:
33: }
|