Difference between revisions of "HowToAddAFormat"

From OOModels
Jump to navigationJump to search
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: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]])
* Create a wiki page named [[Type:com/example/MyType]]. You can do so by linking to yonder 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/XMI]]) 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/XMI]]) and adopt it to your needs.
* optionally create a variant subpage, and/or optionally create a version subpage (use existing examples for copy&paste, like [[Type:org/omg/XMI/2.1]])
* optionally create a variant subpage, and/or optionally create a version subpage (use existing examples for copy&paste, like [[Type:org/omg/XMI/2.1]])


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

Revision as of 08:37, 14 July 2008