e4勉強会 事後修正版

Post on 01-Jun-2015

759 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

e4勉強会

2010年6月28日

2

INDEX01  Eclipse e4?02 触ってみる03  Eclipse e4を考える

3

Eclipse e4?

4

特徴• e4 プロジェクトは次世代の  Eclipse

• コンポーネント・ベースのパーベイシブ・アプリケーションやツールのためのプラットフォームを提供

• These trend lines point to web technologies, new user interface metaphors, and distributed infrastructure. Now is the time to rethink elements of the platform so that Eclipse may remain at the forefront of application development.

• Web UI• XWT• 下位互換性

5

Web UI• CSS

• Eclipse のわかりにくいユーザインタフェース• プラグイン開発を困難にしている要因の  1 つ

• ウィジェットのフォントサイズや背景色などユーザインタフェースに関する情報を  CSS で定義

• JavaScript• There is growing demand for software components that can run both in traditional

desktop environments, and Web browser environments. • We will support this demand by providing first-class integration of web-based

components in the Eclipse platform. In particular, we will support embedding of user interface components written in JavaScript into the e4 UI, and provide access to e4 API for JavaScript components.

• e4 JS Framework• JavaScript ベースのプラグインと  OSGi Framework の仲介

6

Web UI Sample(CSS)

 #DetailsView {-   background-color: #e8e8e8 #cccccc 60%;+   background-color: #00ffff #cccccc 60%; }

7

XWT• SWT/JFace アプリケーションの構造を XML で宣言することで定義• ビジネス・ロジックを  Java™ コードで記述• XWT を使用すると、モデルと表示とを分離することができる• SWT/JFace アプリケーションのために作成していたレイアウト用の    コードや UI 関連のコードの大部分が不要

※Just take a look at the e4 forum: the first page contains 40 messages. Of those messages, 18 (as of today 18.04.2010) are related to XWT, that is almost 50% of the overall questions found on the e4 forum.

8

XWT Sample

9

下位互換性• e4 July 2010 will not be compatible with previous releases

of e4, such as the e4 0.9 release. • This includes binary compatibility, contract compatibility,

workbench model compatibility, and workspace compatibility.• e4 July 2010 includes a set of bundles that are binary and

API contract compatible with Eclipse Platform UI API from the Eclipse Helios (3.6) release.

• This set of bundles is known as the compatibility layer, and is intended to be used to create a full Eclipse SDK release on e4 that is fully compatible with previous Eclipse project releases.

• Thus while e4 July 2010 itself is not compatible with previous Eclipse project releases, it provides the necessary infrastructure to allow a fully compatible e4-based release of the Eclipse SDK to be created.

10

リリース予定• M1  10/09/2009M1• M2  11/20/2009M2• M3  01/15/2010M3• M4  02/26/2010M4• M5  04/09/2010M5• M6  05/21/2010M6 (Feature and API

Freeze)• Our target is to complete the release in

late July 2010, one month after the Helios release.

11

ターゲット OSOperating System Version Hardware JRE Windowing

System

Windows

7

x86 32-bit

Sun Java 5 Update 22IBM Java 5 SR11

Win32XP

Red Hat Enterprise Linux

5.0 x86 32-bit

Sun Java 5 Update 22IBM Java 5 SR11

GTK

Apple Mac OS X 10.5 Universal

Apple Java 10.5 Update 2

Cocoa

12

触ってみる

13

資材★e4の DLhttp://download.eclipse.org/e4/download

s/

★XWTサンプルの DLhttp://www.ibm.com/developerworks/jp/o

pensource/library/os-eclipse-e4/os-eclipse-e4.code.zip

14

Eclipse e4を考える

15

検討項目• Web UI、 XWTってうれしい?

• ease of dev

• 我々のソリューションで使える?• ツールメンテナンスコスト低減

• Xtext等、 LWとの関連をどう考える?

• 枯れている?• Incubation Phase

16

参考

top related