1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 package fr.ove.openmath.jome.ctrlview.bidim;
30
31 import fr.ove.utils.CachingResourcesManager;
32
33 /***
34 * The resources manager for the rendering formula.<BR>
35 * The different resources take the following syntax : (see the resources files for more details)
36 * modelId = idDisplay:layoutManager
37 *
38 * @author © 2000 DIRAT Laurent
39 * @version 2.0 03/01/2000
40 */
41 public class BidimResourcesManager extends CachingResourcesManager {
42 /***
43 * The Constructor.
44 * @param resourcesName the name of the resources file.
45 */
46 public BidimResourcesManager(String resourcesName) {
47 super(resourcesName);
48 }
49
50 /***
51 * Returns the display identificator of the specified property.
52 * @param property the specified property
53 */
54 public String getIdDisplay(String property) {
55 return accessResource(property, 0);
56 }
57
58 /***
59 * Returns the class name of the layout manager corresponding to the specified property.
60 * @param property the specified property
61 */
62 public String getLayoutManager(String property) {
63 return accessResource(property, 1);
64 }
65
66 public String getDisplayString(String property) {
67 return accessResource(property, 2);
68 }
69
70 }