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 10929 - Changes in ManifestDataLoader.
Summary: Changes in ManifestDataLoader.
Status: CLOSED DUPLICATE of bug 10928
Alias: None
Product: obsolete
Classification: Unclassified
Component: apisupport (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: issues@apisupport
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-02 08:49 UTC by Jan Zajicek
Modified: 2006-02-14 17:42 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 Jan Zajicek 2001-04-02 08:49:22 UTC
Please change your ManifestDataLoader in 3.2 and Dev according to the following
changes:

http://www.netbeans.org/www-nbdev/msg05184.html

There is an typical example how to make this change:

Old code:
    protected void initialize () {
        setDisplayName (NbBundle.getMessage (NbmDataLoader.class,"LBL_loaderName"));
        setActions (new SystemAction[] {
                        SystemAction.get (OpenAction.class),
                        SystemAction.get (PropertiesAction.class),
                    });
        // some other code
    }

New code:
    protected void initialize () {
        // some other code
    }

    protected SystemAction[] defaultActions () {
        return new SystemAction[] {
                        SystemAction.get (OpenAction.class),
                        SystemAction.get (PropertiesAction.class),
                    };
    }

    protected String defaultDisplayName () {
        return NbBundle.getMessage (NbmDataLoader.class, "LBL_loaderName");
    }

Please don't store default actions in static variables - because of
performance.
Comment 1 Jesse Glick 2001-04-02 15:47:25 UTC
You entered this one twice maybe?

*** This issue has been marked as a duplicate of 10928 ***
Comment 2 Quality Engineering 2003-06-30 15:01:07 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 3 Quality Engineering 2003-06-30 15:02:56 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 4 Quality Engineering 2003-06-30 15:04:32 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.