EclipsePlugin開発

Package Explorer, Project Explorerの選択された要素から絶対パスの取得する

ISelection(IStructuredSelectionかもしらん)からget*Element()みたいな感じでI*Elementを取得する.IHogeElementは,例えばパッケージだとIPackageFragmentが実体になってる. あとは,IHogeElementからgetResource().getLocation*()でフルパスを取得できる…

自前ClassLoaderはだめ

ClassLoaderがよーわからんのやけど,とりあえずだめ! http://www.eclipsezone.com/eclipse/forums/t61831.html