location URI 定義如下

 

Table 1. 

Contribution toDescriptionUri
Application menu 應用程式的menu區 "menu:org.eclipse.ui.main.menu"
Application toolbar 應用程式程式的toolbar區 "toolbar:org.eclipse.ui.main.toolbar"
View toolbar 在view的toolBar區 "toolbar:viewId". For example to display a menu to view with the Id "View1" use "toolbar:View1".
Content menu / pop-up Command is displayed in a content menu, e.g. right mouse click on an object n.a.

引述:Eclipse Commands with Eclipse 3.5 (Galileo) - Tutorial

創作者介紹
創作者 無語 的頭像
JKKLin

無語

JKKLin 發表在 痞客邦 留言(2) 人氣( 16 )