ontomde-uml2 1.0.6 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. data/Manifest.txt +38 -22
  2. data/README.txt +21 -2
  3. data/Rakefile +1 -1
  4. data/bin/ontomde-umlToProtege +4 -0
  5. data/lib/ontomde-uml2.rb +19 -17
  6. data/lib/ontomde-uml2/UMLdatatypeMapping.rb +441 -0
  7. data/lib/ontomde-uml2/autoImplement.rb +170 -166
  8. data/lib/ontomde-uml2/check.rb +1 -1
  9. data/lib/ontomde-uml2/component.rb +45 -0
  10. data/lib/ontomde-uml2/createAndAdd.rb +32 -20
  11. data/lib/ontomde-uml2/dotDiagram.rb +1 -1
  12. data/lib/ontomde-uml2/kb.rb +4 -0
  13. data/lib/ontomde-uml2/kb/MYMODEL_kb.pprj +2377 -0
  14. data/lib/ontomde-uml2/kb/MYMODEL_kb.rdf +2 -0
  15. data/lib/ontomde-uml2/kb/MYMODEL_kb.rdfs +441 -0
  16. data/lib/ontomde-uml2/kb/MYMODEL_meta.pprj +874 -0
  17. data/lib/ontomde-uml2/kb/command.rb +143 -0
  18. data/lib/ontomde-uml2/kb/datatypeMapping.rb +99 -0
  19. data/lib/ontomde-uml2/kb/protege.rb +687 -0
  20. data/lib/ontomde-uml2/multipleInheritance.rb +1 -1
  21. data/lib/ontomde-uml2/salvageErrors.rb +1 -1
  22. data/lib/ontomde-uml2/select.rb +83 -5
  23. data/lib/ontomde-uml2/shortcut.rb +23 -8
  24. data/lib/ontomde-uml2/uml2.pprj +943 -0
  25. data/lib/ontomde-uml2/uml2.rb +62 -29
  26. data/lib/ontomde-uml2/uml2.rdf +768 -0
  27. data/lib/ontomde-uml2/uml2.rdfs +3233 -0
  28. data/lib/ontomde-uml2/umlx.rb +31 -9
  29. data/lib/ontomde-uml2/version.rb +1 -1
  30. data/lib/ontomde-uml2/versionSignature.rb +1 -1
  31. data/lib/ontomde-uml2/xsd.pprj +1063 -0
  32. data/lib/ontomde-uml2/xsd.rdf +2 -0
  33. data/lib/ontomde-uml2/xsd.rdfs +17 -0
  34. data/test/_test_dot.rb +1 -1
  35. data/test/_test_perf.rb +1 -1
  36. data/test/test_base.rb +1 -1
  37. data/test/test_clone.rb +5 -5
  38. data/test/test_misc.rb +3 -3
  39. metadata +47 -29
@@ -1,7 +1,7 @@
1
1
 
2
2
 
3
3
 
4
- module Mrdf_Model
4
+ module Mrdf_Repository
5
5
  def umlx_mapMultipleInheritanceToInterface!
6
6
  nl=Set.new
7
7
  umlx_classesWithMultipleInheritance.each {|c|
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- module Mrdf_Model
5
+ module Mrdf_Repository
6
6
  # Tries to fix a broken UML model.
7
7
  # This feature is not meant for serious work
8
8
  # and should only be used for quick demonstration.
@@ -1,8 +1,9 @@
1
1
  # utility methods to select parts of a model
2
2
  #
3
- module Mrdf_Model
4
- #search and returns every uml model
3
+ module Mrdf_Repository
4
+ #search and returns every uml model contained in the repository.:w
5
5
  def uml_Model_all
6
+ #Use index if index is available.
6
7
  return @typeIndex[Muml_Model]
7
8
  ret=Array.new
8
9
  each { |k,m|
@@ -11,6 +12,8 @@ module Mrdf_Model
11
12
  }
12
13
  return ret
13
14
  end
15
+
16
+ #search and returns every uml class contained in the current repository.
14
17
  def uml_Class_all(ret=Set.new)
15
18
  #return @typeIndex[Muml_Class]
16
19
  uml_Model_all.each { |m|
@@ -18,10 +21,28 @@ module Mrdf_Model
18
21
  }
19
22
  return ret
20
23
  end
24
+
25
+ #search and returns every uml component contained in the current repository.
26
+ def uml_Component_all(ret=Set.new)
27
+ #return @typeIndex[Muml_Class]
28
+ uml_Model_all.each { |m|
29
+ m.uml_Component_all(ret)
30
+ }
31
+ return ret
32
+ end
33
+
34
+ #search and returns every uml Enumeration contained in the current repository.
35
+ def uml_Enumeration_all(ret=Set.new)
36
+ #return @typeIndex[Muml_Class]
37
+ uml_Model_all.each { |m|
38
+ m.uml_Enumeration_all(ret)
39
+ }
40
+ return ret
41
+ end
21
42
  end
22
43
 
23
44
  module Muml_Model
24
- #search and returns evry uml class contained in the current model.
45
+ #search and returns every uml class contained in the current model.
25
46
  #NOTE: inner classes are not included
26
47
  def uml_Class_all(ret=Set.new)
27
48
  uml_ownedMember.each { |n|
@@ -35,8 +56,7 @@ module Muml_Model
35
56
  }
36
57
  return ret
37
58
  end
38
- #search and returns evry uml class contained in the current model.
39
- #NOTE: inner classes are not included
59
+ #search and returns every uml use case contained in the current model.
40
60
  def uml_UseCase_all(ret=Array.new)
41
61
  uml_ownedMember.each { |n|
42
62
  if n.kind_of?(Muml_UseCase)
@@ -49,6 +69,33 @@ module Muml_Model
49
69
  }
50
70
  return ret
51
71
  end
72
+
73
+ #search and returns every uml use case contained in the current model.
74
+ def uml_Enumeration_all(ret=Array.new)
75
+ uml_ownedMember.each { |n|
76
+ if n.kind_of?(Muml_Enumeration)
77
+ ret << n
78
+ elsif n.kind_of?(Muml_Package) && !n.kind_of?(Muml_Profile)
79
+ n.uml_Enumeration_all(ret)
80
+ else
81
+ #log.debug { "ignored #{n}" }
82
+ end
83
+ }
84
+ return ret
85
+ end
86
+ #search and returns every uml component contained in the current model.
87
+ def uml_Component_all(ret=Array.new)
88
+ uml_ownedMember.each { |n|
89
+ if n.kind_of?(Muml_Component)
90
+ ret << n
91
+ elsif n.kind_of?(Muml_Package) && !n.kind_of?(Muml_Profile)
92
+ n.uml_Component_all(ret)
93
+ else
94
+ #log.debug { "ignored #{n}" }
95
+ end
96
+ }
97
+ return ret
98
+ end
52
99
  end
53
100
  module Muml_Package
54
101
  #search and returns evry uml class contained in the current package.
@@ -82,4 +129,35 @@ module Muml_Package
82
129
  return ret
83
130
  end
84
131
 
132
+ #search and returns evry uml Enumeration contained in the current package.
133
+ def uml_Enumeration_all(ret=Array.new)
134
+ uml_ownedMember.each { |n|
135
+ if n.kind_of?(Muml_Enumeration)
136
+ ret << n
137
+ next
138
+ end
139
+ if n.kind_of?(Muml_Package) && !n.kind_of?(Muml_Profile)
140
+ n.uml_Enumeration_all(ret)
141
+ next
142
+ end
143
+ #log.debug { "ignored #{n}" }
144
+ }
145
+ return ret
146
+ end
147
+
148
+ #search and returns evry uml Component contained in the current package.
149
+ def uml_Component_all(ret=Array.new)
150
+ uml_ownedMember.each { |n|
151
+ if n.kind_of?(Muml_Component)
152
+ ret << n
153
+ next
154
+ end
155
+ if n.kind_of?(Muml_Package) && !n.kind_of?(Muml_Profile)
156
+ n.uml_Component_all(ret)
157
+ next
158
+ end
159
+ #log.debug { "ignored #{n}" }
160
+ }
161
+ return ret
162
+ end
85
163
  end
@@ -1,8 +1,8 @@
1
- #Handle shortcuts (from a namespace to a model)
1
+ #Handle UML shortcuts (from a namespace to a model)
2
2
 
3
- module Mrdf_Model
3
+ module Mrdf_Repository
4
4
  #Transform a set of UML models with links into a
5
- #single model with uml ownedMember.
5
+ #single model with uml_ownedMember.
6
6
  def umlx_processShortcuts!
7
7
  each_value { |s|
8
8
  next unless s.respond_to?(:umlx_shortcut)
@@ -17,11 +17,26 @@ module Mrdf_Model
17
17
  #replace shortcut with ownership
18
18
  s.uml_ownedMember_add(p)
19
19
  }
20
-
21
-
22
-
23
-
24
20
  }
