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...)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{HelpPagesHeaderBar}}
* Become familiar with [[Help:Editing|editing]] wiki pages in general. If you just want to try it out, you can do so in the [[OOModels:Sandbox]].
* Become familiar with [[Help:Editing|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:Userlogin|create an account and login]] ([[Why do I need an account?]]).
* If you don't already have, [[Special:Userlogin|create an account and login]] ([[Why do I need an account?]]).
* 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 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/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/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)
* 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]]

Latest revision as of 08:58, 14 July 2008