[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [eclipse-incubator-e4-dev] Fw: Declarative UI roundup?
|
- From: "向雅" <fyaoxy@xxxxxxxxx>
- Date: Fri, 7 Nov 2008 12:39:16 +0800
- Delivered-to: eclipse-incubator-e4-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=y2B/Nh7M74qvmq0Z2dAii712i3rjknRXqvuoC+/QgZY=; b=hi8rxXptDSLMJrpRNhz4cHJBHLf5rDJP4U3Z4l07Jlom8amVFIee2ShPL9y6DjCxRw Fap0oCi1oOvZD+MIoNxcNEoylYpBoyPak4x1Hml228m4cjsK6lmiXDyEFBbWZAZTXB21 7vuQC7e2YnJLdnGILQ+zYTNMTrtEtG8Jv+u3M=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=Wh6CZ/bCaAXLT+IW4PNINbYyexg13Q0m9b18Dp6wuuyRF7GDZj+qYva7VuYqx+5WyB GhBTDo5CFnhxgjQXNdPc0/05daIeGag2anM+ykfPjrrYbgWJJAli5jIKjU7yM3SqVeDt 3eEwORRHrIV1IUp3KWzlzWyH96/TXg4Nl1eVA=
:)O'cause,I never knows other more simpler thing. Not only the script
self, it's AST more simple.
Not only just for the simple case, the script direct support MAP.
Why simple? it's just do Object Notation, NO any other thing.
The showed script indeed is SWT-protocoled sort of script.
Best,qinxian
2008/11/7 Yves YANG <yves.yang@xxxxxxxxxxx>:
> Do you think the script is better than XML? I cannot see the benefices. A
> similar comparison is CSV and XML for data exchange. For sure, it is
> compact.
> I'm pretty sure for a simple case, it is simple.
>
> Regards
> Yves YANG
> -----Original Message-----
> From: eclipse-incubator-e4-dev-bounces@xxxxxxxxxxx
> [mailto:eclipse-incubator-e4-dev-bounces@xxxxxxxxxxx] On Behalf Of ??
> Sent: Friday, November 07, 2008 1:47 AM
> To: E4 developer list
> Subject: Re: [eclipse-incubator-e4-dev] Fw: Declarative UI roundup?
>
> 2 points: an UI declaration, and a thought.
> 1.an UI declaration:
> above sample can be like this:
>
> @layout: fill;
> label: "hello, world"; text{style: BORDER; layoutData: "grow"}
>
> Huge simple? if yes, again:
>
> @layout: "fill";
> @StyleSheet{
> text{ style: SINGLE, BORDER;}
> };
> @forms: true;
>
> section{
> @id: loginSection;
> sectionStyle: ExpandableComposite.TITLE_BAR;
> CompositeSeparator:NONE;
> text: 登录系统;
> layoutData: "center";
> composite{
> @id: sectionClient;
> layout: "wrap 3", "[][250:pref:400,fill][]", "[]5[]";
> label: 您的数字证书:;
> text { @id: certFile; text: ""; }
> button { @id: browse; text: 选择文件(&B)...; style: PUSH; }
>
> label: 您的密码:;
> text { @id: password; text: ""; style: PASSWORD; }
> button { @id: login; text: "登录系统(&L) "; style: PUSH; }
> }
> client: @sectionClient;
> }
>
> 2, a thought: at this time, in the world, the most question is not can
> you do. instead, just be: How and what make better.Yes? like David
> style, I do answer, sure.:)
>
> Best! qinxian
>
> _______________________________________________
> eclipse-incubator-e4-dev mailing list
> eclipse-incubator-e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev
>
--
致敬
向雅