Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] how to contribute to toolkit model ?

> how you would integrate a new, home-made widget into XWT?

Sorry, I left out this question.

Mainly, if the home-made widget respects Java Bean specification. There is
nothing to do. Otherwise, you need to create the metaclass and gister in
XWT: XWT.registerMetaclass(IMateclass).

Yves
> Hallvard,
>
> XWT has a package of metamodel service. In most of the case, the model UI
> comes directly from SWT via reflection. But in some case, we need to
> complete/enhance it since SWT is not model-base. And user can define their
> own metaclass.
>
> yves
>> Yves,
>>
>>> Please take care of the word "model-based". I make the difference
>>> between
>>> "model-based" and EMF-based. "model-based" UI is generic concept.
>>> EMF-based UI is concrete. XWT is "model-based" since it has a SWT
>>> model,
>>> but XSWT is not.
>>
>> Interesting! I must admit I thought XWT uses reflection to map from XML
>> to the SWT API. Perhaps you can explain this SWT model, e.g. how you
>> would integrate a new, home-made widget into XWT?
>>
>>> I suppose you have a car, by which you can go anywhere (on land of
>>> course). Can you use it as a boat in ocean?
>>
>> Yes, and as a submarine, too ;-)
>>
>> Hallvard
>>
>> _______________________________________________
>> e4-dev mailing list
>> e4-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/e4-dev
>>
>
>
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/e4-dev
>




Back to the top