Hi Ivan,
It must be hidden in those parameters somewhere. Did you find the component documentation [1]?
Why are you interested in this?
Best regards,
Wim
[1] https://git.eclipse.org/c/windowbuilder/org.eclipse.windowbuilder.git/tree/org.eclipse.wb.core/development_doc
From: nebula-dev-bounces@xxxxxxxxxxx [mailto:nebula-dev-bounces@xxxxxxxxxxx]
On Behalf Of Ivan Ooi
Sent: vrijdag 17 maart 2017 2:05
To: Nebula Dev
Subject: Re: [nebula-dev] CDateTime / CWT major change
Hi Sim,
Sorry for my English. as the picture show bellow, there's a tiny calendar icon beside the selection property,
when you click on it, it will show a pop up showing the calendar and clock. but I can;t find any things related
in the CDateTime.wpb-component.xml
Thanks again, really really appreciate your time...
On Thu, Mar 16, 2017 at 11:38 PM, Wim Jongman <wim.jongman@xxxxxxxxx> wrote:
I am not sure what you mean. You mean how to use CDateTime in WB?
On Thu, Mar 16, 2017 at 2:44 PM, Ivan Ooi <olibralo@xxxxxxxxx> wrote:
Hi Wim,
Thanks for tips! I had found the xml descriptor but I was stuck at the calling the external editor. I couldn't find any related parts in the xml file.
inside there, I think this is the most related section but still can't get.sorry, really hope for your help in this part :
<parameter name="layout.has">false</parameter>
<parameter name="SWT.runAsyncMessages">true</parameter>
<!-- selection listener -->
<parameter name="double-click.listener">selection/widgetSelected</parameter>
<parameter name="RCP.untyped.events: org.eclipse.nebula.widgets.cdatetime.CDateTime"><![CDATA[
or...is it when setSelection called without any paramter, it will automatically open the date chooser ? but how bout the icon beside ?
Hi Ivan,
Some of the Nebula widgets are supported in windowbuilder, but not all of them.
Please see part of the conversation I had with Eric below [3]. Since we are now released the jars could ship again with WB.
Wim,
Nice to hear from you.
I am the co-lead of the Nebula project. I wonder if we can do something to integrate
the Nebula widgets into Windowbuilder.
Actually, we already have a fair amount of Nebula integration already in WB. Prior to open sourcing WB, we actually
shipped the Nebula jars with WB and had those widgets show up in a category in the WB palette.
Once the project moved to Eclipse, the Eclipse IP folks told us that we could not ship those jars anymore. We did keep the Nebula support in place however, so, if you
add the nebula jars to your project classpath, the Nebula palette should
show up in WB as shown here...
The actual Nebula support code in WB can be found here:
...and the palette definition itself is here...
...and most of the widget attributes are defined in XML files found here...
I was thinking of some kind of automatic discovery process or a special way of advertising the widgets to Windowbuilder. Do you have any thoughts on this?
I have not tried loading the Nebula widgets into WB in quite awhile, but I hope it still works (if not, we need to fix
that).
Going forward, it would be great to get someone on the Nebula side involved to help maintain the WB integration code
as well. Aside from the few widgets that need complex layout behavior (like tables with columns), integrating a new widget is very simple and just involves adding/tweaking XML files. Lots of examples exist for all of the current widgets.
_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev
|