d076ae96 |
1 | /* |
2 | * To change this template, choose Tools | Templates |
3 | * and open the template in the editor. |
4 | */ |
5 | package org.ufcspa.simdecs.diagram.elements; |
6 | |
7 | import java.util.ArrayList; |
8 | import java.util.List; |
9 | import java.util.Locale; |
10 | |
11 | /** |
12 | * |
13 | * @author maroni |
14 | */ |
15 | @NodeElement |
16 | public class SymptomsSignsAsk extends Node { |
17 | |
18 | public SymptomsSignsAsk(String messageBundle, Locale locale) { |
19 | super(messageBundle, locale); |
20 | } |
21 | |
22 | @Override |
23 | public List<Node> getGrantedPrevious() { |
24 | List<Node> list = new ArrayList<Node>(); |
25 | list.add(new Begin(messageBundle, locale)); |
26 | return list; |
27 | } |
28 | |
29 | @Override |
30 | public List<SwimLane> getGrantedSwimLanes() { |
31 | List<SwimLane> list = new ArrayList<SwimLane>(); |
32 | list.add(new Doctor(messageBundle, locale)); |
33 | return list; |
34 | } |
35 | |
36 | @Override |
37 | public String getImage() { |
38 | return "img/nodes/SymptomsSignsAsk_" + getLocale() + ".png"; |
39 | } |
40 | |
41 | @Override |
42 | public String getImageWithLink() { |
43 | return "img/nodes/SymptomsSignsAskLink_" + getLocale() + ".png"; |
44 | } |
45 | |
46 | @Override |
47 | public boolean isFirst() { |
48 | return false; |
49 | } |
50 | |
51 | @Override |
52 | public String getName() { |
53 | return getResourceMessage("elementNodeSymptomsSignsAsk"); |
54 | } |
55 | |
56 | } |