Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] Re: [New Widget] AeroToolbar

Hi Lukasz,

One more note on this I'll also add it to bug report. We need to get rid
of the JNA-Dependency because we are not allowed have a LPGPL library as
a prerequisit only as a works with but it looks like this widget is
useless with having access to it.

So think we have 2 options:
a) Get help from SWT with Win32-only-SPI
b) Write our own JNI-Bride for the stuff you need

On the one hand side I'd prefer a) because then it would work with pre
3.6.0 but on the other hand we need to write an (maintain) the wrapper
for win32 and win64 (though this probably not a big task because we need
to compile/build the stuff once, check it into CVS and are done)

Tom

Am 11.02.10 21:43, schrieb Tom Schindl:
> Hi Lukasz,
> 
> Just talked with one of the SWT-Committers and he said we should file a
> bug and reference this one.
> 
> I could do it but I think you understand much better what you would need
> from SWT (for Win32) to make your suff work without JNA.
> 
> Please CC me on the bug as well.
> 
> Tom
> 
> Am 11.02.10 14:53, schrieb Łukasz Milewski:
>> Hi Tom,
>>
>> Thanks for quick response, I had the January schedule bit overcrowded,
>> so take your time.
>> As for asking SWT team, I need a method DrawShadowText from comctl32.dll
>> to use native shadow text drawing. I could probably simulate that, but
>> still having that method would be cool for WIN32 version (I don't know
>> if other OS have this kind of methods publicly available)
>>
>> Regards,
>> Lukasz Milewski
>>
>> On Thu, Feb 11, 2010 at 14:48, Tom Schindl <listom@xxxxxxxxxxxxxxx
>> <mailto:listom@xxxxxxxxxxxxxxx>> wrote:
>>
>>     Hi Lukasz,
>>
>>     Sorry for not repsonding in a timely manner but I'm under heavy workload
>>     and I fetched the sources but didn't had a look.
>>
>>     I'll try to come back to you early next week when we pushed the software
>>     we are just releasing out of the door.
>>
>>     A short question would it help if the SWT-Team adds some constants in
>>     their OS-Class? I'd prefer not to have native stuff in our build if not
>>     necessary.
>>
>>     If that's true than I can bug an SWT-Dev to comment on this thread and
>>     help us out or did you probably already filed a bug for it against SWT?
>>
>>     Tom
>>
>>     Am 11.02.10 14:36, schrieb Łukasz Milewski:
>>     > Hi guys,
>>     >
>>     > Any input? Does it work on your machines?
>>     >
>>     > Regards,
>>     > Lukasz Milewski
>>     >
>>     > 2010/2/1 Łukasz Milewski <lukasz.milewski@xxxxxxxxx
>>     <mailto:lukasz.milewski@xxxxxxxxx>
>>     > <mailto:lukasz.milewski@xxxxxxxxx <mailto:lukasz.milewski@xxxxxxxxx>>>
>>     >
>>     >     Hi All,
>>     >
>>     >     After weeks of no-time I've finally found few hours I can
>>     devote to
>>     >     AeroToolbar, and here it is.
>>     >     https://bugs.eclipse.org/301454
>>     >
>>     >     This is first version and would like to hear comments what
>>     needs to
>>     >     be changed to be approved by IP committee.
>>     >     Methods addItem and removeItem (those that operates on arrays) are
>>     >     probably taken (or heavy based) from Nebula Gallery. Dependency on
>>     >     JNA can be removed when DrawShadowText will be available in OS
>>     class
>>     >     (if at all).
>>     >
>>     >     I've also attached AeroToolbarTest class that shows very simple
>>     >     application with AeroToolbar widget. Dynamic switch between
>>     Vista/7
>>     >     styles works correctly. Some issues are with disposing shell from
>>     >     toolbar item. ToolbarItem doesn't contain addSelectionListener
>>     >     instead setSelectionListener this is quick hack to remove
>>     dependency
>>     >     from my own Action interfaces.
>>     >
>>     >     I probably need to specify license and add appropriate headers,
>>     >     please consult on this.
>>     >
>>     >     Source codes can also be found on
>>     >     http://www.khrone.pl/AeroToolbar.zip (those attached to bug entry
>>     >     doesn't contain meta-data and jna)
>>     >
>>     >     Regards,
>>     >     Lukasz Milewski
>>     >
>>     >
>>     >
>>     >
>>     > _______________________________________________
>>     > nebula-dev mailing list
>>     > nebula-dev@xxxxxxxxxxx <mailto:nebula-dev@xxxxxxxxxxx>
>>     > https://dev.eclipse.org/mailman/listinfo/nebula-dev
>>
>>     _______________________________________________
>>     nebula-dev mailing list
>>     nebula-dev@xxxxxxxxxxx <mailto:nebula-dev@xxxxxxxxxxx>
>>     https://dev.eclipse.org/mailman/listinfo/nebula-dev
>>
>>
>>
>>
>> _______________________________________________
>> nebula-dev mailing list
>> nebula-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/nebula-dev
> 
> _______________________________________________
> nebula-dev mailing list
> nebula-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/nebula-dev



Back to the top