Maven Tycho for building Eclipse plug-ins, OSGi bundles and Eclipse applications with the command line - Tutorial
Use the openEditor methods on org.eclipse.ui.IWorkbenchPage to open an editor on a given input. The openEditor methods require you to supply the ID of the editor to open. You can use the editor registry to find out what editor ID is appropriate for a given file name, using the getDefaultEditor method on IEditorRegistry. In Eclipse 3.0, the editor opening methods that were specific to IFile were mo
Fully updated for Eclipse 2025-12. Covers SWT, JFace, OSGi, Maven/Tycho builds, and migrating legacy Eclipse 3.x applications. Available as paperback and Kindle e-book. Learn more → Getting started guides Getting started with Eclipse RCP OSGi modularity and services Eclipse product and application deployment Using the SWT and JFace widget toolkit Developing custom widgets with SWT and JFace Using
photo credit: adactio MACのSWT3.7からToucheListenerが導入されていました! ブラウザを作って使ってみました。 GestureEventは、detailでタッチイベントを区別します。 3本指スワイプ・ローテーション・パン?(たぶん2本指で広げる操作)などいろいろ取得できる。 簡単に調査したところ、3本指でさっと動かすとGESTURE_SWIPEが発生し、 左に動かすとxDirectionが正の値、右に動かすとxDirectionが負の値になるようです。 ちなみに、MAC 64bitの場合は、JavaVM引数として「-XstartOnFirstThread」を指定しないとSWTのDisplay作成に失敗するので注意です。(ものすごいはまった・・・) 以下サンプルです。URL入力とURLイベント・タイトルイベント・ステータスイベント・ 新しいウ
Eclipseのワークスペース設定を共有することは難しい EclipseはJavaの開発では最も人気の高いIDEであり、もちろん、私も仕事でも自宅でもずっとメインのIDEとして使ってきました。もちろん、NetBeansやIDEAなど他の優秀なIDEもフリーで利用できる時代なのですが、やはり、入力支援機構やリファクタリング機能の豊富さについては、やはり、Eclipseが他と比べて一歩優れているように思われます。*1 そして、Eclipseの最大の特徴の一つは柔軟なプラグインのアーキテクチャであり、豊富なプラグインの中から選択して好みの機能を拡張することができます。ただし、これはEclipseの最大のメリットでもあるのですが、大量のプラグインを管理して複数の端末で効率的に共有するということは案外大変なことでした。 Pleiadesのオールインワンパッケージを利用したり、また、SpringやJB
Besides all the Java code in the RAP project, we also have more than 250 JavaScript files which total up to 75k lines of code. For such an amount of code, you should have some kind of code analysis that detects common coding problems like unintentional global variables. We use the JSEclipse plug-in for JavaScript editing which detects some, but not many JavaScript problems. A while ago, we tried t
ついにリリースされたScala IDE for Eclipse 2.0 JavaVM上で動作する次世代言語として注目を集めるScalaだが、Eclipse(JDT)という非常に強力なIDEが存在するEclipseと比較すると、決定版と呼べるIDEが存在しないことで言語が持つ特性を最大限に発揮できないことが問題視されていた。 これまでもScalaプログラミングのためのツールとして、Eclipse、NetBeans、IntelliJ IDEAといったJavaベースのIDEで動作するプラグインは存在したものの、いずれもEclipse上でJavaプログラミングを行う場合と比べると満足できるものではなかったのが実情だ。 このように強力な開発環境が存在しないことはScalaのディスアドバンテージの1つとされてきたが、EclipseプラグインであるScala IDE for Eclipse(初期のバージ
Also custom viewers may serve as selection providers and implement the ISelectionProvider interface. Any workbench part that holds a viewer should register this viewer as the selection provider with the respective view site: getSite().setSelectionProvider(tableviewer); Even if you don't see a need for propagating your selection right now, this opens your plug-in for future extensions by you or by
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く