KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > workflow > designer > event > JoinChangedEvent


1 /*
2  * Created on 2003-11-22
3  *
4  * source is JoinCell
5  * should know model? in whitch model
6  */

7 package com.opensymphony.workflow.designer.event;
8
9 import java.util.EventObject JavaDoc;
10 import java.util.Map JavaDoc;
11
12 import com.opensymphony.workflow.designer.WorkflowGraphModel;
13
14 /**
15  * @author Gulei
16  */

17 public class JoinChangedEvent extends EventObject JavaDoc
18 {
19
20   private WorkflowGraphModel model;
21   private Map JavaDoc args;
22
23   /**
24    * @param source should be JoinCell
25    */

26   public JoinChangedEvent(Object JavaDoc source)
27   {
28     super(source);
29   }
30
31   public JoinChangedEvent(Object JavaDoc source, WorkflowGraphModel model)
32   {
33     super(source);
34     this.model = model;
35   }
36
37   public Map JavaDoc getArgs()
38   {
39     return args;
40   }
41
42   public WorkflowGraphModel getModel()
43   {
44     return model;
45   }
46
47   public void setArgs(Map JavaDoc map)
48   {
49     args = map;
50   }
51
52   public void setModel(WorkflowGraphModel model)
53   {
54     this.model = model;
55   }
56
57 }
58
Popular Tags