原创 Eclipse Tip: Hover to view source
There are different hovers in Eclipse which are shown based on modifiers like Shift, Ctrl… One of such hovers is pops
原创 視圖間通信
視圖間通信的3個步驟:1. 目標視圖: 在createPartControl()中,將具體的viewer作爲selectionProvider註
原创 How do I find a particular class from an Eclipse plug-in?
There are two easier approaches to adding Eclipse plug-ins to the Java sea
原创 JDT - Java element hierarchy
hierarchy Java model (IJavaModel) Java project (IJavaProject) package fragment root (IPackageFragmentRoot) package f
原创 日誌文件的功能
1. 從致命錯誤中恢復狀態。 2. 提高程序性能。
原创 Perspective's ratio configuration in plugin.xml
For a vertical split, the part on top gets the specified ratio of the current space and the part on bottom gets the res
原创 The First Column in a Table Is Always Left-Aligned
Due to a restriction in Microsoft Windows, the alignment of the first column in a table cannot be changed. To create pr
原创 Eclipse的trace功能測試插件的步驟
1. 在插件項目中新建一個名爲.options的文件(會在啓動trace後掃描出來),以‘插件id/選項=值’的形式書寫測試選項。 2. 在public class Activator extends AbstractUIPlugin
原创 use wizards framework
Wizard class hierarchy 開發步驟(非實現Eclipse提供的3個Wizard Extension points: 1. 繼承Wizard: 構造器中初始化基本信息,可創建一個帶ISelection的構造器,由調
原创 error - "eUML2 Free Edition requires 'bundle org.apache.batik.dom.svg 1.6.0' "
"eUML2" UML Diagramming Tool eUML2 Home Page: http://www.soyatec.com eUML2 is a commercial UML diagramming tool for
原创 toggle style menu contribution ,which is not persisted
This is the definition,Menu Contributions/Toggle Button Command. Use the RegistryToggleState has two reasons: It impl
原创 How to change tooltip background color in Unity?
Here is a screenshot of Eclipse which displays some source code in a tool tip with black text on black background:
原创 How to turn off the Javadoc hover
Preferences / Java / Editor / Hover 1. untick the "Combined Hover" option: no more popup. Then you would have: Shift
原创 web.xml中的url-pattern
在 web.xml 文件中,以下語法用於定義映射: 以 ”/’ 開頭和以 ”/*” 結尾的是用來做路徑映射的。 以前綴 ”*.” 開頭的是用來做擴展映射的。 “/” 是用來定義 default servlet
原创 servlet objectinputstream eofexception
The constructor for ObjectInputStream reads some header information from the serialized stream, and if the stream doesn