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 70877 - Wizard to add a ModuleInstall
Summary: Wizard to add a ModuleInstall
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-31 19:43 UTC by Jesse Glick
Modified: 2006-01-18 15:42 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 Jesse Glick 2005-12-31 19:43:39 UTC
Should be enabled on any NBM project (but Finish should be enabled iff there is
not already a ModuleInstall). No special options to show, just ask for a package
and name for the new class. Can initially be empty, or just have

public final class X extends ModuleInstall {
    public void restored() {
        super.restored();
        // TODO add special load-time behavior
    }
}

Of course the wiz must also register the new class in manifest.mf.
Comment 1 Martin Krauskopf 2006-01-16 20:48:43 UTC
So presuambly trivial. I'll take a look at it soon.
Comment 2 Martin Krauskopf 2006-01-17 15:15:58 UTC
Implemented.

ui/resources/newModuleInstall.html; 1.1
ui/resources/layer.xml; 1.35 -> 1.36;
ui/wizard/moduleinstall/Bundle.properties; 1.1
ui/wizard/moduleinstall/DataModel.java; 1.1
ui/wizard/moduleinstall/ModuleInstallPanel.form; 1.1
ui/wizard/moduleinstall/ModuleInstallPanel.java; 1.1
ui/wizard/moduleinstall/NewModuleInstallIterator.java; 1.1
ui/wizard/moduleinstall/moduleInstall.javx; 1.1
Comment 3 Jesse Glick 2006-01-17 18:41:18 UTC
Please also update apisupport/www/50u1-ui.html.
Comment 4 Martin Krauskopf 2006-01-18 10:20:26 UTC
Ok, done.

50u1-ui.html; 1.3 -> 1.4;
Comment 5 pzajac 2006-01-18 15:42:09 UTC
Nice. The Safe Delete also deletes the item in manifest:-).