Custom Composite Fields - Scout Explorer [message #1237775] |
Thu, 30 January 2014 10:05  |
Eclipse User |
|
|
|
Hi,
We're trying to create a Custom Field that has inner fields, namely in a simpler form a TextField decorated with icons within the field.
We understand how to make it a template, and how to instantiate it.
What I would need to know is how could we mark it (annotation, method, interface, etc.) so that in Scout Explorer it could understand that this template can take other fields (as for example a GroupBox or SplitedBox)?
Comparing GroupBox or SplitedBox we couldn't find any common marker that would instruct the Scout Explorer (hopping it isn't hardcoded there)
As an update, if I directly extend GroupBox the ScoutExplorer works correctly (after closing and opening the view). But I don't feel that I should extend this one, but instead the AbstractCompositeField directly. What would be the better option?
Regards
João
[Updated on: Thu, 30 January 2014 12:17] by Moderator
|
|
|
|
Re: Custom Composite Fields - Scout Explorer [message #1238142 is a reply to message #1238092] |
Fri, 31 January 2014 09:01  |
Eclipse User |
|
|
|
Thanks for the help.
I've been reading the code, and I believe I've understand it.
It would be very nice if the Scout Explorer could also inspect the Template annotations (as the Scout Object Property) and set available the correct context menu actions for it. (for what I understood the actions and handling seem similar..)
Regards
João
|
|
|
Powered by
FUDForum. Page generated in 0.04396 seconds