1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package pl.edu.agh.cast.model.attributes;
19
20 import pl.edu.agh.cast.model.visual.backward.ConnectionGroup;
21
22
23
24
25
26
27
28 public class ConnectionGroupAttributeManager extends AttributeManager {
29
30 private static final long serialVersionUID = -8936665211734984068L;
31
32
33
34
35 protected static ConnectionGroupAttributeManager dummyManager = new ConnectionGroupAttributeManager();
36
37 public static ConnectionGroupAttributeManager getDummyManager() {
38 return dummyManager;
39 }
40
41
42
43
44 public ConnectionGroupAttributeManager() {
45 super();
46
47 this.registerPermanentAttribute(ConnectionGroup.SINGLE_CONNECTION_LABEL, ValueType.String, true, false);
48
49 this.registerPermanentAttribute(ConnectionGroup.DOUBLE_CONNECTION_SOURCE_LABEL, ValueType.String, true, false);
50
51 this.registerPermanentAttribute(ConnectionGroup.DOUBLE_CONNECTION_TARGET_LABEL, ValueType.String, true, false);
52
53 this.registerPermanentAttribute(ConnectionGroup.LINE_THICKNESS, ValueType.Integer, true, false);
54
55 this.registerPermanentAttribute(ConnectionGroup.VARIABLE_THICKNESS_CONNECTION_LABEL, ValueType.String, true,
56 false);
57
58 this.registerPermanentAttribute(ConnectionGroup.LINE_COLOR, ValueType.Color, true, false);
59
60 }
61
62 }