输入网址:http://www.soyatec.com/update
在出现选项后全部勾选选择下一步即可。
使用:
1、选择File-> New ->Other->eUML2 Diagrams->UML2 Class Diagram
2、下一步选择你需要为那部分内容生成类图,输入文件名、包名,finish
技巧二 修改eclipse颜色配置
1.设置背景色
windows->Preferences->General->Editor->Text Editors
右边选择Appearance color options
选Background color 选择背景颜色(背景颜色向你推荐:色调-85 饱和度-123 亮度-205)
选Current line highlight 来改变 当前选中行 的颜色
2.改变字体颜色
windows->Preferences->Java->Editor->Syntax Coloring
右边选择Java 然后可以自由选择颜色了
设置文字大小方案一
Annotations(注释): 107, 147, 186 浅蓝色
Deprecated members(不建议使用的成员): 0, 0, 0
Fields(字段): 128, 0, 128 紫色
KeyWord 'return'(关键字'return'): 255, 0, 0 红色
Keyword excluding 'return'(除了关键字以外的return): 255, 128 ,0 橙色
Local variable declarations(局部变量声明): 128, 128, 128 灰色
Method declarations(方法声明): 255, 128, 64 橙色
Method(方法): 0, 48, 96 暗浅蓝色
Operators and brackets(运算符与方括号): 255, 128, 0 橙色
Others(其他): 96 153, 0 深绿色
Static fields(静态字段): 33, 0, 189 深蓝色
Static Method invocations(静态方法调用): 77, 166 255 天蓝色
Strings(字符串): 132, 26, 238 中天蓝色
Type variables(类型变量): 128, 0, 25 红罗色
方案二改变背景颜色(黑底背景的设置)
windows->Preferences->General->Editor->Text Editors
右边选择Appearance color options
选Background color 选择背景颜色
选Current line highlight 来改变 当前选中行 的颜色
配色方案详细following:
Annotations(注释): 107, 147, 186
Deprecated members(不建议使用的成员): 0, 0, 0
Fields(字段):128,255,0 绿色
KeyWord 'return'(关键字'return'): 255, 0, 0 红色
Keyword excluding 'return'(除了关键字以外的return): 255,80, 0 深深橘色
Local variable declarations(局部变量声明): 70,140,179 深蓝色
Method declarations(方法声明): 247,197,39 淡橘色
Method(方法): 241,196,54 深淡橘色
Operators and brackets(运算符与方括号): 255, 128, 0 深橘色
Others(其他): 126, 202, 0 淡绿色
Static fields(静态字段): 128,255,0 绿色
Static Method invocations(静态方法调用): 77, 166 255
Strings(字符串): 89,196,196 墨蓝色
Type variables(类型变量): 222, 0, 25 红色
window--preferences--General--appearance--colors and fonts--java-- "java editor text font "
然后点change,可以设置字体的大小
很奇异,启动画面闪一下就没了。
在网上找了半天,后来终于发现一个方法:
eclipse 下面有个eclipse.ini文件,打开了。在最上面加上 -vm C:\java\bin\javaw.exe
(即添加java路径下的javaw.exe)