-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Luke Zhang
committed
Jan 8, 2016
1 parent
14ef071
commit b9d2fbd
Showing
3 changed files
with
217 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><umlet_diagram><help_text>// Uncomment the following line to change the fontsize: | ||
// fontsize=14 | ||
|
||
|
||
////////////////////////////////////////////////////////////////////////////////////////////// | ||
// Welcome to UMLet! | ||
// | ||
// Double-click on UML elements to add them to the diagram, or to copy them | ||
// Edit elements by modifying the text in this panel | ||
// Hold ⌘ to select multiple elements | ||
// Use ⌘+mouse to select via lasso | ||
// | ||
// Use ± or ⌘+mouse wheel to zoom | ||
// Drag a whole relation at its central square icon | ||
// | ||
// Press ⌘+C to copy the whole diagram to the system clipboard (then just paste it to, eg, Word) | ||
// Edit the files in the "palettes" directory to create your own element palettes | ||
// | ||
// Select "Custom Elements > New..." to create new element types | ||
////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
|
||
// This text will be stored with each diagram; use it for notes.</help_text><zoom_level>6</zoom_level><element><type>com.umlet.element.base.Class</type><coordinates><x>612</x><y>102</y><w>426</w><h>90</h></coordinates><panel_attributes><<class>> | ||
ClassDeclarationVisitor | ||
|
||
-- | ||
+ClassDeclarationVisitor(int arg0) | ||
+ClassDeclarationVisitor(int arg0, ClassVisitor arg1) | ||
+void visit(int version, int access, String name, String signature, String superName, String[] interfaces) | ||
+String getClassName() | ||
+String getExtendsName() | ||
+ArrayList<String> getImplementsList() | ||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>156</x><y>102</y><w>426</w><h>66</h></coordinates><panel_attributes><<class>> | ||
ClassFieldVisitor | ||
-- | ||
+ClassFieldVisitor(int arg0) | ||
+ClassFieldVisitor(int arg0, ClassVisitor arg1) | ||
+FieldVisitor visitField(int access, String name, String desc, String signature, Object value) | ||
+ArrayList<InstanceVarRecord> getFields() | ||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1062</x><y>108</y><w>426</w><h>66</h></coordinates><panel_attributes><<class>> | ||
ClassMethodVisitor | ||
-- | ||
+ClassMethodVisitor(int arg0) | ||
+ClassMethodVisitor(int arg0, ClassVisitor arg1) | ||
+MethodVisitor visitMethod(int access, String name, String desc, String signature, Object value) | ||
+ArrayList<InstanceVarRecord> getMethods() | ||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>612</x><y>258</y><w>426</w><h>90</h></coordinates><panel_attributes><<class>> | ||
ClassVisitor | ||
|
||
-- | ||
+void visitSource | ||
+void visitOuterClass | ||
+void visitInnerClass | ||
+void visitField | ||
+void visitMethod | ||
+void visitEnd | ||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>348</x><y>150</y><w>276</w><h>120</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>264;108;18;18</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>816</x><y>174</y><w>30</w><h>96</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>18;84;18;18</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1020</x><y>156</y><w>246</w><h>114</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>18;102;234;18</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>0</x><y>408</y><w>426</w><h>126</h></coordinates><panel_attributes><<class>> | ||
UmlBuilder | ||
-- | ||
+UmlBuilder(String className) | ||
+String createDigraph(ClassRecord record) | ||
+String getClassUML() | ||
+ArrayList<String> getImplementsList() | ||
+ArrayList<InstanceVarRecord> getFields() | ||
+void setImplementsList(ArrayList<String> implementsList) | ||
+String getExtendsName() | ||
+void setExtendsName(String extendsName) | ||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>486</x><y>396</y><w>426</w><h>126</h></coordinates><panel_attributes><<class>> | ||
ClassRecord | ||
-- | ||
+UmlBuilder(String className) | ||
+ClassRecord(String className, String extendsType, ArrayList<MethodRecord> methods, ArrayList<String> implementsList, ArrayList<InstanceVarRecord> fields){ | ||
+String getClassName() | ||
+void setClassName(String className) | ||
+String getExtendsName() | ||
+void setExtendsName(String extendsName) | ||
+ArrayList<MethodRecord> getMethods() | ||
+void setMethods(ArrayList<MethodRecord> methods) | ||
+ArrayList<String> getImplementsList() | ||
+void setImplementsList(ArrayList<String> implementsList) | ||
+ArrayList<InstanceVarRecord> getFields() | ||
|
||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>948</x><y>396</y><w>426</w><h>126</h></coordinates><panel_attributes><<class>> | ||
MethodRecord | ||
-- | ||
+ MethodRecord(int access, String name, String returnType, Type[] argTypes, List<String> stypes) { | ||
+ Type[] getArgTypes() | ||
+ void setArgTypes(Type[] argTypes) | ||
+ String getReturnType() | ||
+ void setReturnType(String returnType) | ||
+ void setStypes(List<String> stypes) | ||
+ List<String> getStypes() | ||
+ String getName() | ||
+ void setName(String name) | ||
+ int getAccess() | ||
+ void setAccess(int access) | ||
+ boolean equals(Object other)</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>486</x><y>564</y><w>426</w><h>126</h></coordinates><panel_attributes><<class>> | ||
InstanceVarRecord | ||
-- | ||
+ InstanceVarRecord(String name, String type, int access) | ||
+ String getName() | ||
+ void setName(String name) | ||
+ String getType() | ||
+ void setType(String type) | ||
+ int getAccess() | ||
+ void setAccess(int access) | ||
+ boolean equals(Object o) | ||
</panel_attributes><additional_attributes/></element></umlet_diagram> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><umlet_diagram><help_text>// Uncomment the following line to change the fontsize: | ||
// fontsize=14 | ||
|
||
|
||
////////////////////////////////////////////////////////////////////////////////////////////// | ||
// Welcome to UMLet! | ||
// | ||
// Double-click on UML elements to add them to the diagram, or to copy them | ||
// Edit elements by modifying the text in this panel | ||
// Hold ⌘ to select multiple elements | ||
// Use ⌘+mouse to select via lasso | ||
// | ||
// Use ± or ⌘+mouse wheel to zoom | ||
// Drag a whole relation at its central square icon | ||
// | ||
// Press ⌘+C to copy the whole diagram to the system clipboard (then just paste it to, eg, Word) | ||
// Edit the files in the "palettes" directory to create your own element palettes | ||
// | ||
// Select "Custom Elements > New..." to create new element types | ||
////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
|
||
// This text will be stored with each diagram; use it for notes.</help_text><zoom_level>6</zoom_level><element><type>com.umlet.element.base.Class</type><coordinates><x>636</x><y>30</y><w>426</w><h>90</h></coordinates><panel_attributes><<class>> | ||
ClassDeclarationVisitor | ||
|
||
-- | ||
+ClassDeclarationVisitor(int arg0) | ||
+ClassDeclarationVisitor(int arg0, ClassVisitor arg1) | ||
+void visit(int version, int access, String name, String signature, String superName, String[] interfaces) | ||
+String getClassName() | ||
+String getExtendsName() | ||
+ArrayList<String> getImplementsList() | ||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>180</x><y>30</y><w>426</w><h>66</h></coordinates><panel_attributes><<class>> | ||
ClassFieldVisitor | ||
-- | ||
+ClassFieldVisitor(int arg0) | ||
+ClassFieldVisitor(int arg0, ClassVisitor arg1) | ||
+FieldVisitor visitField(int access, String name, String desc, String signature, Object value) | ||
+ArrayList<InstanceVarRecord> getFields() | ||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1086</x><y>36</y><w>426</w><h>66</h></coordinates><panel_attributes><<class>> | ||
ClassMethodVisitor | ||
-- | ||
+ClassMethodVisitor(int arg0) | ||
+ClassMethodVisitor(int arg0, ClassVisitor arg1) | ||
+MethodVisitor visitMethod(int access, String name, String desc, String signature, Object value) | ||
+ArrayList<InstanceVarRecord> getMethods() | ||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>636</x><y>186</y><w>426</w><h>90</h></coordinates><panel_attributes><<class>> | ||
ClassVisitor | ||
|
||
-- | ||
+void visitSource | ||
+void visitOuterClass | ||
+void visitInnerClass | ||
+void visitField | ||
+void visitMethod | ||
+void visitEnd | ||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>372</x><y>78</y><w>276</w><h>120</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>264;108;18;18</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>840</x><y>102</y><w>30</w><h>96</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>18;84;18;18</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1044</x><y>84</y><w>246</w><h>114</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>18;102;234;18</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>24</x><y>336</y><w>426</w><h>126</h></coordinates><panel_attributes><<class>> | ||
UmlBuilder | ||
-- | ||
+UmlBuilder(String className) | ||
+String createDigraph(ClassRecord record) | ||
+String getClassUML() | ||
+ArrayList<String> getImplementsList() | ||
+ArrayList<InstanceVarRecord> getFields() | ||
+void setImplementsList(ArrayList<String> implementsList) | ||
+String getExtendsName() | ||
+void setExtendsName(String extendsName) | ||
+ String getUsesList() | ||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>510</x><y>324</y><w>426</w><h>138</h></coordinates><panel_attributes><<class>> | ||
ClassRecord | ||
-- | ||
+UmlBuilder(String className) | ||
+ClassRecord(String className, String extendsType, ArrayList<MethodRecord> methods, ArrayList<String> implementsList, ArrayList<InstanceVarRecord> fields){ | ||
+String getClassName() | ||
+void setClassName(String className) | ||
+String getExtendsName() | ||
+void setExtendsName(String extendsName) | ||
+ArrayList<MethodRecord> getMethods() | ||
+void setMethods(ArrayList<MethodRecord> methods) | ||
+ArrayList<String> getImplementsList() | ||
+void setImplementsList(ArrayList<String> implementsList) | ||
+ArrayList<InstanceVarRecord> getFields() | ||
|
||
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>972</x><y>324</y><w>426</w><h>150</h></coordinates><panel_attributes><<class>> | ||
MethodRecord | ||
-- | ||
+ MethodRecord(int access, String name, String returnType, Type[] argTypes, List<String> stypes) { | ||
+ Type[] getArgTypes() | ||
+ void setArgTypes(Type[] argTypes) | ||
+ String getReturnType() | ||
+ void setReturnType(String returnType) | ||
+ void setStypes(List<String> stypes) | ||
+ List<String> getStypes() | ||
+ String getName() | ||
+ void setName(String name) | ||
+ int getAccess() | ||
+ void setAccess(int access) | ||
+ boolean equals(Object other)</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>510</x><y>492</y><w>426</w><h>126</h></coordinates><panel_attributes><<class>> | ||
InstanceVarRecord | ||
-- | ||
+ InstanceVarRecord(String name, String type, int access) | ||
+ String getName() | ||
+ void setName(String name) | ||
+ String getType() | ||
+ void setType(String type) | ||
+ int getAccess() | ||
+ void setAccess(int access) | ||
+ boolean equals(Object o) | ||
</panel_attributes><additional_attributes/></element></umlet_diagram> |