Re: Change in TaskListView
Ondrej Rypacek <[email protected]> Thu, 20 May 2004 16:56:11 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <[email protected]> |
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
Tim Lebedkov wrote:
> Hi,
>
> I commited the following to TaskListView.java:
>
> (In the diff below, changes in quantity of whitespace are not shown.)
>
> Index: TaskListView.java
> ===================================================================
> RCS file:
> /cvs/tasklist/core/src/org/netbeans/modules/tasklist/core/TaskListView.java,v
>
> retrieving revision 1.100
> retrieving revision 1.101
> diff -u -b -r1.100 -r1.101
> --- TaskListView.java 6 May 2004 12:16:02 -0000 1.100
> +++ TaskListView.java 20 May 2004 12:37:36 -0000 1.101
> @@ -600,7 +600,9 @@
> private void setRoot() {
> rootNode = createRootNode();
> - rootNode.setDisplayName(getMainColumn(-1).getDisplayName());
> + // TODO: usertasks module sets the display name of the root node to
> + // "Task List"
>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ??? + //
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> rootNode.setDisplayName(getMainColumn(-1).getDisplayName());
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> The TODOs windows shows nothing as the title for the first column.
> But I need this for the usertasks module.
> Is there a way to have both modules working correctly?
>
> --Tim
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>