Difference between revisions of "HowToAddAFormat"

From OOModels
Jump to navigationJump to search
(New page: * Become familiar with editing wiki pages in general. If you just want to try it out, you can do so in the OOModels:Sandbox. * If you don't already have, [[Special:Use...)
 
Line 3: Line 3:
* Let's assume your format is named ''MyFormat''.
* Let's assume your format is named ''MyFormat''.
* Find a suitable namespace for the format. If it's your or your company's format, you might just want to use your reverse domain name. Let's assume that's 'com/example'. If you want to add or document a well known format (like UML) choose a domain name carefully, use official sites, xml schema URIs or alike as your guide.
* Find a suitable namespace for the format. If it's your or your company's format, you might just want to use your reverse domain name. Let's assume that's 'com/example'. If you want to add or document a well known format (like UML) choose a domain name carefully, use official sites, xml schema URIs or alike as your guide.
* Create a wiki page named [[Type:org/example/MyType]]. You can do so by linking to this page with a wiki link, like here in this sentence. You can also just type the respective URL in your browser [http://www.oomodels.org/wiki/index.php/Type:org/example/MyType http://www.oomodels.org/wiki/index.php/Type:org/example/MyType] ([[Help:Structure|learn more about wiki page names]])
* Create a wiki page named [[Type:com/example/MyType]]. You can do so by linking to this page with a wiki link, like here in this sentence. You can also just type the respective URL in your browser [http://www.oomodels.org/wiki/index.php/Type:com/example/MyType http://www.oomodels.org/wiki/index.php/Type:com/example/MyType] ([[Help:Structure|learn more about wiki page names]])
* Now you can [[TypeSyntax|create a type from scratch]], or you can just copy&paste the wiki code from an existing type page (e.g. [[Type:org/omg/UML]]) and adopt it to your needs.
* Now you can [[TypeSyntax|create a type from scratch]], or you can just copy&paste the wiki code from an existing type page (e.g. [[Type:org/omg/UML]]) and adopt it to your needs.
* optionally create a variant subpage, and/or optionally create a version subpage (use existing examples for copy&paste)
* optionally create a variant subpage, and/or optionally create a version subpage (use existing examples for copy&paste)


[[Category:HowTo]]
[[Category:HowTo]]

Revision as of 19:52, 10 July 2008