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 24360 - Do not put baseLook among Looks listed in 'View As' action
Summary: Do not put baseLook among Looks listed in 'View As' action
Status: VERIFIED WONTFIX
Alias: None
Product: contrib
Classification: Unclassified
Component: Looks (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
: 24097 (view as bug list)
Depends on:
Blocks: 23270
  Show dependency tree
 
Reported: 2002-06-03 21:15 UTC by Vitezslav Stejskal
Modified: 2008-11-18 11:35 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 Vitezslav Stejskal 2002-06-03 21:15:40 UTC
So called baseLook is always put among Looks listed in 'View As' action. This behavior makes 
no sense because baseLook usually delegates to one from listed Looks. It would be better to 
display only looks returned by Look.availableLooks method. It also needs to be changed in 
Look property.

Also, when availableLooks returns null or empty array it would be nice to ommit View As action 
from popup menu and Look property from property sheet. It really makes no sense for the 
user, because she can choose only one Look which is selected anyway
Comment 1 Vitezslav Stejskal 2002-06-05 12:39:17 UTC
*** Issue 24097 has been marked as a duplicate of this issue. ***
Comment 2 Petr Hrebejk 2002-06-24 11:11:53 UTC
Moving Looks issues to dev 4.0
Comment 3 Petr Hrebejk 2002-12-08 17:03:04 UTC
In the latest version of Looks. There is no BaseLook. If you want
to restrict the number of looks displayed in the ViewAs action 
please consider writting own View as action implementation using
Looks.lookSwitcherLook.
Comment 4 Marian Mirilovic 2003-07-25 19:19:28 UTC
verifying.