Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFForms] template styling capability
[EMFForms] template styling capability [message #1602562] Thu, 05 February 2015 16:50 Go to next message
Phil Wim is currently offline Phil WimFriend
Messages: 89
Registered: October 2013
Member
Hi there,

i'm interested in the template styling capability of emfforms.

Somewhere I saw that I could add "custom control styling" code easy as "control tester". Can't find it anymore. Am I right or did I keep wrong infos? I'm looking for a place to implement SWT.Multi for a text-control.

Is there currently the ability to change the label name to a custom string? In my case, I have an extended class where I want to rename the label of an attribute. Let's say in parent class it's called "id" in child class it should be "Kennung". I found a styled label example in your blog. But I guess this is not what I'm looking for.

Thanks in advance
Phil
Re: [EMFForms] template styling capability [message #1603986 is a reply to message #1602562] Fri, 06 February 2015 14:59 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

a multi control will be used if a string attribute is set to property
type "Multi-line" (in the gen model).
The label is derived from the property descriptor (edit bundle) and can
be adapted and translated by modifying the porperty files (or adding new
ones.

Best regards

Jonas

Am 05.02.2015 um 17:50 schrieb Phil Wim:
> Hi there,
>
> i'm interested in the template styling capability of emfforms.
> Somewhere I saw that I could add "custom control styling" code easy as
> "control tester". Can't find it anymore. Am I right or did I keep wrong
> infos? I'm looking for a place to implement SWT.Multi for a text-control.
>
> Is there currently the ability to change the label name to a custom
> string? In my case, I have an extended class where I want to rename the
> label of an attribute. Let's say in parent class it's called "id" in
> child class it should be "Kennung". I found a styled label example in
> your blog. But I guess this is not what I'm looking for.
> Thanks in advance
> Phil
>


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] template styling capability [message #1604004 is a reply to message #1603986] Fri, 06 February 2015 15:12 Go to previous message
Phil Wim is currently offline Phil WimFriend
Messages: 89
Registered: October 2013
Member
Hi Jonas,

first of all thanks for your ongoing help! I really appreciate it.

And obviously I have to search the genmodel more often.

I also found the extension point for custom layouts. http://eclipsesource.com/blogs/tutorials/emf-forms-rendering/

Thanks and have a good weekend!
Phil
Previous Topic:[Texo] ModelDataGenerator
Next Topic:[EMFForms] Values Vanish when using Show Rule
Goto Forum:
  


Current Time: Thu Apr 25 01:45:55 GMT 2024

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

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

Back to the top