Re: [xml-dev] Re: XML Entity Catalogue

Petr Kuzel <[email protected]> Thu, 24 Apr 2003 18:04:47 +0200
Newsgroups gmane.comp.java.netbeans.modules.xml.devel
Organization CollabNet Hosting
Message-ID <[email protected]>
Jesse Glick wrote:

Jesse, thanks for comments.

> 1. Inconsistency with usage of e.g. Mount/ folder, and almost everything
> else in NetBeans that consists of a set of services that can be added by
> modules and/or users.

It's faster to use private namespace. There were mumours that
XML module registers too many things in shared areas so we
created private area called Plugins/XML/. Unfortunately it's not
used consistently in the module, yet.

> 2. User-added catalogs are serialized to
>
Services/Hidden/org-netbeans-modules-xml-catalog-settings-CatalogSettings.settings
> in unreadable form when they could be added as individual service files
> to e.g. Services/XMLCatalogs/.

The implementation is about 2+ years old. Now I'd not use that approach.
I'd delegate persistence responsibility to catalog providers.
 
> 3. Nonstandard UI (Runtime tab rather than Options, Unmount rather than
> Delete, no Change Order action, etc.) is encouraged by the nonstandard
> design.

Such naming was requested. It cannot be under global options because
user mounted catalogs are project sensitive.
 
> 4. No ability to make a catalog project-specific or revert a catalog
> change from default settings.

User catalogs are project specifics. Module catalogs were required
to be global.
 
> 5. Storage of user-added catalogs will need to be changed to work with
> the Registry API or whatever in 4.0, so the work has just been deferred.

I'd delegate the persistence responsibility to catalog providers :-).

  Cc.