[tasklist] new toolbar
Tor Norbye <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <Pine.GSO.4.10.10303011725170.16252-100000@norbye> |
Great work on the new New Task toolbar, Tim! Thanks!
The other day, I removed the Source Scan View (and its toolbar
icon) from the tasklist toolbar.
With this new New Task button, we probably don't need "New Task" on the
global toolbar either.
So the tasklist toolbar on the main window should get smaller.
Perhaps we don't need it at all - after all, other windows tend not
to have a "Show Window" button on the toolbar (I originally added the
toolbar because the New Task button was to inconvenient in a menu, but
now it has a prominent location when the tasklist window is open).
So, perhaps we can get rid of the main toolbar and only have
"View | User Task List", "View | Suggestions", etc. ?
Also, it would be cool if the user tasklist toolbar was configurable.
I think that should be as simple as going to the layer files and
defining a new folder under the Toolbars directory on the system
file system - and then reading those folders when deciding to create
a toolbar for each window.
E.g.
Toolbars
User Tasks
NewTaskAction.instance
FilterAction.instance
Suggestions
FixAction.instance
GoToSourceAction.instance
FilterAction.instance
The advantage of this is that userrs can modify these folders
(using the Options window and drilling down to the Toolbars folder)
or I think it's also accessible in an explorer you can show by right
clicking on toolbars. -- And when you do this, the folder modifications
are persisted. So you can cut & paste an action from the Actions pool
and paste it into the toolbar, and it's there from now on.
-- Tor