Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356277

Summary: Provide non-XML language and editor for UI definitions
Product: z_Archived Reporter: Aaron Digulla <digulla>
Component: SapphireAssignee: Project Inbox <sapphire.ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: konstantin
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Aaron Digulla CLA 2011-08-31 03:15:15 EDT
The XML to define a Sapphire UI is very verbose. Please create a DSL using Xtext to replace the XML and allow for things like code completion, error checking, etc.
Comment 1 Konstantin Komissarchik CLA 2011-08-31 10:35:36 EDT
The current focus with the sdef editor is to improve its form UI, but we may consider developing non-XML syntax at some point in the future.
Comment 2 Aaron Digulla CLA 2011-09-01 03:35:57 EDT
What do you mean by "form UI"? Is there already an editor which helps to build the XML? I couldn't find anything in the documentation.
Comment 3 Konstantin Komissarchik CLA 2011-09-01 10:58:25 EDT
Sapphire SDK includes an editor for sdef files that adds a form-based view to the XML source editor.

Make sure that you have installed Sapphire SDK in your development eclipse. Having Sapphire just in the target platform is not sufficient. Also make sure that you name your UI definition files with .sdef extension (as opposed to .xml).