Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Support for PropertySheetPage in EMF.Edit.UI(Are there going to be extensions for the EMF.Edit.UI support in e(fx)clipse?)
Support for PropertySheetPage in EMF.Edit.UI [message #1245267] Thu, 13 February 2014 14:51 Go to next message
Uwe San is currently offline Uwe San
Messages: 97
Registered: January 2012
Member
Hi,

I'm trying to connect a bunch of simple TextField controls to attributes of an EMF model. The EMFEditFXProperties.value() method is a quick way to create a binding between JavaFX and EMF (inc. undo/redo support).

But some features are missing in this simple approach, namely support for live validation, decoration, and setting values (using a SetCommand) on "focus lost" instead of "key typed". These features are implemented in the SWT Edit.UI bundles (DiagnosticDecorator, ExtendedPropertySheetPage, etc).

Ideally, I would need an equivalent to the ExtendedPropertySheetPage for JavaFX instead of my simple TextFields. Is something like this on the agenda for the Edit.UI bundle in e(fx)clipse?

Cheers,
Uwe
Re: Support for PropertySheetPage in EMF.Edit.UI [message #1245869 is a reply to message #1245267] Fri, 14 February 2014 11:30 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5351
Registered: July 2009
Senior Member
Hi,

I know Torsten has been working on a form api in a side branch but this
work got stalled a bit.

The org.eclipse.fx.emf.edit.ui-bundle holds adapters to setup JavaFX
(Table/Tree/List/TreeTable)View instances including inline editing.

There is no plan to implement something like the Eclipse-Platform
Propertysheet system currently which is bound to compat layer as of now
anyways.

I can certainly see the need for something like this, you can always
file a bug report but without you driving it I doubt we can get
something in for 1.0.0 (at least not in my opensource time).

Tom

On 13.02.14 15:51, Uwe San wrote:
> Hi,
>
> I'm trying to connect a bunch of simple TextField controls to attributes
> of an EMF model. The EMFEditFXProperties.value() method is a quick way
> to create a binding between JavaFX and EMF (inc. undo/redo support).
>
> But some features are missing in this simple approach, namely support
> for live validation, decoration, and setting values (using a SetCommand)
> on "focus lost" instead of "key typed". These features are implemented
> in the SWT Edit.UI bundles (DiagnosticDecorator,
> ExtendedPropertySheetPage, etc).
>
> Ideally, I would need an equivalent to the ExtendedPropertySheetPage for
> JavaFX instead of my simple TextFields. Is something like this on the
> agenda for the Edit.UI bundle in e(fx)clipse?
>
> Cheers,
> Uwe
Re: Support for PropertySheetPage in EMF.Edit.UI [message #1245874 is a reply to message #1245869] Fri, 14 February 2014 11:43 Go to previous messageGo to next message
Uwe San is currently offline Uwe San
Messages: 97
Registered: January 2012
Member
Thanks for your reply. I assumed some work had been done but it had not gotten very far. This is a very interesting area for us so we'll consider making contributions.

EMFForms may be worth a look as well, since they seem to cover similar grounds. Their JavaFX renderer is due in the 1.3 release.
Re: Support for PropertySheetPage in EMF.Edit.UI [message #1249468 is a reply to message #1245874] Tue, 18 February 2014 09:30 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas Helming
Messages: 435
Registered: July 2009
Senior Member
Hi,

we are indeed working on a JavaFX renderer (although it is not due for
1.3 :-)
However, if you are interested, you can find a very first prototype here:
https://dl.dropboxusercontent.com/u/23674036/ECP%20e4%20FX%20Demo.zip
It does not only include EMF Forms, but also ECP. No all controls work
yet, but you can get a first impression of the feasibility.

Best regards

Jonas

Am 14.02.2014 12:43, schrieb Uwe San:
> Thanks for your reply. I assumed some work had been done but it had not
> gotten very far. This is a very interesting area for us so we'll
> consider making contributions.
>
> EMFForms may be worth a look as well, since they seem to cover similar
> grounds. Their JavaFX renderer is due in the 1.3 release.
Re: Support for PropertySheetPage in EMF.Edit.UI [message #1249601 is a reply to message #1249468] Tue, 18 February 2014 12:24 Go to previous message
Uwe San is currently offline Uwe San
Messages: 97
Registered: January 2012
Member
Thanks for the prototype, Jonas. I'll try it out.

If the renderer is not coming in 1.3, you may want to change the target milestone of this bug. Wink
Previous Topic:OSGI DS services not working when I am trying start with with different module.
Next Topic:e(fx)clipse - 0.9.0 Endgame
Goto Forum:
  


Current Time: Thu Oct 02 00:39:05 GMT 2014

Powered by FUDForum. Page generated in 0.09375 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software