[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [e4-dev] Custom Widget using XWT
|
> On Tue, Dec 15, 2009 at 5:35 AM, <yves.yang@xxxxxxxxxxx> wrote:
>>
>> Â XWT.registerMetaclass(DecoratedText.class);
>>
>> This call makes your class in part of standard widget. You can use as
>> simply like
>
> There should be some way to provide the new widgets to XWT through
> extensions. i.e. either a factory the client provides that can be
> instantiated or perhaps simply an extension that allows the client
> code to list the meta classes it is providing.
Here I have given a low level solution.
The extension point is provided in plugin "org.eclipse.e4.xwt.pde".
org.eclipse.e4.xwt is general, which can be used anywhere.
"org.eclipse.e4.xwt.pde" takes care of eclipse integration. You can find
the following extension points:
1. Converter
For data type conversion
2. Metaclass
To register a metaclass
3. MetaclassFactory
To register a metaclass factory
4. Style
To register a style engine
5. Logger
To setup a logger
yves
>
> PW
>
> --
> Paul Webster
> Hi floor. Make me a sammich! - GIR
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/e4-dev
>