01: package org.enhydra.jawe.components.graph;
02:
03: import org.enhydra.jawe.ResourceManager;
04: import org.enhydra.shark.xpdl.elements.Participant;
05:
06: /**
07: * Represents imaginary participant for entering performer expressions.
08: *
09: * @author Sasa Bojanic
10: */
11: public class FreeTextExpressionParticipant extends Participant {
12:
13: private static FreeTextExpressionParticipant instance;
14:
15: public static FreeTextExpressionParticipant getInstance() {
16: if (instance == null) {
17: instance = new FreeTextExpressionParticipant();
18: }
19: return instance;
20: }
21:
22: private FreeTextExpressionParticipant() {
23: super (null);
24: setId("FreeTextExpressionParticipant");
25: setName(ResourceManager
26: .getLanguageDependentString("FreeTextExpressionParticipantKey"));
27: setDescription(ResourceManager
28: .getLanguageDependentString("FreeTextExpressionParticipantDescription"));
29: setReadOnly(true);
30: }
31:
32: }
|