Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Forms] Rule Based (dynamic) Enable/Disable of Controls
[EMF Forms] Rule Based (dynamic) Enable/Disable of Controls [message #1412478] Tue, 26 August 2014 09:00 Go to next message
Aleksandar Kanchev is currently offline Aleksandar KanchevFriend
Messages: 4
Registered: July 2014
Junior Member
Hello,

I'm currently evaluating if we can use EMF Forms instead of our home-grown framework for building and validating eclipse editor forms. I see that it's possible to use EMF Validation with EMF Forms framework but I can't seem to find a way to define rules for enablement of controls. Our home-grown validation framework can disable controls if for example the user has insufficient rights or the current model attribute is locked for editing (depending on a model state). Is there something similar for EMF forms or what would be the proper place to hook in our logic for control enablement?

Cheers
Aleksandar
Re: [EMF Forms] Rule Based (dynamic) Enable/Disable of Controls [message #1412874 is a reply to message #1412478] Wed, 27 August 2014 09:11 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi Aleksandar,

yes, EMF Forms does support rules. There are visibility rules and
enablement rules, which can be attached to any element. The are bound to
a model value.

Best Regards

Jonas

Am 26.08.2014 11:00, schrieb Aleksandar Kanchev:
> Hello,
>
> I'm currently evaluating if we can use EMF Forms instead of our
> home-grown framework for building and validating eclipse editor forms. I
> see that it's possible to use EMF Validation with EMF Forms framework
> but I can't seem to find a way to define rules for enablement of
> controls. Our home-grown validation framework can disable controls if
> for example the user has insufficient rights or the current model
> attribute is locked for editing (depending on a model state). Is there
> something similar for EMF forms or what would be the proper place to
> hook in our logic for control enablement?
>
> Cheers
> Aleksandar
Previous Topic:[EMF Forms] Master Detail pattern using default controls
Next Topic:Use EMF Forms to modify forms
Goto Forum:
  


Current Time: Thu Apr 02 16:34:38 GMT 2020

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

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

Back to the top