- 追加された行はこの色です。
- 削除された行はこの色です。
[[Eclipse/プラグイン開発のTIPS集/GooglePlugin/実際の検索ロジックをビューに実装]]
// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
つぎは [[「検索ロジックをビューに実装」>Eclipse/プラグイン開発のTIPS集/GooglePlugin/実際の検索ロジックをビューに実装]] で実装したビューのメソッドを呼び出すポップアップメニューをJavaエディタに実装します。
エディタのポップアップにプラグインする方法などは[[メニューバーとか、ポップアップとかのまとめ>Eclipse/プラグイン開発のTIPS集/メニューバーとか、ポップアップとかのまとめ]]
***plugin.xml [#w13e0f16]
<extension point="org.eclipse.ui.popupMenus">
<viewerContribution
targetID="#CompilationUnitEditorContext"
id="nu.mine.kino.plugin.google.contributions.CompilationUnitEditorContext">
<action
label="Googleで検索"
icon="icons/icon.gif"
class="nu.mine.kino.plugin.google.popup.actions.CompilationUnitEditorContextAction"
menubarPath="additions"
id="nu.mine.kino.plugin.google.popup.actions.CompilationUnitEditorContextAction">
<selection
class="org.eclipse.jface.text.ITextSelection">
</selection>
</action>
</viewerContribution>
</extension>
----
この記事は
#vote(おもしろかった,そうでもない)
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}