From XML to Form to Diagram with Sapphire

Session Type: 
Standard [25 minutes]

Many of the systems that developers and administrators interact with on the daily basis are configured via a menagerie of XML files. Even armed with a schema and a good XML editor, users have a hard time editing these files by hand. A good tooling strategy to address this difficulty is to create a multi-page editor where a user can flip back-n-forth between XML source view and a higher level form-based view. Going a notch further, certain relationships can be presented with one or more diagrams on separate pages.

Unfortunately, building such multi-page editor using basic Eclipse platform facilities is a daunting challenge. It can take many months to create something half-decent for even smaller schemas. This talk will show how to build such an editor in hours instead of months using Sapphire.

This talk is both an introduction to Sapphire as a whole for new developers and an introduction to the diagram editing features in Sapphire 0.3 (Indigo) for those already familiar with Sapphire.

Sapphire is a new project at Eclipse started with an initial contribution from Oracle. It is a UI building framework that allows developers to specify UI in terms of higher level constructs like property editors instead of widgets and layouts. This paradigm results in several orders of magnitude improvement in developer productivity while simultaneously delivering better quality UI that is easier to maintain.


I have been using this tool

I have been using this tool for a long time and it a splendid framework for UI building with Eclipse.

All thanks to Konstantin and his team for building this and hope this framework develops much more in future.

It will be great to have more

It will be great to have more votes for this session as that will encourage better community support.

I have been using Sapphire

I have been using Sapphire for last few months and it has been a great framework for developing UI editors with Eclipse, i call it as "RED" Rapid Eclipse Development, helping in faster time to market and improves the ROI.