Re: Change in TaskListView
Ondrej Rypacek <[email protected]> Mon, 31 May 2004 11:37:22 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Tim,
a possible solution might be not to wrap the node, but to insert the
root node (the task-list node, which must have some meaningful display
name) as a child of a virtual invisible node, which would hold the
display name for the first column.
[ Summary ] (invisible, determines the first column's label)
|
[TaskList] (the real visible root)
| | |
.... subtasks .....
In this way , it would be possible for the first column to have a
different name than the root visible node. Some changes would maybe be
needed into the rest of the code, to accomodate for the change in the
structure.
Do you think , this would work for you?
-Ondra
Tim Lebedkov wrote:
> Hi Ondrej,
>
> Ondrej Rypacek wrote:
>
>> Well, I don't know of any other way of setting the first column in a
>> TreeTableView.
>> Maybe, if the root node wasn't modified, but wrapped by a filter node
>> that would cover the original display name... it would keep the
>> original root (returned by createRootNode()) intact. But the node
>> obtained directly from ExplorerManager would be different.
>>
>> Would this work for you?
>>
>> + Ondra
>>
> I don't think that it solves the problem. What I need are different
> labels for the root node and for the first column.
> I didn't find an issue for it so I filled a new one:
> http://www.netbeans.org/issues/show_bug.cgi?id=43660
>
> --Tim
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>