Hi Christian,

I'm not sure why you would want port it considering there will be constant
changes, but it's up to you of course.

It's quite possible there's some inconsistency in that list, and I see
there's [at least] one explicit cast without a check in the source, so that
needs to be fixed, but all items should be IGanttChartItems. As it's all JDK
1.4 (for backwards compatability) it's always a chance something else slips
through and code does wrong things without the JDK seeing it, but it
shouldn't be the case. I'll mark it as a "to fix" on my list.

Regards,
Emil

On Wed, Apr 13, 2011 at 12:40 PM, Christian Eugster <
[email protected]> wrote:

> Hi,
>
> I am trying to port the ganttChart to java 1.6 (for now for my own uses).
> In class GanttComposite the variable _ganttEvents (List) is not clear what
> types it can contain:
>
> In method hideAllLayers() the resulting item after a -ganttEvents.get(i) is
> assumed to be an element of type GanttEvent as only this type has a method
> getLayer().
>
> In method internalDrawEvents (and other methods) _ganttEvents is assumed to
> contain elements of type IGanttChartItem as GanttSection returns  a list of
> IGanttChartItem.
>
> It seems as this is a problem of work in progress. I would like to know,
> which way you will go (_ganttEvents as a list of GanttEvents or a list of
> IGanttChartItems)
>
> Sincerely
>
> Christian Eugster
>
>
> --
> ****************************
> Christian Eugster
> Grissian Widum 14
> I-39010 Tisens
> --------------------------------------
> Festnetz Italien: 0039 0473 420 873
> Handy Schweiz: 0041 79 594 85 45
> Email: [email protected]
>
>
> NEU: FreePhone - kostenlos mobil telefonieren und surfen!
> Jetzt informieren: http://www.gmx.net/de/go/freephone
> _______________________________________________
> nebula-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/nebula-dev
>
_______________________________________________
nebula-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/nebula-dev

Reply via email to