25
-
21
+ end
22
+
23
+ # attached unrooted elements to umlx_reserved_model
24
+ # This processing is necessery to handle properly incremental export
25
+ # for enterprise architect.
26
+ # For every XMI export, EA creates a fix uml model.
27
+ # This repository is the same for every export (top level or subs)
28
+ # OntoMDE import filter deletes UML model from EA export to solve this issues.
29
+ # This operation finishes the job by relinking when necessary.
30
+ # Sub exports are fine because object are already linked !
31
+ def umlx_processUnrootedElements!
32
+ model=self
33
+ model.umlx_reserved_model # create umlx_reserved_model
34
+ model.each { |c,package|
35
+ next unless package.kind_of?(Muml_Package)
36
+ next unless package.umlx_owner_one.nil?
37
+ next if package.kind_of?(Muml_Model)
38
+ #puts "UNROOTED PACKAGE #{package}"
39
+ model.umlx_reserved_model.uml_ownedMember_add(package)
40
+ }
26
41
  end
27
42
  end
@@ -0,0 +1,943 @@
1
+ ; Fri Nov 02 15:11:34 CET 2007
2
+ ;
3
+ ;+ (version "3.3.1")
4
+ ;+ (build "Build 430")
5
+
6
+ ([BROWSER_SLOT_NAMES] of Property_List
7
+
8
+ (properties
9
+ [uml2_ProjectKB_Instance_70]
10
+ [uml2_ProjectKB_Instance_71]
11
+ [uml2_ProjectKB_Instance_72]))
12
+
13
+ ([CLSES_TAB] of Widget
14
+
15
+ (widget_class_name "edu.stanford.smi.protege.widget.ClsesTab"))
16
+
17
+ ([FORMS_TAB] of Widget
18
+
19
+ (widget_class_name "edu.stanford.smi.protege.widget.FormsTab"))
20
+
21
+ ([INSTANCE_ANNOTATION_FORM_WIDGET] of Widget
22
+
23
+ (height 476)
24
+ (is_hidden FALSE)
25
+ (name ":INSTANCE-ANNOTATION")
26
+ (property_list [KB_260914_Instance_33])
27
+ (widget_class_name "edu.stanford.smi.protege.widget.FormWidget")
28
+ (width 603)
29
+ (x 0)
30
+ (y 0))
31
+
32
+ ([INSTANCES_TAB] of Widget
33
+
34
+ (widget_class_name "edu.stanford.smi.protege.widget.InstancesTab"))
35
+
36
+ ([KB_054348_Instance_0] of String
37
+
38
+ (name "renaming_namespaces"))
39
+
40
+ ([KB_054348_Instance_1] of String
41
+
42
+ (name "namespaces")
43
+ (string_value "umlx http://ft/uml/2# uml2 http://uml/2# rdfs http://www.w3.org/2000/01/rdf-schema# rdf http://www.w3.org/1999/02/22-rdf-syntax-ns# "))
44
+
45
+ ([KB_260914_Instance_0] of Property_List
46
+
47
+ (name "class widget properties")
48
+ (properties
49
+ [KB_260914_Instance_1]
50
+ [KB_260914_Instance_2]
51
+ [KB_260914_Instance_3]
52
+ [KB_260914_Instance_4]
53
+ [KB_260914_Instance_5]
54
+ [KB_260914_Instance_6]
55
+ [KB_260914_Instance_7]
56
+ [KB_260914_Instance_8]
57
+ [KB_260914_Instance_9]
58
+ [KB_260914_Instance_10]))
59
+
60
+ ([KB_260914_Instance_1] of Widget
61
+
62
+ (height 120)
63
+ (label "Constraints")
64
+ (name ":SLOT-CONSTRAINTS")
65
+ (property_list [uml2_ProjectKB_Instance_10113])
66
+ (widget_class_name "edu.stanford.smi.protege.widget.ConstraintsWidget")
67
+ (width 200)
68
+ (x 400)
69
+ (y 0))
70
+
71
+ ([KB_260914_Instance_10] of Property_List
72
+
73
+ (name "layout properties")
74
+ (properties [KB_260914_Instance_11]))
75
+
76
+ ([KB_260914_Instance_11] of String
77
+
78
+ (name "vertical_stretcher")
79
+ (string_value ":DIRECT-TEMPLATE-SLOTS"))
80
+
81
+ ([KB_260914_Instance_12] of Property_List
82
+
83
+ (name "slot widget properties")
84
+ (properties
85
+ [KB_260914_Instance_13]
86
+ [KB_260914_Instance_14]
87
+ [KB_260914_Instance_15]
88
+ [KB_260914_Instance_16]
89
+ [KB_260914_Instance_17]
90
+ [KB_260914_Instance_18]
91
+ [KB_260914_Instance_19]
92
+ [KB_260914_Instance_20]
93
+ [KB_260914_Instance_21]
94
+ [KB_260914_Instance_22]
95
+ [KB_260914_Instance_23]
96
+ [KB_260914_Instance_24]
97
+ [KB_260914_Instance_25]
98
+ [KB_260914_Instance_26]
99
+ [KB_260914_Instance_27]
100
+ [KB_260914_Instance_28]
101
+ [uml2_ProjectKB_Instance_10122]))
102
+
103
+ ([KB_260914_Instance_13] of Widget
104
+
105
+ (height 60)
106
+ (label "Cardinality")
107
+ (name ":SLOT-MINIMUM-CARDINALITY")
108
+ (property_list [uml2_ProjectKB_Instance_10130])
109
+ (widget_class_name "edu.stanford.smi.protege.widget.MinimumCardinalityWidget")
110
+ (width 200)
111
+ (x 200)
112
+ (y 120))
113
+
114
+ ([KB_260914_Instance_14] of Widget
115
+
116
+ (height 35)
117
+ (name ":SLOT-MAXIMUM-CARDINALITY")
118
+ (property_list [uml2_ProjectKB_Instance_10131])
119
+ (widget_class_name "edu.stanford.smi.protege.widget.MaximumCardinalityWidget")
120
+ (width 200)
121
+ (x 200)
122
+ (y 180))
123
+
124
+ ([KB_260914_Instance_15] of Widget
125
+
126
+ (name ":SLOT-CONSTRAINTS"))
127
+
128
+ ([KB_260914_Instance_16] of Widget
129
+
130
+ (name ":DIRECT-TYPE"))
131
+
132
+ ([KB_260914_Instance_17] of Widget
133
+
134
+ (height 95)
135
+ (label "Domain")
136
+ (name ":DIRECT-DOMAIN")
137
+ (property_list [uml2_ProjectKB_Instance_10123])
138
+ (widget_class_name "edu.stanford.smi.protege.widget.DirectDomainWidget")
139
+ (width 200)
140
+ (x 400)
141
+ (y 180))
142
+
143
+ ([KB_260914_Instance_18] of Widget
144
+
145
+ (height 90)
146
+ (label "Template Values")
147
+ (name ":SLOT-VALUES")
148
+ (property_list [uml2_ProjectKB_Instance_10124])
149
+ (widget_class_name "edu.stanford.smi.protege.widget.SlotValuesWidget")
150
+ (width 200)
151
+ (x 400)
152
+ (y 0))
153
+
154
+ ([KB_260914_Instance_19] of Widget
155
+
156
+ (name ":DIRECT-SUPERSLOTS"))
157
+
158
+ ([KB_260914_Instance_2] of Widget
159
+
160
+ (name ":DIRECT-INSTANCES"))
161
+
162
+ ([KB_260914_Instance_20] of Widget
163
+
164
+ (name ":DIRECT-SUBSLOTS"))
165
+
166
+ ([KB_260914_Instance_21] of Widget
167
+
168
+ (height 90)
169
+ (label "Default")
170
+ (name ":SLOT-DEFAULTS")
171
+ (property_list [uml2_ProjectKB_Instance_10125])
172
+ (widget_class_name "edu.stanford.smi.protege.widget.DefaultValuesWidget")
173
+ (width 200)
174
+ (x 400)
175
+ (y 90))
176
+
177
+ ([KB_260914_Instance_22] of Widget
178
+
179
+ (height 120)
180
+ (label "Documentation")
181
+ (name ":DOCUMENTATION")
182
+ (property_list [uml2_ProjectKB_Instance_10126])
183
+ (widget_class_name "edu.stanford.smi.protege.widget.DocumentationWidget")
184
+ (width 200)
185
+ (x 200)
186
+ (y 0))
187
+
188
+ ([KB_260914_Instance_23] of Widget
189
+
190
+ (height 60)
191
+ (label "Maximum")
192
+ (name ":SLOT-NUMERIC-MAXIMUM")
193
+ (property_list [uml2_ProjectKB_Instance_10127])
194
+ (widget_class_name "edu.stanford.smi.protege.widget.NumericMaximumWidget")
195
+ (width 100)
196
+ (x 100)
197
+ (y 215))
198
+
199
+ ([KB_260914_Instance_24] of Widget
200
+
201
+ (height 60)
202
+ (label "Minimum")
203
+ (name ":SLOT-NUMERIC-MINIMUM")
204
+ (property_list [uml2_ProjectKB_Instance_10128])
205
+ (widget_class_name "edu.stanford.smi.protege.widget.NumericMinimumWidget")
206
+ (width 100)
207
+ (x 0)
208
+ (y 215))
209
+
210
+ ([KB_260914_Instance_25] of Widget
211
+
212
+ (name ":ASSOCIATED-FACET"))
213
+
214
+ ([KB_260914_Instance_26] of Widget
215
+
216
+ (height 60)
217
+ (label "Name")
218
+ (name ":NAME")
219
+ (property_list [uml2_ProjectKB_Instance_10129])
220
+ (widget_class_name "edu.stanford.smi.protege.widget.InstanceNameWidget")
221
+ (width 200)
222
+ (x 0)
223
+ (y 0))
224
+
225
+ ([KB_260914_Instance_27] of Widget
226
+
227
+ (height 60)
228
+ (label "Inverse Slot")
229
+ (name ":SLOT-INVERSE")
230
+ (property_list [uml2_ProjectKB_Instance_10132])
231
+ (widget_class_name "edu.stanford.smi.protege.widget.InverseSlotWidget")
232
+ (width 200)
233
+ (x 200)
234
+ (y 215))
235
+
236
+ ([KB_260914_Instance_28] of Widget
237
+
238
+ (height 155)
239
+ (label "Value Type")
240
+ (name ":SLOT-VALUE-TYPE")
241
+ (property_list [uml2_ProjectKB_Instance_10133])
242
+ (widget_class_name "edu.stanford.smi.protege.widget.ValueTypeWidget")
243
+ (width 200)
244
+ (x 0)
245
+ (y 60))
246
+
247
+ ([KB_260914_Instance_29] of Property_List
248
+
249
+ (name "facet widget properties")
250
+ (properties
251
+ [KB_260914_Instance_30]
252
+ [KB_260914_Instance_31]
253
+ [KB_260914_Instance_32]))
254
+
255
+ ([KB_260914_Instance_3] of Widget
256
+
257
+ (name ":DIRECT-SUBCLASSES"))
258
+
259
+ ([KB_260914_Instance_30] of Widget
260
+
261
+ (height 60)
262
+ (label "Name")
263
+ (name ":NAME")
264
+ (widget_class_name "edu.stanford.smi.protege.widget.InstanceNameWidget")
265
+ (width 200)
266
+ (x 0)
267
+ (y 0))
268
+
269
+ ([KB_260914_Instance_31] of Widget
270
+
271
+ (height 120)
272
+ (label "Documentation")
273
+ (name ":DOCUMENTATION")
274
+ (widget_class_name "edu.stanford.smi.protege.widget.DocumentationWidget")
275
+ (width 200)
276
+ (x 200)
277
+ (y 0))
278
+
279
+ ([KB_260914_Instance_32] of Widget
280
+
281
+ (height 60)
282
+ (label "Associated Slot")
283
+ (name ":ASSOCIATED-SLOT")
284
+ (widget_class_name "edu.stanford.smi.protege.widget.InstanceFieldWidget")
285
+ (width 200)
286
+ (x 0)
287
+ (y 60))
288
+
289
+ ([KB_260914_Instance_33] of Property_List
290
+
291
+ (properties
292
+ [KB_260914_Instance_34]
293
+ [KB_260914_Instance_35]
294
+ [KB_260914_Instance_36]
295
+ [KB_260914_Instance_37]))
296
+
297
+ ([KB_260914_Instance_34] of Widget
298
+
299
+ (name ":ANNOTATED-INSTANCE"))
300
+
301
+ ([KB_260914_Instance_35] of Widget
302
+
303
+ (name ":CREATOR"))
304
+
305
+ ([KB_260914_Instance_36] of Widget
306
+
307
+ (name ":CREATION-TIMESTAMP"))
308
+
309
+ ([KB_260914_Instance_37] of Widget
310
+
311
+ (height 100)
312
+ (is_hidden FALSE)
313
+ (name ":ANNOTATION-TEXT")
314
+ (widget_class_name "edu.stanford.smi.protege.widget.YellowStickyWidget")
315
+ (width 200)
316
+ (x 0)
317
+ (y 0))
318
+
319
+ ([KB_260914_Instance_38] of Property_List
320
+
321
+ (properties
322
+ [KB_260914_Instance_39]
323
+ [KB_260914_Instance_40]
324
+ [KB_260914_Instance_41]
325
+ [KB_260914_Instance_42]))
326
+
327
+ ([KB_260914_Instance_39] of Widget
328
+
329
+ (height 60)
330
+ (is_hidden FALSE)
331
+ (label "Name")
332
+ (name ":PAL-NAME")
333
+ (widget_class_name "edu.stanford.smi.protege.widget.TextFieldWidget")
334
+ (width 275)
335
+ (x 0)
336
+ (y 0))
337
+
338
+ ([KB_260914_Instance_4] of Widget
339
+
340
+ (name ":DIRECT-SUPERCLASSES"))
341
+
342
+ ([KB_260914_Instance_40] of Widget
343
+
344
+ (height 180)
345
+ (is_hidden FALSE)
346
+ (label "Range")
347
+ (name ":PAL-RANGE")
348
+ (widget_class_name "edu.stanford.smi.protegex.widget.pal.constraint.PalRangeWidget")
349
+ (width 250)
350
+ (x 275)
351
+ (y 180))
352
+
353
+ ([KB_260914_Instance_41] of Widget
354
+
355
+ (height 180)
356
+ (is_hidden FALSE)
357
+ (label "Description")
358
+ (name ":PAL-DESCRIPTION")
359
+ (widget_class_name "edu.stanford.smi.protege.widget.TextAreaWidget")
360
+ (width 250)
361
+ (x 275)
362
+ (y 0))
363
+
364
+ ([KB_260914_Instance_42] of Widget
365
+
366
+ (height 300)
367
+ (is_hidden FALSE)
368
+ (label "Statement")
369
+ (name ":PAL-STATEMENT")
370
+ (widget_class_name "edu.stanford.smi.protegex.widget.pal.constraint.PalConstraintWidget")
371
+ (width 275)
372
+ (x 0)
373
+ (y 60))
374
+
375
+ ([KB_260914_Instance_5] of Widget
376
+
377
+ (height 120)
378
+ (label "Documentation")
379
+ (name ":DOCUMENTATION")
380
+ (property_list [uml2_ProjectKB_Instance_10116])
381
+ (widget_class_name "edu.stanford.smi.protege.widget.DocumentationWidget")
382
+ (width 200)
383
+ (x 200)
384
+ (y 0))
385
+
386
+ ([KB_260914_Instance_6] of Widget
387
+
388
+ (height 60)
389
+ (label "Name")
390
+ (name ":NAME")
391
+ (property_list [uml2_ProjectKB_Instance_10117])
392
+ (widget_class_name "edu.stanford.smi.protege.widget.InstanceNameWidget")
393
+ (width 200)
394
+ (x 0)
395
+ (y 0))
396
+
397
+ ([KB_260914_Instance_7] of Widget
398
+
399
+ (height 60)
400
+ (label "Role")
401
+ (name ":ROLE")
402
+ (property_list [uml2_ProjectKB_Instance_10121])
403
+ (widget_class_name "edu.stanford.smi.protege.widget.RoleWidget")
404
+ (width 200)
405
+ (x 0)
406
+ (y 60))
407
+
408
+ ([KB_260914_Instance_8] of Widget
409
+
410
+ (name ":DIRECT-TYPE"))
411
+
412
+ ([KB_260914_Instance_9] of Widget
413
+
414
+ (height 150)
415
+ (label "Template Slots")
416
+ (name ":DIRECT-TEMPLATE-SLOTS")
417
+ (property_list [uml2_ProjectKB_Instance_10118])
418
+ (widget_class_name "edu.stanford.smi.protege.widget.TemplateSlotsWidget")
419
+ (width 600)
420
+ (x 0)
421
+ (y 120))
422
+
423
+ ([KB_383860_Instance_0] of String
424
+
425
+ (name "factory_class_name")
426
+ (string_value "edu.stanford.smi.protegex.storage.rdf.configurable.RDFCBackend"))
427
+
428
+ ([KB_383860_Instance_1] of Options
429
+
430
+ (confirm_on_remove FALSE)
431
+ (display_abstract_class_icon TRUE)
432
+ (display_hidden_classes TRUE)
433
+ (display_multi_parent_class_icon TRUE)
434
+ (is_readonly FALSE)
435
+ (update_modification_slots FALSE))
436
+
437
+ ([KB_383860_Instance_87] of Property_List
438
+
439
+ (properties [uml2_ProjectKB_Instance_92]))
440
+
441
+ ([KB_383860_Instance_88] of String
442
+
443
+ (name "rdfs_file_name")
444
+ (string_value "uml2.rdfs"))
445
+
446
+ ([KB_383860_Instance_89] of String
447
+
448
+ (name "rdf_file_name")
449
+ (string_value "uml2.rdf"))
450
+
451
+ ([KB_383860_Instance_90] of String
452
+
453
+ (name "namespace_name")
454
+ (string_value "http://protege.stanford.edu/kb#"))
455
+
456
+ ([KB_383860_Instance_91] of Boolean
457
+
458
+ (boolean_value TRUE)
459
+ (name "use_roundtrip"))
460
+
461
+ ([PAL_FORM_WIDGET] of Widget
462
+
463
+ (height 476)
464
+ (is_hidden FALSE)
465
+ (name ":PAL-CONSTRAINT")
466
+ (property_list [KB_260914_Instance_38])
467
+ (widget_class_name "edu.stanford.smi.protege.widget.FormWidget")
468
+ (width 603)
469
+ (x 0)
470
+ (y 0))
471
+
472
+ ([PROJECT] of Project
473
+
474
+ (browser_slot_names [BROWSER_SLOT_NAMES])
475
+ (customized_instance_widgets
476
+ [STANDARD_SLOT_FORM_WIDGET]
477
+ [STANDARD_CLASS_FORM_WIDGET]
478
+ [STANDARD_FACET_FORM_WIDGET]
479
+ [INSTANCE_ANNOTATION_FORM_WIDGET]
480
+ [PAL_FORM_WIDGET])
481
+ (default_cls_metaclass ":STANDARD-CLASS")
482
+ (default_facet_metaclass ":STANDARD-FACET")
483
+ (default_instance_widget_class_name "edu.stanford.smi.protege.widget.FormWidget")
484
+ (default_slot_metaclass ":STANDARD-SLOT")
485
+ (next_frame_number 0)
486
+ (options [KB_383860_Instance_1])
487
+ (sources [SOURCES])
488
+ (tabs
489
+ [CLSES_TAB]
490
+ [SLOTS_TAB]
491
+ [FORMS_TAB]
492
+ [INSTANCES_TAB]
493
+ [QUERIES_TAB]))
494
+
495
+ ([QUERIES_TAB] of Widget
496
+
497
+ (property_list [KB_383860_Instance_87])
498
+ (widget_class_name "edu.stanford.smi.protegex.queries_tab.QueriesTab"))
499
+
500
+ ([SLOTS_TAB] of Widget
501
+
502
+ (widget_class_name "edu.stanford.smi.protege.widget.SlotsTab"))
503
+
504
+ ([SOURCES] of Property_List
505
+
506
+ (properties
507
+ [KB_383860_Instance_0]
508
+ [KB_383860_Instance_88]
509
+ [KB_383860_Instance_89]
510
+ [KB_383860_Instance_90]
511
+ [KB_383860_Instance_91]
512
+ [KB_054348_Instance_0]
513
+ [KB_054348_Instance_1]))
514
+
515
+ ([STANDARD_CLASS_FORM_WIDGET] of Widget
516
+
517
+ (name ":STANDARD-CLASS")
518
+ (property_list [KB_260914_Instance_0])
519
+ (widget_class_name "edu.stanford.smi.protege.widget.FormWidget"))
520
+
521
+ ([STANDARD_FACET_FORM_WIDGET] of Widget
522
+
523
+ (name ":STANDARD-FACET")
524
+ (property_list [KB_260914_Instance_29])
525
+ (widget_class_name "edu.stanford.smi.protege.widget.FormWidget"))
526
+
527
+ ([STANDARD_SLOT_FORM_WIDGET] of Widget
528
+
529
+ (name ":STANDARD-SLOT")
530
+ (property_list [KB_260914_Instance_12])
531
+ (widget_class_name "edu.stanford.smi.protege.widget.FormWidget"))
532
+
533
+ ([uml2_ProjectKB_Instance_0] of Widget
534
+
535
+ (is_hidden TRUE)
536
+ (property_list [uml2_ProjectKB_Instance_1])
537
+ (widget_class_name "TGViztab.TGVizTab"))
538
+
539
+ ([uml2_ProjectKB_Instance_1] of Property_List
540
+ )
541
+
542
+ ([uml2_ProjectKB_Instance_10] of Widget
543
+
544
+ (is_hidden TRUE)
545
+ (property_list [uml2_ProjectKB_Instance_11])
546
+ (widget_class_name "edu.stanford.smi.RemoteKBTab.WordNetTab"))
547
+
548
+ ([uml2_ProjectKB_Instance_10113] of Property_List
549
+
550
+ (properties
551
+ [uml2_ProjectKB_Instance_10114]
552
+ [uml2_ProjectKB_Instance_10115]))
553
+
554
+ ([uml2_ProjectKB_Instance_10114] of Boolean
555
+
556
+ (boolean_value FALSE)
557
+ (name "ButtonDisplayed-View References to Value"))
558
+
559
+ ([uml2_ProjectKB_Instance_10115] of Boolean
560
+
561
+ (boolean_value FALSE)
562
+ (name "ButtonDisplayed-Delete Instance"))
563
+
564
+ ([uml2_ProjectKB_Instance_10116] of Property_List
565
+ )
566
+
567
+ ([uml2_ProjectKB_Instance_10117] of Property_List
568
+ )
569
+
570
+ ([uml2_ProjectKB_Instance_10118] of Property_List
571
+
572
+ (properties
573
+ [uml2_ProjectKB_Instance_10119]
574
+ [uml2_ProjectKB_Instance_10120]))
575
+
576
+ ([uml2_ProjectKB_Instance_10119] of Boolean
577
+
578
+ (boolean_value FALSE)
579
+ (name "ButtonDisplayed-Move up"))
580
+
581
+ ([uml2_ProjectKB_Instance_10120] of Boolean
582
+
583
+ (boolean_value FALSE)
584
+ (name "ButtonDisplayed-Move down"))
585
+
586
+ ([uml2_ProjectKB_Instance_10121] of Property_List
587
+ )
588
+
589
+ ([uml2_ProjectKB_Instance_10122] of Property_List
590
+
591
+ (name "layout properties"))
592
+
593
+ ([uml2_ProjectKB_Instance_10123] of Property_List
594
+ )
595
+
596
+ ([uml2_ProjectKB_Instance_10124] of Property_List
597
+ )
598
+
599
+ ([uml2_ProjectKB_Instance_10125] of Property_List
600
+ )
601
+
602
+ ([uml2_ProjectKB_Instance_10126] of Property_List
603
+ )
604
+
605
+ ([uml2_ProjectKB_Instance_10127] of Property_List
606
+ )
607
+
608
+ ([uml2_ProjectKB_Instance_10128] of Property_List
609
+ )
610
+
611
+ ([uml2_ProjectKB_Instance_10129] of Property_List
612
+ )
613
+
614
+ ([uml2_ProjectKB_Instance_10130] of Property_List
615
+ )
616
+
617
+ ([uml2_ProjectKB_Instance_10131] of Property_List
618
+ )
619
+
620
+ ([uml2_ProjectKB_Instance_10132] of Property_List
621
+ )
622
+
623
+ ([uml2_ProjectKB_Instance_10133] of Property_List
624
+ )
625
+
626
+ ([uml2_ProjectKB_Instance_11] of Property_List
627
+ )
628
+
629
+ ([uml2_ProjectKB_Instance_12] of Widget
630
+
631
+ (is_hidden TRUE)
632
+ (property_list [uml2_ProjectKB_Instance_13])
633
+ (widget_class_name "edu.stanford.smi.protegex.owl.ui.metadatatab.OWLMetadataTab"))
634
+
635
+ ([uml2_ProjectKB_Instance_13] of Property_List
636
+ )
637
+
638
+ ([uml2_ProjectKB_Instance_14] of Widget
639
+
640
+ (is_hidden TRUE)
641
+ (property_list [uml2_ProjectKB_Instance_15])
642
+ (widget_class_name "edu.stanford.smi.protegex.changes.ChangesTab"))
643
+
644
+ ([uml2_ProjectKB_Instance_15] of Property_List
645
+ )
646
+
647
+ ([uml2_ProjectKB_Instance_16] of Widget
648
+
649
+ (is_hidden TRUE)
650
+ (property_list [uml2_ProjectKB_Instance_17])
651
+ (widget_class_name "edu.stanford.smi.protegex.owl.ui.widget.OWLFormsTab"))
652
+
653
+ ([uml2_ProjectKB_Instance_17] of Property_List
654
+ )
655
+
656
+ ([uml2_ProjectKB_Instance_18] of Widget
657
+
658
+ (is_hidden TRUE)
659
+ (property_list [uml2_ProjectKB_Instance_19])
660
+ (widget_class_name "ezpal.EZPalTab"))
661
+
662
+ ([uml2_ProjectKB_Instance_19] of Property_List
663
+ )
664
+
665
+ ([uml2_ProjectKB_Instance_2] of Widget
666
+
667
+ (is_hidden TRUE)
668
+ (property_list [uml2_ProjectKB_Instance_3])
669
+ (widget_class_name "dfki.protege.ontoviz_tab.OntovizTab"))
670
+
671
+ ([uml2_ProjectKB_Instance_20] of Widget
672
+
673
+ (is_hidden TRUE)
674
+ (property_list [uml2_ProjectKB_Instance_21])
675
+ (widget_class_name "edu.stanford.smi.protegex.owl.swrl.ui.tab.SWRLTab"))
676
+
677
+ ([uml2_ProjectKB_Instance_21] of Property_List
678
+ )
679
+
680
+ ([uml2_ProjectKB_Instance_22] of Widget
681
+
682
+ (is_hidden TRUE)
683
+ (property_list [uml2_ProjectKB_Instance_23])
684
+ (widget_class_name "edu.stanford.smi.protegex.fctab.FacetConstraintsTab"))
685
+
686
+ ([uml2_ProjectKB_Instance_23] of Property_List
687
+ )
688
+
689
+ ([uml2_ProjectKB_Instance_24] of Widget
690
+
691
+ (is_hidden TRUE)
692
+ (property_list [uml2_ProjectKB_Instance_25])
693
+ (widget_class_name "edu.stanford.smi.protegex.changes.changesKBViewTab.ChangesKBViewTab"))
694
+
695
+ ([uml2_ProjectKB_Instance_25] of Property_List
696
+ )
697
+
698
+ ([uml2_ProjectKB_Instance_26] of Widget
699
+
700
+ (is_hidden TRUE)
701
+ (property_list [uml2_ProjectKB_Instance_27])
702
+ (widget_class_name "edu.stanford.smi.protegex.xml.tab.XMLTab"))
703
+
704
+ ([uml2_ProjectKB_Instance_27] of Property_List
705
+ )
706
+
707
+ ([uml2_ProjectKB_Instance_28] of Widget
708
+
709
+ (is_hidden TRUE)
710
+ (property_list [uml2_ProjectKB_Instance_29])
711
+ (widget_class_name "edu.stanford.smi.protegex.prompt.PromptTab"))
712
+
713
+ ([uml2_ProjectKB_Instance_29] of Property_List
714
+ )
715
+
716
+ ([uml2_ProjectKB_Instance_3] of Property_List
717
+ )
718
+
719
+ ([uml2_ProjectKB_Instance_30] of Widget
720
+
721
+ (is_hidden TRUE)
722
+ (property_list [uml2_ProjectKB_Instance_31])
723
+ (widget_class_name "edu.stanford.smi.protege.widget.KAToolTab"))
724
+
725
+ ([uml2_ProjectKB_Instance_31] of Property_List
726
+ )
727
+
728
+ ([uml2_ProjectKB_Instance_32] of Widget
729
+
730
+ (is_hidden TRUE)
731
+ (property_list [uml2_ProjectKB_Instance_33])
732
+ (widget_class_name "edu.stanford.smi.protegex.owl.ui.properties.OWLPropertiesTab"))
733
+
734
+ ([uml2_ProjectKB_Instance_33] of Property_List
735
+ )
736
+
737
+ ([uml2_ProjectKB_Instance_34] of Widget
738
+
739
+ (is_hidden TRUE)
740
+ (property_list [uml2_ProjectKB_Instance_35])
741
+ (widget_class_name "edu.stanford.smi.protege.widget.ProtegePropertiesTab"))
742
+
743
+ ([uml2_ProjectKB_Instance_35] of Property_List
744
+ )
745
+
746
+ ([uml2_ProjectKB_Instance_36] of Widget
747
+
748
+ (is_hidden TRUE)
749
+ (property_list [uml2_ProjectKB_Instance_37])
750
+ (widget_class_name "edu.stanford.smi.protegex.widget.pal.PalConstraintsTab"))
751
+
752
+ ([uml2_ProjectKB_Instance_37] of Property_List
753
+ )
754
+
755
+ ([uml2_ProjectKB_Instance_38] of Widget
756
+
757
+ (is_hidden TRUE)
758
+ (property_list [uml2_ProjectKB_Instance_39])
759
+ (widget_class_name "edu.stanford.smi.protege.widget.instance_tree.KnowledgeTreeTab"))
760
+
761
+ ([uml2_ProjectKB_Instance_39] of Property_List
762
+ )
763
+
764
+ ([uml2_ProjectKB_Instance_4] of Widget
765
+
766
+ (is_hidden TRUE)
767
+ (property_list [uml2_ProjectKB_Instance_5])
768
+ (widget_class_name "script.ProtegeScriptTab"))
769
+
770
+ ([uml2_ProjectKB_Instance_40] of Widget
771
+
772
+ (is_hidden TRUE)
773
+ (property_list [uml2_ProjectKB_Instance_41])
774
+ (widget_class_name "edu.stanford.smi.protege.widget.instance_tree.InstanceTreeTab"))
775
+
776
+ ([uml2_ProjectKB_Instance_41] of Property_List
777
+ )
778
+
779
+ ([uml2_ProjectKB_Instance_42] of Widget
780
+
781
+ (is_hidden TRUE)
782
+ (property_list [uml2_ProjectKB_Instance_43])
783
+ (widget_class_name "edu.stanford.smi.protegex.changes.stats.ChangeStatisticsTab"))
784
+
785
+ ([uml2_ProjectKB_Instance_43] of Property_List
786
+ )
787
+
788
+ ([uml2_ProjectKB_Instance_44] of Widget
789
+
790
+ (is_hidden TRUE)
791
+ (property_list [uml2_ProjectKB_Instance_45])
792
+ (widget_class_name "se.liu.ida.JessTab.JessTab"))
793
+
794
+ ([uml2_ProjectKB_Instance_45] of Property_List
795
+ )
796
+
797
+ ([uml2_ProjectKB_Instance_46] of Widget
798
+
799
+ (is_hidden TRUE)
800
+ (property_list [uml2_ProjectKB_Instance_47])
801
+ (widget_class_name "ca.uvic.csr.shrimp.jambalaya.JambalayaTab"))
802
+
803
+ ([uml2_ProjectKB_Instance_47] of Property_List
804
+ )
805
+
806
+ ([uml2_ProjectKB_Instance_48] of Widget
807
+
808
+ (is_hidden TRUE)
809
+ (property_list [uml2_ProjectKB_Instance_49])
810
+ (widget_class_name "edu.stanford.smi.protegex.datamaster.DataMasterTab"))
811
+
812
+ ([uml2_ProjectKB_Instance_49] of Property_List
813
+ )
814
+
815
+ ([uml2_ProjectKB_Instance_5] of Property_List
816
+ )
817
+
818
+ ([uml2_ProjectKB_Instance_50] of Widget
819
+
820
+ (is_hidden TRUE)
821
+ (property_list [uml2_ProjectKB_Instance_51])
822
+ (widget_class_name "edu.stanford.smi.protegex.owl.ui.individuals.OWLIndividualsTab"))
823
+
824
+ ([uml2_ProjectKB_Instance_51] of Property_List
825
+ )
826
+
827
+ ([uml2_ProjectKB_Instance_52] of Widget
828
+
829
+ (is_hidden TRUE)
830
+ (property_list [uml2_ProjectKB_Instance_53])
831
+ (widget_class_name "uk.ac.man.cs.mig.coode.debugger.test.DebuggerTestTab"))
832
+
833
+ ([uml2_ProjectKB_Instance_53] of Property_List
834
+ )
835
+
836
+ ([uml2_ProjectKB_Instance_54] of Widget
837
+
838
+ (is_hidden TRUE)
839
+ (property_list [uml2_ProjectKB_Instance_55])
840
+ (widget_class_name "edu.stanford.smi.protegex.owl.ui.cls.OWLClassesTab"))
841
+
842
+ ([uml2_ProjectKB_Instance_55] of Property_List
843
+ )
844
+
845
+ ([uml2_ProjectKB_Instance_56] of Widget
846
+
847
+ (is_hidden TRUE)
848
+ (property_list [uml2_ProjectKB_Instance_57])
849
+ (widget_class_name "org.algernon.kb.okbc.protege.plugins.AlgernonTab"))
850
+
851
+ ([uml2_ProjectKB_Instance_57] of Property_List
852
+ )
853
+
854
+ ([uml2_ProjectKB_Instance_58] of Widget
855
+
856
+ (is_hidden TRUE)
857
+ (property_list [uml2_ProjectKB_Instance_59])
858
+ (widget_class_name "edu.stanford.smi.protegex.widget.pal.PalQueriesTab"))
859
+
860
+ ([uml2_ProjectKB_Instance_59] of Property_List
861
+ )
862
+
863
+ ([uml2_ProjectKB_Instance_6] of Widget
864
+
865
+ (is_hidden TRUE)
866
+ (property_list [uml2_ProjectKB_Instance_7])
867
+ (widget_class_name "edu.stanford.smi.protege.widget.ClsesAndInstancesTab"))
868
+
869
+ ([uml2_ProjectKB_Instance_60] of Widget
870
+
871
+ (is_hidden TRUE)
872
+ (property_list [uml2_ProjectKB_Instance_61])
873
+ (widget_class_name "edu.stanford.smi.protegex.chatPlugin.ChatTab"))
874
+
875
+ ([uml2_ProjectKB_Instance_61] of Property_List
876
+ )
877
+
878
+ ([uml2_ProjectKB_Instance_62] of Widget
879
+
880
+ (is_hidden TRUE)
881
+ (property_list [uml2_ProjectKB_Instance_63])
882
+ (widget_class_name "edu.stanford.smi.RemoteKBTab.UMLSTab"))
883
+
884
+ ([uml2_ProjectKB_Instance_63] of Property_List
885
+ )
886
+
887
+ ([uml2_ProjectKB_Instance_64] of Widget
888
+
889
+ (is_hidden TRUE)
890
+ (property_list [uml2_ProjectKB_Instance_65])
891
+ (widget_class_name "edu.stanford.smi.protegex.server_changes.prompt.UsersTab"))
892
+
893
+ ([uml2_ProjectKB_Instance_65] of Property_List
894
+ )
895
+
896
+ ([uml2_ProjectKB_Instance_66] of Widget
897
+
898
+ (is_hidden TRUE)
899
+ (property_list [uml2_ProjectKB_Instance_67])
900
+ (widget_class_name "uk.ac.man.ac.mig.coode.individuals.ui.OWLDLIndividualsTab"))
901
+
902
+ ([uml2_ProjectKB_Instance_67] of Property_List
903
+ )
904
+
905
+ ([uml2_ProjectKB_Instance_68] of Widget
906
+
907
+ (is_hidden TRUE)
908
+ (property_list [uml2_ProjectKB_Instance_69])
909
+ (widget_class_name "uk.ac.man.cs.mig.coode.owlviz.ui.OWLVizTab"))
910
+
911
+ ([uml2_ProjectKB_Instance_69] of Property_List
912
+ )
913
+
914
+ ([uml2_ProjectKB_Instance_7] of Property_List
915
+ )
916
+
917
+ ([uml2_ProjectKB_Instance_70] of String
918
+
919
+ (name ":INSTANCE-ANNOTATION")
920
+ (string_value "%3AANNOTATION-TEXT"))
921
+
922
+ ([uml2_ProjectKB_Instance_71] of String
923
+
924
+ (name ":PAL-CONSTRAINT")
925
+ (string_value "%3APAL-NAME"))
926
+
927
+ ([uml2_ProjectKB_Instance_72] of String
928
+
929
+ (name ":META-CLASS")
930
+ (string_value "%3ANAME"))
931
+
932
+ ([uml2_ProjectKB_Instance_8] of Widget
933
+
934
+ (is_hidden TRUE)
935
+ (property_list [uml2_ProjectKB_Instance_9])
936
+ (widget_class_name "edu.stanford.smi.protege.keywordsearch.StringSearch"))
937
+
938
+ ([uml2_ProjectKB_Instance_9] of Property_List
939
+ )
940
+
941
+ ([uml2_ProjectKB_Instance_92] of String
942
+
943
+ (name "SearchTab_Query"))