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 61372 - Do not disable Generate Javadoc action
Summary: Do not disable Generate Javadoc action
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: UI
Depends on:
Blocks: 61229
  Show dependency tree
 
Reported: 2005-07-25 17:25 UTC by pzajac
Modified: 2005-09-05 09:51 UTC (History)
0 users

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 pzajac 2005-07-25 17:25:49 UTC
the "Generate javadoc" action is enabled when is selected public
package for project.  IMHO there will be better to show Message box
that no public package is selected and how to select public package
than disable the generate javadoc action.
Comment 1 Jesse Glick 2005-07-26 03:44:55 UTC
committed   * Up-To-Date  1.6        
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/Bundle.properties
committed   * Up-To-Date  1.6        
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/ModuleActions.java
committed   * Up-To-Date  1.3        
apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/ui/ModuleActionsTest.java
Comment 2 pzajac 2005-07-28 13:39:15 UTC
It looks better because the user currently knows what's wrong. 

BTW there should be made more user friedly improvements. Last year I read a book
about UI design:-). There were some simple rules how to design UI. 

I try use two:

1)User don't like reading. 
The Warning dialog shows two sentences:
Javadoc cannot be produced for this module because is (mistake ?  - it)  has no
public packages. See the versioning tab in the project properties dialog. 
the "no public packages" and "versioning" words should be bold.  

2) The UI leads user and user don't have memory. 
So why not add "Show project properties" button into warning dialog and select 
  the "Versioning" tab in project properties after opening the project properties.

Comment 3 Martin Krauskopf 2005-07-28 13:44:06 UTC
> So why not add "Show project properties" button into warning dialog
> and select the "Versioning" tab in project properties after opening
> the project properties.

Because it is not possible to achieve this with the current
projectuiapi? ;) (sure, this is not an argument, just note)
Comment 4 Jesse Glick 2005-07-28 17:34:55 UTC
Original issue was already fixed, do not reopen. Typo and boldfacing I will do.
Showing button to open properties dialog - no, too much work for now, sorry.
Comment 5 Jesse Glick 2005-07-28 17:55:54 UTC
Never mind, it *is* possible to open it to the right panel; should not be hard.
Comment 6 Jesse Glick 2005-07-28 18:41:40 UTC
Done:

committed   * Up-To-Date  1.8        
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/Bundle.properties
committed   * Up-To-Date  1.7        
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/ModuleActions.java
committed   * Up-To-Date  1.34       
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/CustomizerProviderImpl.java
committed   * Up-To-Date  1.19       
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/CustomizerVersioning.java
Comment 7 pzajac 2005-08-03 14:42:56 UTC
Great:-) 
Comment 8 Jesse Glick 2005-08-03 20:42:03 UTC
Made a note in the UI spec about it.

BTW: the default button currently has a mnemonic. It should not, acc. to JLF. I
will fix.