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.
Summary: | Do not hardcode constant for setAsMain on NewProjectWizard | ||
---|---|---|---|
Product: | projects | Reporter: | Jesse Glick <jglick> |
Component: | Generic Infrastructure | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apireviews, tmysik |
Priority: | P3 | Keywords: | API, API_REVIEW_FAST |
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Proposed patch, with usage in three project types |
Description
Jesse Glick
2010-04-14 20:51:36 UTC
Created attachment 97396 [details]
Proposed patch, with usage in three project types
Please review. A minor change: for compatibility, the default value of the flag must be true, not false. This explains why e.g. the autoproject wizard always sets the new project as main despite having no code mentioning a main project. core-main #185434522b7f Integrated into 'main-golden', will be available in build *201004220200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/185434522b7f User: Jesse Glick <jglick@netbeans.org> Log: Issue #184213: provide proper API for setAsMain constant. |