This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 124370 - Allow Matisse to generate code for other languages than Java
Summary: Allow Matisse to generate code for other languages than Java
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-21 16:48 UTC by jfurmankiewicz
Modified: 2008-05-05 13:48 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jfurmankiewicz 2007-12-21 16:48:38 UTC
Right now Matisse saves the layout in the .form file, plus generates the corresponding Java code in guarded blocks.

With the coming of multiple languages to the Java (groovy, JRuby, Scala, Jython, etc.) this limits the range of issues
Matisse could solve.

I think it would be very useful to allow Matisse to generate code for multiple backends.

One option is to provide something similar to libglade in GTK+: i.e. a runtime library that takes the UI layout in XML
format (i.e. the .form file) and then can be called from any language that has GTK bindings. A "libmatisse" or something
along these lines would be very useful.

Some info on libglade that may be useful as an inspiration:

C and Python:
http://www.jamesh.id.au/software/libglade/    

Ruby:
http://delirial.com/archives/tutorial-building-guis-for-ruby-programs-with-glade/