|
[ZEST] GraphNode data parameter on constructor [message #248062 is a reply to message #248005] |
Fri, 03 April 2009 10:51   |
Eclipse User |
|
|
|
Originally posted by: simone.simonesaraceni.it
Hi, i've used for a project ZEST on version 3.4.2, and I notice that the
constructor of GraphNode contains a parameter data, that wasn't used.
I wrote a class that extends GraphNode for only implement the
functionality of set and get the data associated with a node.
The data parameter is not used in:
public GraphNode(IContainer graphModel, int style, String text, Object
data)
and
public GraphNode(IContainer graphModel, int style, String text, Image
image, Object data)
but is used into:
public GraphNode(IContainer graphModel, int style, Object data)
Is this a bug?
|
|
|
Re: [ZEST] GraphNode data parameter on constructor [message #248234 is a reply to message #248062] |
Fri, 10 April 2009 02:24  |
Eclipse User |
|
|
|
Originally posted by: irbull.cs.uvic.ca
Yes this is a bug, but the constructors are now properly chained (in
3.5). Can you try this with a 3.5 build, and if there is still a
problem, please file a bug report.
cheers,
ian
Simone wrote:
> Hi, i've used for a project ZEST on version 3.4.2, and I notice that the
> constructor of GraphNode contains a parameter data, that wasn't used.
> I wrote a class that extends GraphNode for only implement the
> functionality of set and get the data associated with a node.
>
> The data parameter is not used in:
>
> public GraphNode(IContainer graphModel, int style, String text, Object
> data)
>
> and
>
> public GraphNode(IContainer graphModel, int style, String text, Image
> image, Object data)
>
>
> but is used into:
> public GraphNode(IContainer graphModel, int style, Object data)
>
>
> Is this a bug?
|
|
|
Powered by
FUDForum. Page generated in 0.03827 seconds