01: /*
02: * Created on 2003-11-22
03: *
04: * source is JoinCell
05: * should know model? in whitch model
06: */
07: package com.opensymphony.workflow.designer.event;
08:
09: import java.util.EventObject;
10: import java.util.Map;
11:
12: import com.opensymphony.workflow.designer.WorkflowGraphModel;
13:
14: /**
15: * @author Gulei
16: */
17: public class JoinChangedEvent extends EventObject {
18:
19: private WorkflowGraphModel model;
20: private Map args;
21:
22: /**
23: * @param source should be JoinCell
24: */
25: public JoinChangedEvent(Object source) {
26: super (source);
27: }
28:
29: public JoinChangedEvent(Object source, WorkflowGraphModel model) {
30: super (source);
31: this .model = model;
32: }
33:
34: public Map getArgs() {
35: return args;
36: }
37:
38: public WorkflowGraphModel getModel() {
39: return model;
40: }
41:
42: public void setArgs(Map map) {
43: args = map;
44: }
45:
46: public void setModel(WorkflowGraphModel model) {
47: this.model = model;
48: }
49:
50: }
|