01: package org.enhydra.jawe.components.graph;
02:
03: import org.enhydra.jawe.ResourceManager;
04: import org.enhydra.shark.xpdl.XMLCollectionElement;
05: import org.enhydra.shark.xpdl.elements.Participant;
06:
07: /**
08: * Represents imaginary participant for entering performer expressions.
09: *
10: * @author Sasa Bojanic
11: */
12: public class CommonExpressionParticipant extends Participant {
13:
14: protected XMLCollectionElement wpOrAs;
15:
16: public CommonExpressionParticipant(
17: CommonExpressionParticipants parent,
18: XMLCollectionElement wpOrAs) {
19: super (parent);
20: this .wpOrAs = wpOrAs;
21: setDescription(ResourceManager
22: .getLanguageDependentString("CommonExpressionParticipantDescription"));
23: setReadOnly(true);
24: this .isReadOnly = false;
25: get("Id").setReadOnly(false);
26: }
27:
28: public XMLCollectionElement getGraphXPDLElement() {
29: return wpOrAs;
30: }
31:
32: }
|