Wizard for AU update center — UI Proposal

Version:
January 23, 2006
Author:
Jiri Rechtacek
Abstract:

Feature 71060 allows users to publish own update center in the way that declares the Update Center which allows module users to check content Update Center by way of AutoUpdate functionality.

Update Center Wrapper Template — Proposed UI

Update Center Wrapper Template is accessible as New File Template ie. Update Center Wrapper Template.

User can select File | New File and choose the category NetBeans Module Development and Update Center Wrapper Template.

Next, an user have to specify the Update Descriptor what wants to publish: URL to Update Descriptor ie. XML representation of Autoupdate Modules/Updates Catalog, display name and custom icon. The Update Descriptor can be validate against Update Catalog DTD. This URL can be also check if it's live and accessible.

Makes the given Update Center declaration, e.g. write in corresponding module's XML layer and creates all required supporting files and records in bundles.

New Update Center Wrapper—Name and Location

...............................................................................
. New Update Center Wrapper                                                   .
. --------------------------------------------------------------------------- .
.                                                                             .
. _U_RL to Update Descriptor: [http://localhost____________________________]  .
.                                                                             .
. _D_isplay name: [<module name> Update Center_______________________]        .
.                                                                             .
. I_D_ of Update Center in XML layer: [<module name>_UpdateCenter_URL]        .
.                                                                             .
. _I_con: [/home/stuff/icons/updateCenter.gif________________] [Bro_w_se...]  .
.                                                                             .
.                                                                             .
. [_C_heck connectivity]                                                      .
.                                                                             .
.                                                                             .
. _C_reated Files:  /mymod/src/org/myorg/mymod/update_center.settings         .
.                   /mymod/src/org/myorg/mymod/updateCenter.gif               .
.                                                                             .
. _M_odified Files: /mymod/src/org/myorg/mymod/layer.xml                      .
.                   /mymod/src/org/myorg/mymod/Bundle.properties              .                                                                             .
.                                                                             .
.                                                                             .
...............................................................................
                            [_B_ack] [Next>]   [[_F_inish]]   [Cancel] [_H_elp]

URL to Update Descriptor: holds the Url to a XML file, XML representation of Autoupdate Modules/Updates Catalog.

Display name: represents the Update Center in the list of Update Centers.

Id of Update Center in XML layer: identifies the Update Center among Update Centers declared in SFS, links from XML layer to module's Bundle.

Icon: icon which is displayed also in the list of Update Center (in Advanced Options dialog)

Check connectivity opens a progress bar in wizard's panel. Trying to create URL connection the given URL and display check output in bellow the button.

Created files: contain the settings file with Autoupdate XML service type and custom icon.

Modified files: include XML layer file (with Update Center declaration) and module's Bundle which contains the value of URL.

Error conditions include:

Warning conditions include:

Next is disabled. The wizard can be finished with default values.