Eclipse/Plugin開発/headless Eclipse

Top / Eclipse / Plugin開発 / headless Eclipse

Plug-inだけどコンソールみたいな代物らしい。
DOM/AST APIは headless Eclipse じゃないダメらしい。
http://dev.eclipse.org/newslists/news.eclipse.tools.jdt/msg15535.html

作り方

http://www.developertesting.com/archives/month200508/20050823-HeadlessHelloWorldInEclipse.html

  1. Plug-in project作成
    1. This plug-in will make contributions to the UI オフ
    2. Create a plug-in using one of templates オフ
  2. Extentionのところで org.eclipse.core.runtime.apllications を追加
    1. 追加されたモノを右クリック New → application
    2. さらに New → run
    3. class にこれから作るクラスを指定
  3. org.eclipse.core.runtime.IPlatformRunnable を実装したクラス作成
  4. plugin.xmlのextentionのところに id="〜" を追加
  5. run as → Eclipse application で実行可能

トップ   差分 バックアップ リロード   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2005-10-06 (木) 17:33:38 (6776d)