📄 classi_tiger.xmi
字号:
<codecomment tag="" text="/************************************************************************&#010; Frame/Access.java - Copyright gabriele&#010;&#010;Here you can write a license for your code, some comments or any other&#010;information you want to have in your generated code. To to this simply&#010;configure the "headings" directory in uml to point to a directory&#010;where you have your heading files.&#010;&#010;or you can just replace the contents of this file with your own.&#010;If you want to do this, this file is located at&#010;&#010;/usr/share/apps/umbrello/headings/heading.java&#010;&#010;-->Code Generators searches for heading files based on the file extension&#010; i.e. it will look for a file name ending in ".h" to include in C++ header&#010; files, and for a file name ending in ".java" to include in all generated&#010; java code.&#010; If you name the file "heading.<extension>", Code Generator will always&#010; choose this file even if there are other files with the same extension in the&#010; directory. If you name the file something else, it must be the only one with that&#010; extension in the directory to guarantee that Code Generator will choose it.&#010;&#010;you can use variables in your heading files which are replaced at generation&#010;time. possible variables are : author, date, time, filename and filepath.&#010;just write %variable_name%&#010;&#010;This file was generated on Mon Jun 6 2005 at 23:34:18&#010;The original location of this file is &#010;**************************************************************************/&#010;" /> </header> <classfields/> </classifiercodedocument> <classifiercodedocument writeOutCode="true" package="" id="12" parent_class="12" fileExt=".java" fileName="Mips/InFrame" > <textblocks> <codeblockwithcomments tag="packages" writeOutText="false" > <header> <codecomment tag="" writeOutText="false" /> </header> </codeblockwithcomments> <codeblockwithcomments tag="imports" text="&#010;import Frame/Access;" > <header> <codecomment tag="" writeOutText="false" /> </header> </codeblockwithcomments> <javaclassdeclarationblock parent_id="12" tag="ClassDeclBlock" canDelete="false" role_id="-1" > <header> <javacodedocumentation tag="" text="Class Mips/InFrame&#010;" /> </header> <textblocks> <hierarchicalcodeblock tag="fieldsDecl" canDelete="false" indentLevel="1" > <header> <codecomment tag="" indentLevel="1" text="Fields" /> </header> <textblocks> <ccfdeclarationcodeblock parent_id="124" tag="tblock_0" canDelete="false" indentLevel="1" role_id="-1" text="public int offset;" > <header> <codecomment tag="" indentLevel="1" /> </header> </ccfdeclarationcodeblock> </textblocks> </hierarchicalcodeblock> <hierarchicalcodeblock tag="methodsBlock" canDelete="false" indentLevel="1" > <header> <codecomment tag="" indentLevel="1" text="Methods" /> </header> <textblocks> <hierarchicalcodeblock tag="constructorMethods" canDelete="false" indentLevel="1" > <header> <codecomment tag="" indentLevel="1" text="Constructors" /> </header> <textblocks> <codeblockwithcomments tag="emptyconstructor" writeOutText="false" indentLevel="1" text="public Mips/InFrame ( ) { }" > <header> <codecomment tag="" indentLevel="1" text="Empty Constructor" /> </header> </codeblockwithcomments> </textblocks> </hierarchicalcodeblock> <hierarchicalcodeblock tag="accessorMethods" canDelete="false" indentLevel="1" > <header> <codecomment tag="" indentLevel="1" text="Accessor Methods" /> </header> <textblocks> <hierarchicalcodeblock tag="staticAccessorMethods" canDelete="false" indentLevel="1" > <header> <codecomment tag="" writeOutText="false" indentLevel="1" /> </header> <textblocks> <codeaccessormethod accessType="0" parent_id="124" tag="hblock_tag_0" canDelete="false" indentLevel="1" classfield_id="124" role_id="-1" text="return offset;" > <header> <javacodedocumentation tag="" indentLevel="1" text="Get the value of offset&#010;&#010;@return the value of offset" /> </header> </codeaccessormethod> <codeaccessormethod accessType="1" parent_id="124" tag="hblock_tag_1" canDelete="false" indentLevel="1" classfield_id="124" role_id="-1" text="offset = value;" > <header> <javacodedocumentation tag="" indentLevel="1" text="Set the value of offset&#010;&#010;" /> </header> </codeaccessormethod> </textblocks> </hierarchicalcodeblock> <hierarchicalcodeblock tag="regularAccessorMethods" canDelete="false" indentLevel="1" > <header> <codecomment tag="" writeOutText="false" indentLevel="1" /> </header> <textblocks/> </hierarchicalcodeblock> </textblocks> </hierarchicalcodeblock> <hierarchicalcodeblock tag="operationMethods" canDelete="false" indentLevel="1" > <header> <codecomment tag="" indentLevel="1" text="Operations" /> </header> <textblocks/> </hierarchicalcodeblock> </textblocks> </hierarchicalcodeblock> </textblocks> </javaclassdeclarationblock> </textblocks> <header> <codecomment tag="" text="/************************************************************************&#010; Mips/InFrame.java - Copyright gabriele&#010;&#010;Here you can write a license for your code, some comments or any other&#010;information you want to have in your generated code. To to this simply&#010;configure the "headings" directory in uml to point to a directory&#010;where you have your heading files.&#010;&#010;or you can just replace the contents of this file with your own.&#010;If you want to do this, this file is located at&#010;&#010;/usr/share/apps/umbrello/headings/heading.java&#010;&#010;-->Code Generators searches for heading files based on the file extension&#010; i.e. it will look for a file name ending in ".h" to include in C++ header&#010; files, and for a file name ending in ".java" to include in all generated&#010; java code.&#010; If you name the file "heading.<extension>", Code Generator will always&#010; choose this file even if there are other files with the same extension in the&#010; directory. If you name the file something else, it must be the only one with that&#010; extension in the directory to guarantee that Code Generator will choose it.&#010;&#010;you can use variables in your heading files which are replaced at generation&#010;time. possible variables are : author, date, time, filename and filepath.&#010;just write %variable_name%&#010;&#010;This file was generated on Mon Jun 6 2005 at 23:34:18&#010;The original location of this file is &#010;**************************************************************************/&#010;" /> </header> <classfields> <codeclassfield parent_id="124" field_type="0" initialValue="" role_id="-1" writeOutMethods="true" listClassName="" > <header> <codecomment tag="" /> </header> <ccfdeclarationcodeblock parent_id="124" tag="tblock_0" canDelete="false" indentLevel="1" role_id="-1" text="public int offset;" > <header> <codecomment tag="" indentLevel="1" /> </header> </ccfdeclarationcodeblock> <codeaccessormethod accessType="0" parent_id="124" tag="hblock_tag_0" canDelete="false" indentLevel="1" classfield_id="124" role_id="-1" text="return offset;" > <header> <javacodedocumentation tag="" indentLevel="1" text="Get the value of offset&#010;&#010;@return the value of offset" /> </header> </codeaccessormethod> <codeaccessormethod accessType="1" parent_id="124" tag="hblock_tag_1" canDelete="false" indentLevel="1" classfield_id="124" role_id="-1" text="offset = value;" > <header> <javacodedocumentation tag="" indentLevel="1" text="Set the value of offset&#010;&#010;" /> </header> </codeaccessormethod> </codeclassfield> </classfields> </classifiercodedocument> <classifiercodedocument writeOutCode="true" package="" id="13" parent_class="13" fileExt=".java" fileName="Mips/InReg" > <textblocks> <codeblockwithcomments tag="packages" writeOutText="false" > <header> <codecomment tag="" writeOutText="false" /> </header> </codeblockwithcomments> <codeblockwithcomments tag="imports" text="&#010;import Frame/Access;&#010;import Tree/Exp;&#010;import Temp/Temp;" > <header> <codecomment tag="" writeOutText="false" /> </header> </codeblockwithcomments> <javaclassdeclarationblock parent_id="13" tag="ClassDeclBlock" canDelete="false" role_id="-1" > <header> <javacodedocumentation tag="" text="Class Mips/InReg&#010;" /> </header> <textblocks> <hierarchicalcodeblock tag="fieldsDecl" canDelete="false" indentLevel="1" > <header> <codecomment tag="" indentLevel="1" text="Fields" /> </header> <textblocks> <ccfdeclarationcodeblock parent_id="125" tag="tblock_0" canDelete="false" indentLevel="1" role_id="-1" text="protected Temp/Temp temp;" > <header> <codecomment tag="" indentLevel="1" /> </header> </ccfdeclarationcodeblock> </textblocks> </hierarchicalcodeblock> <hierarchicalcodeblock tag="methodsBlock" canDelete="false" indentLevel="1" > <header> <codecomment tag="" indentLevel="1" text="Methods" /> </header> <textblocks> <hierarchicalcodeblock tag="constructorMethods" canDelete="false" indentLevel="1" > <header> <codecomment tag="" indentLevel="1" text="Constructors" /> </header> <textblocks> <codeblockwithcomments tag="emptyconstructor" writeOutText="false" indentLevel="1" text="public Mips/InReg ( ) { }" > <header> <codecomment tag="" indentLevel="1" text="Empty Constructor" /> </header> </codeblockwithcomments> </textblocks> </hierarchicalcodeblock> <hierarchicalcodeblock tag="accessorMethods" canDelete="false" indentLevel="1" > <header> <codecomment tag="" indentLevel="1" text="Accessor Methods" /> </header> <textblocks> <hierarchicalcodeblock tag="staticAccessorMethods" canDelete="false" indentLevel="1" > <header> <codecomment tag="" writeOutText="false" indentLevel="1" /> </header> <textblocks> <codeaccessormethod accessType="0" parent_id="125" tag="hblock_tag_0" canDelete="false" indentLevel="1" classfield_id="125" role_id="-1" text="return temp;" > <header> <javacodedocumentation tag="" indentLevel="1" text="Get the value of temp&#010;&#010;@return the value
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -