Download presentation
Presentation is loading. Please wait.
1
<< Glimmer >>
JRuby on RCP << Glimmer >> by Annas “Andy” Maleh Obtiva Corp.
2
Preview Introduction Comparison: Quick Demo Game Future of Glimmer
Java on SWT Java on JFace and SWT JRuby on SWT Quick Demo Game Future of Glimmer More Information
3
Hello World
4
SWT Example (Java) public static void main(String[] args) {
Display display = Display.getDefault(); Shell shell = new Shell(display); shell.setText("SWT"); shell.setLayout(new FillLayout()); Composite composite = new Composite(shell, SWT.NONE); composite.setLayout(new GridLayout()); Label label = new Label(composite, SWT.NONE); label.setText("Hello World!"); shell.pack(); shell.open(); while (!display.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } display.dispose();
5
JFace Example (Java) protected JFaceTest(Shell parentShell) {
super(parentShell); setBlockOnOpen(true); open(); } @Override protected Control createContents(Composite parent) { getShell().setText("JFace"); getShell().setLayout(new FillLayout()); Composite composite = new Composite(parent, SWT.NONE); composite.setLayout(new GridLayout()); Label label = new Label(composite, SWT.NONE); label.setText("Hello World!"); return composite; public static void main(String[] args) { new JFaceTest(null);
6
SWT Example (JRuby Glimmer)
shell { text "JRuby on SWT" composite { label { text "Hello World!" } } }.open
7
Demo (http://glimmer.rubyforge.org/svn/samples/contactmanager/)
8
Game (http://glimmer.rubyforge.org/svn/samples/tictactoe/)
9
Future of Glimmer Data-binding support for combos, trees, and lists
RCP Plugins RCP Extension Points EMF Birt??? ...
10
More Information Glimmer Eclipse Technology Project Proposal:
Glimmer Newsgroup: Glimmer at RubyForge: Sneak Peak at Glimmer: Glimmer Data-Binding: Glimmer Listens:
11
Andy Maleh andy@obtiva.com andymaleh.blogspot.com Obtiva Corp.
Contact Andy Maleh andymaleh.blogspot.com Obtiva Corp.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.