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 37956 - Plugin needs abililty to allow removal of bundled instance
Summary: Plugin needs abililty to allow removal of bundled instance
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 07:40 UTC by Nam Nguyen
Modified: 2006-06-05 00:39 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 Nam Nguyen 2003-12-10 07:40:55 UTC
The proposal is to have an attribute called
"removable" in module layer.xml for plugin writer
to specify whether the predefined instances is
removable by users through instance node remove
action.
Comment 1 _ rkubacki 2003-12-12 10:55:56 UTC
AFAIK instances are can be removable unless you write some code that
will behave differently for bundled/not bundled instances. They are
stored in system filesystem and module layer is only part of this FS.
What is the problem?
Comment 2 Nam Nguyen 2003-12-12 17:10:42 UTC
That right. The problem is it is a general feeling that Tomcat bundled
instance should not be removeable.  So we need this attribute to
prevent user from accidentally remove it.  
Anyway, this probably not needed anymore as plugin will have the more
control for its UI in the registry node from George coming design.
Comment 3 Nam Nguyen 2004-02-02 15:55:46 UTC
Pavel, with the remove instance confirmation dialog do we need to have
this attribute for Tomcat not to show the remove action on instance node?
Comment 4 Nam Nguyen 2004-02-27 08:08:20 UTC
Closed as WONTFIX because now we have confirmation dialog and also if
user really want to remove, it should be ovious, not hidden.