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 209158 - User defined toolbar button
Summary: User defined toolbar button
Status: RESOLVED DUPLICATE of bug 35582
Alias: None
Product: ide
Classification: Unclassified
Component: UI (show other bugs)
Version: 7.1
Hardware: PC All
: P2 normal (vote)
Assignee: Petr Somol
URL:
Keywords:
Depends on:
Blocks: 211167
  Show dependency tree
 
Reported: 2012-03-05 08:49 UTC by mariusz_m
Modified: 2012-05-29 14:31 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
mock-up: user action buttons added to main toolbar (104.03 KB, image/png)
2012-04-13 13:37 UTC, Petr Somol
Details
user action icon 1 large (3.74 KB, image/png)
2012-04-13 13:38 UTC, Petr Somol
Details
user action icon 1 small (3.27 KB, image/png)
2012-04-13 13:39 UTC, Petr Somol
Details
all nine user action icons, both large and small, zipped (65.35 KB, application/zip)
2012-04-13 13:41 UTC, Petr Somol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mariusz_m 2012-03-05 08:49:41 UTC
What is missing in Netbeans IDE is user defined button/menu, with defined command line to pointed executive.
I work with embedded devices, and I have to run many applications/batch files to start debugging session, to flash target device, send reset command and so forth.
It will be very helpfull to define some buttons that could be placed on IDE toolbar, to run these scripts or programs.
Configuration should be project specific, not global. Button can have caption or an image with tooltip.
Code::Blocks have something similar - user can define Tools menu with caption, path to executive and arguments.
Comment 1 Petr Somol 2012-04-13 13:37:17 UTC
Created attachment 118245 [details]
mock-up: user action buttons added to main toolbar

I fully endorse this enhancement. I used to use it in UltraEdit for various purposes. Due to my own experience with the usefulness of such a functionality I change the priority of this enhancement to P2.

To start, I created a set of nine buttons that fit the NB conventions. I am attaching a mock-up screenshot with all buttons added to main toolbar. Note that this would not be the typical case - I expect users would usually need only one, two or three buttons.

The icons depict a paper airplane. I found this to be reasonable for the purpose of representing a series of user actions. The image is reasonably recognizable and symbolizes one's own creativity. Any more explicit tool image (screwdriver, hammer, pliers) would unwantedly suggest an action that is internal to IDE. The paper airplane shape allowed to add numbers to each icon, as well as differentiating by decent color differences. Thus, although all icons are recognizably the same in meaning, they are easily distinguishable among each other.

I am going to attach each icon file separately...
Comment 2 Petr Somol 2012-04-13 13:38:35 UTC
Created attachment 118246 [details]
user action icon 1 large
Comment 3 Petr Somol 2012-04-13 13:39:16 UTC
Created attachment 118247 [details]
user action icon 1 small
Comment 4 Petr Somol 2012-04-13 13:41:33 UTC
Created attachment 118248 [details]
all nine user action icons, both large and small, zipped
Comment 5 Jesse Glick 2012-04-13 17:04:37 UTC
Probably better to play with different approaches in unofficial plugins.

Note that you can binding toolbar buttons (and menu items and shortcuts) to Ant targets - check the target's context menu. Bug #153420 proposes adding a similar facility for Maven goals, though the cases are not exactly analogous.
Comment 6 Petr Somol 2012-05-29 14:31:40 UTC
Marking this issue as duplicate of 35582, because it addresses the same problem. Comments from both issues should nevertheless be taken into account.

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