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 63645 - [Action Wizard] Difficult to add 24x24 icon for toolbar
Summary: [Action Wizard] Difficult to add 24x24 icon for toolbar
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: rmatous
URL: http://www.netbeans.org/download/dev/...
Keywords: UI
Depends on: 34574
Blocks:
  Show dependency tree
 
Reported: 2005-09-05 13:53 UTC by pzajac
Modified: 2006-02-06 12:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2005-09-05 13:53:57 UTC
UI specs doesn't say how to add larger icon (24x24) in order to use it in toolbar. 
Currently is only copied selected icon in filechooser. It will be nice :
1) to copy large icon too if larger icon is presented in folder with icon 
2) to inform user that larger icon is not presented if larger icon is not
preseneted in folder with icon
Comment 1 Jesse Glick 2005-11-03 02:54:54 UTC
Not for 5.0.
Comment 2 Jesse Glick 2006-01-22 17:19:53 UTC
Radek, feel like taking it?
Comment 3 rmatous 2006-01-23 15:41:25 UTC
OK.
Comment 4 rmatous 2006-01-25 18:14:06 UTC
Fixed in trunk. 
/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/action/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.16; previous revision: 1.15

/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/action/DataModel.java,v
 <--  DataModel.java
new revision: 1.19; previous revision: 1.18

/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/action/NameIconLocationPanel.java,v
 <--  NameIconLocationPanel.java
new revision: 1.16; previous revision: 1.15
Comment 5 pzajac 2006-02-03 16:33:10 UTC
I found small problem:
1) Create actions from template
2) Enable action in toolbar (second panel)
3) Select icon for example from folder
nbcvs/openide/actions/src/org/openide/resources/actions/

cut.gif
The cut24.gif was found. It's correct. But when you try select build.gif icon.
The cut24.gif is still in the created files list. It is better to remove the
cut24 from created files in this case. 

The message
"No large icon (24x24) found." 
is nice but not useful for netbeans actions new developer. 
May be it will be better :
"No large icon (24x24) found. No file <icon name>24.gif found in the folder of
selected icon."

Please update UI specs.  

 
Comment 6 Jesse Glick 2006-02-03 18:25:13 UTC
Could you file fresh bugs for these things? Prefer not to reopen unless the
supposed fix really didn't work.
Comment 7 pzajac 2006-02-06 12:26:25 UTC
I've filled new bugs.