jface.snippets.Snippet031 : Win32 Exception

yidabu yidabu.spam at gmail.com
Wed May 21 05:00:27 PDT 2008

On Wed, 21 May 2008 09:57:00 +0200
Frank Benoit <keinfarbton at googlemail.com> wrote:

> yidaby, thanks for your ported snippets.
> Posting them here is certainly ok, just in case you didn't know:
> If you want, you can create mercurial bundles, that would save both of 
> us some work and your name would show up in the commit history. 
> http://www.dsource.org/projects/dwt/wiki/Contribution
> I will look at those runtime problems later ...

code works fine now.
but dwtx.jface.viewers.ArrayContentProvider seems not work, I added code below to figure it out:

    public class MyContentProvider : ArrayContentProvider
        public Object[] getElements(Object inputElement) {
            auto col = cast(ArrayList) inputElement;
            return col.toArray();

yidabu <yidabu.spam at gmail.com>

D 语言-中文(D Chinese):

More information about the Digitalmars-d-dwt mailing list