1 package org.simantics.selectionview;
\r
3 import org.simantics.db.RequestProcessor;
\r
4 import org.simantics.db.Resource;
\r
5 import org.simantics.db.ReadGraph;
\r
6 import org.simantics.db.request.Read;
\r
7 import org.simantics.db.Session;
\r
8 import org.simantics.db.exception.DatabaseException;
\r
9 import org.simantics.db.service.QueryControl;
\r
11 public class SelectionViewResources {
\r
13 public final Resource AbstractResourceTabContribution;
\r
14 public final Resource AbstractResourceTabContribution_HasPriority;
\r
15 public final Resource AbstractResourceTabContribution_HasPriority_Inverse;
\r
16 public final Resource AbstractResourceTabContribution_HasTest;
\r
17 public final Resource AbstractResourceTabContribution_HasTest_Inverse;
\r
18 public final Resource AbstractTypedResourceTabContribution;
\r
19 public final Resource AbstractTypedResourceTabContribution_HasType;
\r
20 public final Resource AbstractTypedResourceTabContribution_HasType_Inverse;
\r
21 public final Resource AbstractTypedVariableTabContribution;
\r
22 public final Resource AbstractTypedVariableTabContribution_HasType;
\r
23 public final Resource AbstractTypedVariableTabContribution_HasType_Inverse;
\r
24 public final Resource AbstractVariableTabContribution;
\r
25 public final Resource AbstractVariableTabContribution_HasPriority;
\r
26 public final Resource AbstractVariableTabContribution_HasPriority_Inverse;
\r
27 public final Resource AbstractVariableTabContribution_HasTest;
\r
28 public final Resource AbstractVariableTabContribution_HasTest_Inverse;
\r
29 public final Resource AbstractVariableTabContribution_testFunction;
\r
30 public final Resource AbstractVariableTabContribution_testFunction_Inverse;
\r
31 public final Resource CategoryHidden;
\r
32 public final Resource ColorParameterType;
\r
33 public final Resource DisplayProperty;
\r
34 public final Resource DisplayUnit;
\r
35 public final Resource DisplayValue;
\r
36 public final Resource FontParameterType;
\r
37 public final Resource Functions;
\r
38 public final Resource Functions_colorModifier;
\r
39 public final Resource Functions_displayPropertyValueAccessor;
\r
40 public final Resource Functions_displayUnitValueAccessor;
\r
41 public final Resource Functions_displayValueValueAccessor;
\r
42 public final Resource Functions_fontModifier;
\r
43 public final Resource Functions_getEnumerationValues;
\r
44 public final Resource Functions_getPropertyChildName;
\r
45 public final Resource Functions_inputModifier;
\r
46 public final Resource Functions_singleResourceToVariableTransformation;
\r
47 public final Resource Functions_singleResourceTransformation;
\r
48 public final Resource Functions_singleVariableTransformation;
\r
49 public final Resource Functions_standardSelectionInputTransformation;
\r
50 public final Resource GenericCategory;
\r
51 public final Resource GenericParameterType;
\r
52 public final Resource GenericPropertyChild;
\r
53 public final Resource HasCustomModifier;
\r
54 public final Resource HasCustomModifier_Inverse;
\r
55 public final Resource HasDisplayColumn;
\r
56 public final Resource HasDisplayColumn_Inverse;
\r
57 public final Resource HasDisplayProperty;
\r
58 public final Resource HasDisplayProperty_Inverse;
\r
59 public final Resource HasDisplayUnit;
\r
60 public final Resource HasDisplayUnit_Inverse;
\r
61 public final Resource HasDisplayValue;
\r
62 public final Resource HasDisplayValue_Inverse;
\r
63 public final Resource HasEnumerationValues;
\r
64 public final Resource HasEnumerationValues_Inverse;
\r
65 public final Resource HasFormatter;
\r
66 public final Resource HasFormatter_Inverse;
\r
67 public final Resource HasInputModifier;
\r
68 public final Resource HasInputModifier_Inverse;
\r
69 public final Resource HasStandardPropertyInfo;
\r
70 public final Resource HasStandardPropertyInfo_Inverse;
\r
71 public final Resource IsShownUnder;
\r
72 public final Resource SelectionTransformation;
\r
73 public final Resource SortingName;
\r
74 public final Resource SortingName_Inverse;
\r
75 public final Resource StandardPropertyInfo;
\r
76 public final Resource StandardPropertyInfo_CategoryName;
\r
77 public final Resource StandardPropertyInfo_CategoryName_Inverse;
\r
78 public final Resource StandardPropertyInfo_CategorySortingName;
\r
79 public final Resource StandardPropertyInfo_CategorySortingName_Inverse;
\r
80 public final Resource StandardPropertyInfo_IsHidden;
\r
81 public final Resource StandardPropertyInfo_IsHidden_Inverse;
\r
82 public final Resource TabContribution;
\r
83 public final Resource TypedVariableTabContribution;
\r
84 public final Resource TypedVariableTabContribution_HasType;
\r
85 public final Resource TypedVariableTabContribution_HasType_Inverse;
\r
86 public final Resource UnderOf;
\r
87 public final Resource VariableTabContribution;
\r
88 public final Resource VariableTabContribution_HasPriority;
\r
89 public final Resource VariableTabContribution_HasPriority_Inverse;
\r
90 public final Resource VariableTabContribution_HasTest;
\r
91 public final Resource VariableTabContribution_HasTest_Inverse;
\r
92 public final Resource VariableTabContribution_HasView;
\r
93 public final Resource VariableTabContribution_HasView_Inverse;
\r
94 public final Resource VariableTabContribution_transformation;
\r
95 public final Resource VariableTabContribution_transformation_Inverse;
\r
96 public final Resource canBeLifted;
\r
97 public final Resource canBeLifted_Inverse;
\r
98 public final Resource getSpecialCategory;
\r
99 public final Resource getSpecialCategory_Inverse;
\r
101 public static class URIs {
\r
102 public static final String AbstractResourceTabContribution = "http://www.simantics.org/SelectionView-1.2/AbstractResourceTabContribution";
\r
103 public static final String AbstractResourceTabContribution_HasPriority = "http://www.simantics.org/SelectionView-1.2/AbstractResourceTabContribution/HasPriority";
\r
104 public static final String AbstractResourceTabContribution_HasPriority_Inverse = "http://www.simantics.org/SelectionView-1.2/AbstractResourceTabContribution/HasPriority/Inverse";
\r
105 public static final String AbstractResourceTabContribution_HasTest = "http://www.simantics.org/SelectionView-1.2/AbstractResourceTabContribution/HasTest";
\r
106 public static final String AbstractResourceTabContribution_HasTest_Inverse = "http://www.simantics.org/SelectionView-1.2/AbstractResourceTabContribution/HasTest/Inverse";
\r
107 public static final String AbstractTypedResourceTabContribution = "http://www.simantics.org/SelectionView-1.2/AbstractTypedResourceTabContribution";
\r
108 public static final String AbstractTypedResourceTabContribution_HasType = "http://www.simantics.org/SelectionView-1.2/AbstractTypedResourceTabContribution/HasType";
\r
109 public static final String AbstractTypedResourceTabContribution_HasType_Inverse = "http://www.simantics.org/SelectionView-1.2/AbstractTypedResourceTabContribution/HasType/Inverse";
\r
110 public static final String AbstractTypedVariableTabContribution = "http://www.simantics.org/SelectionView-1.2/AbstractTypedVariableTabContribution";
\r
111 public static final String AbstractTypedVariableTabContribution_HasType = "http://www.simantics.org/SelectionView-1.2/AbstractTypedVariableTabContribution/HasType";
\r
112 public static final String AbstractTypedVariableTabContribution_HasType_Inverse = "http://www.simantics.org/SelectionView-1.2/AbstractTypedVariableTabContribution/HasType/Inverse";
\r
113 public static final String AbstractVariableTabContribution = "http://www.simantics.org/SelectionView-1.2/AbstractVariableTabContribution";
\r
114 public static final String AbstractVariableTabContribution_HasPriority = "http://www.simantics.org/SelectionView-1.2/AbstractVariableTabContribution/HasPriority";
\r
115 public static final String AbstractVariableTabContribution_HasPriority_Inverse = "http://www.simantics.org/SelectionView-1.2/AbstractVariableTabContribution/HasPriority/Inverse";
\r
116 public static final String AbstractVariableTabContribution_HasTest = "http://www.simantics.org/SelectionView-1.2/AbstractVariableTabContribution/HasTest";
\r
117 public static final String AbstractVariableTabContribution_HasTest_Inverse = "http://www.simantics.org/SelectionView-1.2/AbstractVariableTabContribution/HasTest/Inverse";
\r
118 public static final String AbstractVariableTabContribution_testFunction = "http://www.simantics.org/SelectionView-1.2/AbstractVariableTabContribution/testFunction";
\r
119 public static final String AbstractVariableTabContribution_testFunction_Inverse = "http://www.simantics.org/SelectionView-1.2/AbstractVariableTabContribution/testFunction/Inverse";
\r
120 public static final String CategoryHidden = "http://www.simantics.org/SelectionView-1.2/CategoryHidden";
\r
121 public static final String ColorParameterType = "http://www.simantics.org/SelectionView-1.2/ColorParameterType";
\r
122 public static final String DisplayProperty = "http://www.simantics.org/SelectionView-1.2/DisplayProperty";
\r
123 public static final String DisplayUnit = "http://www.simantics.org/SelectionView-1.2/DisplayUnit";
\r
124 public static final String DisplayValue = "http://www.simantics.org/SelectionView-1.2/DisplayValue";
\r
125 public static final String FontParameterType = "http://www.simantics.org/SelectionView-1.2/FontParameterType";
\r
126 public static final String Functions = "http://www.simantics.org/SelectionView-1.2/Functions";
\r
127 public static final String Functions_colorModifier = "http://www.simantics.org/SelectionView-1.2/Functions/colorModifier";
\r
128 public static final String Functions_displayPropertyValueAccessor = "http://www.simantics.org/SelectionView-1.2/Functions/displayPropertyValueAccessor";
\r
129 public static final String Functions_displayUnitValueAccessor = "http://www.simantics.org/SelectionView-1.2/Functions/displayUnitValueAccessor";
\r
130 public static final String Functions_displayValueValueAccessor = "http://www.simantics.org/SelectionView-1.2/Functions/displayValueValueAccessor";
\r
131 public static final String Functions_fontModifier = "http://www.simantics.org/SelectionView-1.2/Functions/fontModifier";
\r
132 public static final String Functions_getEnumerationValues = "http://www.simantics.org/SelectionView-1.2/Functions/getEnumerationValues";
\r
133 public static final String Functions_getPropertyChildName = "http://www.simantics.org/SelectionView-1.2/Functions/getPropertyChildName";
\r
134 public static final String Functions_inputModifier = "http://www.simantics.org/SelectionView-1.2/Functions/inputModifier";
\r
135 public static final String Functions_singleResourceToVariableTransformation = "http://www.simantics.org/SelectionView-1.2/Functions/singleResourceToVariableTransformation";
\r
136 public static final String Functions_singleResourceTransformation = "http://www.simantics.org/SelectionView-1.2/Functions/singleResourceTransformation";
\r
137 public static final String Functions_singleVariableTransformation = "http://www.simantics.org/SelectionView-1.2/Functions/singleVariableTransformation";
\r
138 public static final String Functions_standardSelectionInputTransformation = "http://www.simantics.org/SelectionView-1.2/Functions/standardSelectionInputTransformation";
\r
139 public static final String GenericCategory = "http://www.simantics.org/SelectionView-1.2/GenericCategory";
\r
140 public static final String GenericParameterType = "http://www.simantics.org/SelectionView-1.2/GenericParameterType";
\r
141 public static final String GenericPropertyChild = "http://www.simantics.org/SelectionView-1.2/GenericPropertyChild";
\r
142 public static final String HasCustomModifier = "http://www.simantics.org/SelectionView-1.2/HasCustomModifier";
\r
143 public static final String HasCustomModifier_Inverse = "http://www.simantics.org/SelectionView-1.2/HasCustomModifier/Inverse";
\r
144 public static final String HasDisplayColumn = "http://www.simantics.org/SelectionView-1.2/HasDisplayColumn";
\r
145 public static final String HasDisplayColumn_Inverse = "http://www.simantics.org/SelectionView-1.2/HasDisplayColumn/Inverse";
\r
146 public static final String HasDisplayProperty = "http://www.simantics.org/SelectionView-1.2/HasDisplayProperty";
\r
147 public static final String HasDisplayProperty_Inverse = "http://www.simantics.org/SelectionView-1.2/HasDisplayProperty/Inverse";
\r
148 public static final String HasDisplayUnit = "http://www.simantics.org/SelectionView-1.2/HasDisplayUnit";
\r
149 public static final String HasDisplayUnit_Inverse = "http://www.simantics.org/SelectionView-1.2/HasDisplayUnit/Inverse";
\r
150 public static final String HasDisplayValue = "http://www.simantics.org/SelectionView-1.2/HasDisplayValue";
\r
151 public static final String HasDisplayValue_Inverse = "http://www.simantics.org/SelectionView-1.2/HasDisplayValue/Inverse";
\r
152 public static final String HasEnumerationValues = "http://www.simantics.org/SelectionView-1.2/HasEnumerationValues";
\r
153 public static final String HasEnumerationValues_Inverse = "http://www.simantics.org/SelectionView-1.2/HasEnumerationValues/Inverse";
\r
154 public static final String HasFormatter = "http://www.simantics.org/SelectionView-1.2/HasFormatter";
\r
155 public static final String HasFormatter_Inverse = "http://www.simantics.org/SelectionView-1.2/HasFormatter/Inverse";
\r
156 public static final String HasInputModifier = "http://www.simantics.org/SelectionView-1.2/HasInputModifier";
\r
157 public static final String HasInputModifier_Inverse = "http://www.simantics.org/SelectionView-1.2/HasInputModifier/Inverse";
\r
158 public static final String HasStandardPropertyInfo = "http://www.simantics.org/SelectionView-1.2/HasStandardPropertyInfo";
\r
159 public static final String HasStandardPropertyInfo_Inverse = "http://www.simantics.org/SelectionView-1.2/HasStandardPropertyInfo/Inverse";
\r
160 public static final String IsShownUnder = "http://www.simantics.org/SelectionView-1.2/IsShownUnder";
\r
161 public static final String SelectionTransformation = "http://www.simantics.org/SelectionView-1.2/SelectionTransformation";
\r
162 public static final String SortingName = "http://www.simantics.org/SelectionView-1.2/SortingName";
\r
163 public static final String SortingName_Inverse = "http://www.simantics.org/SelectionView-1.2/SortingName/Inverse";
\r
164 public static final String StandardPropertyInfo = "http://www.simantics.org/SelectionView-1.2/StandardPropertyInfo";
\r
165 public static final String StandardPropertyInfo_CategoryName = "http://www.simantics.org/SelectionView-1.2/StandardPropertyInfo/CategoryName";
\r
166 public static final String StandardPropertyInfo_CategoryName_Inverse = "http://www.simantics.org/SelectionView-1.2/StandardPropertyInfo/CategoryName/Inverse";
\r
167 public static final String StandardPropertyInfo_CategorySortingName = "http://www.simantics.org/SelectionView-1.2/StandardPropertyInfo/CategorySortingName";
\r
168 public static final String StandardPropertyInfo_CategorySortingName_Inverse = "http://www.simantics.org/SelectionView-1.2/StandardPropertyInfo/CategorySortingName/Inverse";
\r
169 public static final String StandardPropertyInfo_IsHidden = "http://www.simantics.org/SelectionView-1.2/StandardPropertyInfo/IsHidden";
\r
170 public static final String StandardPropertyInfo_IsHidden_Inverse = "http://www.simantics.org/SelectionView-1.2/StandardPropertyInfo/IsHidden/Inverse";
\r
171 public static final String TabContribution = "http://www.simantics.org/SelectionView-1.2/TabContribution";
\r
172 public static final String TypedVariableTabContribution = "http://www.simantics.org/SelectionView-1.2/TypedVariableTabContribution";
\r
173 public static final String TypedVariableTabContribution_HasType = "http://www.simantics.org/SelectionView-1.2/TypedVariableTabContribution/HasType";
\r
174 public static final String TypedVariableTabContribution_HasType_Inverse = "http://www.simantics.org/SelectionView-1.2/TypedVariableTabContribution/HasType/Inverse";
\r
175 public static final String UnderOf = "http://www.simantics.org/SelectionView-1.2/UnderOf";
\r
176 public static final String VariableTabContribution = "http://www.simantics.org/SelectionView-1.2/VariableTabContribution";
\r
177 public static final String VariableTabContribution_HasPriority = "http://www.simantics.org/SelectionView-1.2/VariableTabContribution/HasPriority";
\r
178 public static final String VariableTabContribution_HasPriority_Inverse = "http://www.simantics.org/SelectionView-1.2/VariableTabContribution/HasPriority/Inverse";
\r
179 public static final String VariableTabContribution_HasTest = "http://www.simantics.org/SelectionView-1.2/VariableTabContribution/HasTest";
\r
180 public static final String VariableTabContribution_HasTest_Inverse = "http://www.simantics.org/SelectionView-1.2/VariableTabContribution/HasTest/Inverse";
\r
181 public static final String VariableTabContribution_HasView = "http://www.simantics.org/SelectionView-1.2/VariableTabContribution/HasView";
\r
182 public static final String VariableTabContribution_HasView_Inverse = "http://www.simantics.org/SelectionView-1.2/VariableTabContribution/HasView/Inverse";
\r
183 public static final String VariableTabContribution_transformation = "http://www.simantics.org/SelectionView-1.2/VariableTabContribution/transformation";
\r
184 public static final String VariableTabContribution_transformation_Inverse = "http://www.simantics.org/SelectionView-1.2/VariableTabContribution/transformation/Inverse";
\r
185 public static final String canBeLifted = "http://www.simantics.org/SelectionView-1.2/canBeLifted";
\r
186 public static final String canBeLifted_Inverse = "http://www.simantics.org/SelectionView-1.2/canBeLifted/Inverse";
\r
187 public static final String getSpecialCategory = "http://www.simantics.org/SelectionView-1.2/getSpecialCategory";
\r
188 public static final String getSpecialCategory_Inverse = "http://www.simantics.org/SelectionView-1.2/getSpecialCategory/Inverse";
\r
191 public static Resource getResourceOrNull(ReadGraph graph, String uri) {
\r
193 return graph.getResource(uri);
\r
194 } catch(DatabaseException e) {
\r
195 System.err.println(e.getMessage());
\r
200 public SelectionViewResources(ReadGraph graph) {
\r
201 AbstractResourceTabContribution = getResourceOrNull(graph, URIs.AbstractResourceTabContribution);
\r
202 AbstractResourceTabContribution_HasPriority = getResourceOrNull(graph, URIs.AbstractResourceTabContribution_HasPriority);
\r
203 AbstractResourceTabContribution_HasPriority_Inverse = getResourceOrNull(graph, URIs.AbstractResourceTabContribution_HasPriority_Inverse);
\r
204 AbstractResourceTabContribution_HasTest = getResourceOrNull(graph, URIs.AbstractResourceTabContribution_HasTest);
\r
205 AbstractResourceTabContribution_HasTest_Inverse = getResourceOrNull(graph, URIs.AbstractResourceTabContribution_HasTest_Inverse);
\r
206 AbstractTypedResourceTabContribution = getResourceOrNull(graph, URIs.AbstractTypedResourceTabContribution);
\r
207 AbstractTypedResourceTabContribution_HasType = getResourceOrNull(graph, URIs.AbstractTypedResourceTabContribution_HasType);
\r
208 AbstractTypedResourceTabContribution_HasType_Inverse = getResourceOrNull(graph, URIs.AbstractTypedResourceTabContribution_HasType_Inverse);
\r
209 AbstractTypedVariableTabContribution = getResourceOrNull(graph, URIs.AbstractTypedVariableTabContribution);
\r
210 AbstractTypedVariableTabContribution_HasType = getResourceOrNull(graph, URIs.AbstractTypedVariableTabContribution_HasType);
\r
211 AbstractTypedVariableTabContribution_HasType_Inverse = getResourceOrNull(graph, URIs.AbstractTypedVariableTabContribution_HasType_Inverse);
\r
212 AbstractVariableTabContribution = getResourceOrNull(graph, URIs.AbstractVariableTabContribution);
\r
213 AbstractVariableTabContribution_HasPriority = getResourceOrNull(graph, URIs.AbstractVariableTabContribution_HasPriority);
\r
214 AbstractVariableTabContribution_HasPriority_Inverse = getResourceOrNull(graph, URIs.AbstractVariableTabContribution_HasPriority_Inverse);
\r
215 AbstractVariableTabContribution_HasTest = getResourceOrNull(graph, URIs.AbstractVariableTabContribution_HasTest);
\r
216 AbstractVariableTabContribution_HasTest_Inverse = getResourceOrNull(graph, URIs.AbstractVariableTabContribution_HasTest_Inverse);
\r
217 AbstractVariableTabContribution_testFunction = getResourceOrNull(graph, URIs.AbstractVariableTabContribution_testFunction);
\r
218 AbstractVariableTabContribution_testFunction_Inverse = getResourceOrNull(graph, URIs.AbstractVariableTabContribution_testFunction_Inverse);
\r
219 CategoryHidden = getResourceOrNull(graph, URIs.CategoryHidden);
\r
220 ColorParameterType = getResourceOrNull(graph, URIs.ColorParameterType);
\r
221 DisplayProperty = getResourceOrNull(graph, URIs.DisplayProperty);
\r
222 DisplayUnit = getResourceOrNull(graph, URIs.DisplayUnit);
\r
223 DisplayValue = getResourceOrNull(graph, URIs.DisplayValue);
\r
224 FontParameterType = getResourceOrNull(graph, URIs.FontParameterType);
\r
225 Functions = getResourceOrNull(graph, URIs.Functions);
\r
226 Functions_colorModifier = getResourceOrNull(graph, URIs.Functions_colorModifier);
\r
227 Functions_displayPropertyValueAccessor = getResourceOrNull(graph, URIs.Functions_displayPropertyValueAccessor);
\r
228 Functions_displayUnitValueAccessor = getResourceOrNull(graph, URIs.Functions_displayUnitValueAccessor);
\r
229 Functions_displayValueValueAccessor = getResourceOrNull(graph, URIs.Functions_displayValueValueAccessor);
\r
230 Functions_fontModifier = getResourceOrNull(graph, URIs.Functions_fontModifier);
\r
231 Functions_getEnumerationValues = getResourceOrNull(graph, URIs.Functions_getEnumerationValues);
\r
232 Functions_getPropertyChildName = getResourceOrNull(graph, URIs.Functions_getPropertyChildName);
\r
233 Functions_inputModifier = getResourceOrNull(graph, URIs.Functions_inputModifier);
\r
234 Functions_singleResourceToVariableTransformation = getResourceOrNull(graph, URIs.Functions_singleResourceToVariableTransformation);
\r
235 Functions_singleResourceTransformation = getResourceOrNull(graph, URIs.Functions_singleResourceTransformation);
\r
236 Functions_singleVariableTransformation = getResourceOrNull(graph, URIs.Functions_singleVariableTransformation);
\r
237 Functions_standardSelectionInputTransformation = getResourceOrNull(graph, URIs.Functions_standardSelectionInputTransformation);
\r
238 GenericCategory = getResourceOrNull(graph, URIs.GenericCategory);
\r
239 GenericParameterType = getResourceOrNull(graph, URIs.GenericParameterType);
\r
240 GenericPropertyChild = getResourceOrNull(graph, URIs.GenericPropertyChild);
\r
241 HasCustomModifier = getResourceOrNull(graph, URIs.HasCustomModifier);
\r
242 HasCustomModifier_Inverse = getResourceOrNull(graph, URIs.HasCustomModifier_Inverse);
\r
243 HasDisplayColumn = getResourceOrNull(graph, URIs.HasDisplayColumn);
\r
244 HasDisplayColumn_Inverse = getResourceOrNull(graph, URIs.HasDisplayColumn_Inverse);
\r
245 HasDisplayProperty = getResourceOrNull(graph, URIs.HasDisplayProperty);
\r
246 HasDisplayProperty_Inverse = getResourceOrNull(graph, URIs.HasDisplayProperty_Inverse);
\r
247 HasDisplayUnit = getResourceOrNull(graph, URIs.HasDisplayUnit);
\r
248 HasDisplayUnit_Inverse = getResourceOrNull(graph, URIs.HasDisplayUnit_Inverse);
\r
249 HasDisplayValue = getResourceOrNull(graph, URIs.HasDisplayValue);
\r
250 HasDisplayValue_Inverse = getResourceOrNull(graph, URIs.HasDisplayValue_Inverse);
\r
251 HasEnumerationValues = getResourceOrNull(graph, URIs.HasEnumerationValues);
\r
252 HasEnumerationValues_Inverse = getResourceOrNull(graph, URIs.HasEnumerationValues_Inverse);
\r
253 HasFormatter = getResourceOrNull(graph, URIs.HasFormatter);
\r
254 HasFormatter_Inverse = getResourceOrNull(graph, URIs.HasFormatter_Inverse);
\r
255 HasInputModifier = getResourceOrNull(graph, URIs.HasInputModifier);
\r
256 HasInputModifier_Inverse = getResourceOrNull(graph, URIs.HasInputModifier_Inverse);
\r
257 HasStandardPropertyInfo = getResourceOrNull(graph, URIs.HasStandardPropertyInfo);
\r
258 HasStandardPropertyInfo_Inverse = getResourceOrNull(graph, URIs.HasStandardPropertyInfo_Inverse);
\r
259 IsShownUnder = getResourceOrNull(graph, URIs.IsShownUnder);
\r
260 SelectionTransformation = getResourceOrNull(graph, URIs.SelectionTransformation);
\r
261 SortingName = getResourceOrNull(graph, URIs.SortingName);
\r
262 SortingName_Inverse = getResourceOrNull(graph, URIs.SortingName_Inverse);
\r
263 StandardPropertyInfo = getResourceOrNull(graph, URIs.StandardPropertyInfo);
\r
264 StandardPropertyInfo_CategoryName = getResourceOrNull(graph, URIs.StandardPropertyInfo_CategoryName);
\r
265 StandardPropertyInfo_CategoryName_Inverse = getResourceOrNull(graph, URIs.StandardPropertyInfo_CategoryName_Inverse);
\r
266 StandardPropertyInfo_CategorySortingName = getResourceOrNull(graph, URIs.StandardPropertyInfo_CategorySortingName);
\r
267 StandardPropertyInfo_CategorySortingName_Inverse = getResourceOrNull(graph, URIs.StandardPropertyInfo_CategorySortingName_Inverse);
\r
268 StandardPropertyInfo_IsHidden = getResourceOrNull(graph, URIs.StandardPropertyInfo_IsHidden);
\r
269 StandardPropertyInfo_IsHidden_Inverse = getResourceOrNull(graph, URIs.StandardPropertyInfo_IsHidden_Inverse);
\r
270 TabContribution = getResourceOrNull(graph, URIs.TabContribution);
\r
271 TypedVariableTabContribution = getResourceOrNull(graph, URIs.TypedVariableTabContribution);
\r
272 TypedVariableTabContribution_HasType = getResourceOrNull(graph, URIs.TypedVariableTabContribution_HasType);
\r
273 TypedVariableTabContribution_HasType_Inverse = getResourceOrNull(graph, URIs.TypedVariableTabContribution_HasType_Inverse);
\r
274 UnderOf = getResourceOrNull(graph, URIs.UnderOf);
\r
275 VariableTabContribution = getResourceOrNull(graph, URIs.VariableTabContribution);
\r
276 VariableTabContribution_HasPriority = getResourceOrNull(graph, URIs.VariableTabContribution_HasPriority);
\r
277 VariableTabContribution_HasPriority_Inverse = getResourceOrNull(graph, URIs.VariableTabContribution_HasPriority_Inverse);
\r
278 VariableTabContribution_HasTest = getResourceOrNull(graph, URIs.VariableTabContribution_HasTest);
\r
279 VariableTabContribution_HasTest_Inverse = getResourceOrNull(graph, URIs.VariableTabContribution_HasTest_Inverse);
\r
280 VariableTabContribution_HasView = getResourceOrNull(graph, URIs.VariableTabContribution_HasView);
\r
281 VariableTabContribution_HasView_Inverse = getResourceOrNull(graph, URIs.VariableTabContribution_HasView_Inverse);
\r
282 VariableTabContribution_transformation = getResourceOrNull(graph, URIs.VariableTabContribution_transformation);
\r
283 VariableTabContribution_transformation_Inverse = getResourceOrNull(graph, URIs.VariableTabContribution_transformation_Inverse);
\r
284 canBeLifted = getResourceOrNull(graph, URIs.canBeLifted);
\r
285 canBeLifted_Inverse = getResourceOrNull(graph, URIs.canBeLifted_Inverse);
\r
286 getSpecialCategory = getResourceOrNull(graph, URIs.getSpecialCategory);
\r
287 getSpecialCategory_Inverse = getResourceOrNull(graph, URIs.getSpecialCategory_Inverse);
\r
290 public static SelectionViewResources getInstance(ReadGraph graph) {
\r
291 Session session = graph.getSession();
\r
292 SelectionViewResources ret = session.peekService(SelectionViewResources.class);
\r
294 QueryControl qc = graph.getService(QueryControl.class);
\r
295 ret = new SelectionViewResources(qc.getIndependentGraph(graph));
\r
296 session.registerService(SelectionViewResources.class, ret);
\r
301 public static SelectionViewResources getInstance(RequestProcessor session) throws DatabaseException {
\r
302 SelectionViewResources ret = session.peekService(SelectionViewResources.class);
\r
304 ret = session.syncRequest(new Read<SelectionViewResources>() {
\r
305 public SelectionViewResources perform(ReadGraph graph) throws DatabaseException {
\r
306 QueryControl qc = graph.getService(QueryControl.class);
\r
307 return new SelectionViewResources(qc.getIndependentGraph(graph));
\r
310 session.registerService(SelectionViewResources.class, ret);
\r