Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] Zest FX UI contribution

Hi,

Yeah the paradigm is ok and I have already thought about different APIs
multiple times (even implemented for customers).

I'm in the process to define such an API as part of e(fx)clipse although
there's no source yet available in the repo. Once I have something I'll
post an update so that you can get an idea ;-)

Tom

On 08.07.14 11:19, Ujhelyi Zoltán wrote:
> You are right, the hard SWT dependency is the killer here. :) The JFace API itself is not good...
> 
> I will do some research about alternative patterns already used (I am not confortable with designing an entirely new paradigm here ;) ).
> 
> Thanks for the feedback,
> Zoltán
> -- Zoltán Ujhelyi
> https://www.inf.mit.bme.hu/en/members/ujhelyiz
> 
> Fault Tolerant Systems Research Group
> Budapest University of Technology and Economics
> 
> On 2014.07.08., at 11:13, Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx> wrote:
> 
>> [...]
>>
>>> In summary, I guess, JFace Viewers API support is still not a strict requirement, but I would have troubles designing a different API that is still at least as good for creating the displayable models.
>>
>> JFace would drag in SWT and isn't GEF4 to be widget toolkit neutral?
>>
>> Beside that I think the JFace-API shows is age in it's API:
>>
>> * useage of Array-Types (=> you can not generify it completely no
>>  matter how many GOSC projects you setup)
>>
>> * No SAM-Types wouldn't you want to write a label-provider like this in
>>  Java8
>>
>>  Viewer<Person> v = new Viewer<>();
>>  v.setTextLabelProvider( (o) -> o.name );
>>
>> * Hard SWT-Dependency
>>
>> * (I could go on with more :-)
>>
>> Tom
>>
>>
>>
>> _______________________________________________
>> gef-dev mailing list
>> gef-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/gef-dev
> 
> _______________________________________________
> gef-dev mailing list
> gef-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/gef-dev
> 



Back to the top