This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 24623 - Single button in editor toolbar should toggle start/stop recording macro, not two buttons
Summary: Single button in editor toolbar should toggle start/stop recording macro, not...
Status: RESOLVED DUPLICATE of bug 57759
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-11 09:21 UTC by _ tboudreau
Modified: 2011-11-10 10:50 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2002-06-11 09:21:18 UTC
Since the editor toolbar is designed to save
screen real estate, and 
since modules can add items to it, wouldn't it be
nicer to use a single toolbar button whose
associated action would change, rather than having
a Stop Macro Recording button (which does nothing
if you are not recording a macro) and a seperate
Start Macro Recording button?

Basically, which you click Start Recording Macro,
the icon and tooltip 
(and underlying action) would change to Stop
Recording Macro.  This
should be easy - just an action subclass which
delegates to one or 
the other and fires changes in display name and
icon when it changes
which action it is delegating to (I do not think
"Toggle Recording Macro" would be intuitive, so
it's better to do it this way).
Comment 1 Marek Grummich 2002-07-22 12:17:53 UTC
Set target milestone to TBD
Comment 2 Marek Grummich 2002-07-22 12:22:42 UTC
Set target milestone to TBD
Comment 3 eskild 2008-05-05 14:16:28 UTC
I second this request. Two buttons seem like overkill to me.
Comment 4 _ tboudreau 2008-05-06 20:58:29 UTC
Given that the editor toolbar is crowded already, raising priority - this ought to take ten minutes to do.
Comment 5 Milutin Kristofic 2011-11-10 10:50:40 UTC

*** This bug has been marked as a duplicate of bug 57759 ***