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 10141 - No way to provide custom delete dialog
Summary: No way to provide custom delete dialog
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks: 8525 10242
  Show dependency tree
 
Reported: 2001-03-09 21:18 UTC by Unknown
Modified: 2008-12-22 17:40 UTC (History)
1 user (show)

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 Unknown 2001-03-09 21:18:04 UTC
I have a data object and my 'canDelete' method returns
true. But I want to put up a different dialog if the
user selects delete. I can't seem to do this. The
action performer seems to be set on the DeleteAction
in ExplorerActions.java and I can't figure out any way
to change it, so I can't control the dialog that appears.
Comment 1 David Strupl 2001-03-12 10:57:45 UTC
Sounds more like enhancement to me (I have changed the issue type). Joe - could you
please propose also what the correct behaviour should be if the user selects
more nodes? I can't find a way how to do this: sequence of custom confirmation
dialogs sounds pretty scary to me.
Comment 2 Jesse Glick 2001-03-12 16:58:46 UTC
I also suggest this be marked P4, since as a (nontrivial) API change it cannot
be considered for 3.2 unless some existing functionality is critically impacted.
(However it already marked 'Dev' so maybe that is not necessary.) The effects of
this on scripting and automated deletion of various sorts must also be
considered. I agree that being able to modify the UI of node deletion could be
useful, but I don't see a simple/obvious solution.
Comment 3 Jaroslav Tulach 2001-03-13 08:46:14 UTC
As concern the deletion of mutliple nodes at once there probably has to be some
kind of negotiation between the nodes to agree on one question dialog for all of
them. But that is far beyond my imagination of what it should be. I guess
requirements needed.
Comment 4 Martin Entlicher 2001-04-11 20:08:10 UTC
Issue #8525 is blocked by this issue.
Comment 5 Jan Chalupa 2001-05-06 08:13:03 UTC
Target milestone -> 3.3
Comment 6 David Strupl 2001-06-21 13:42:44 UTC
Unless there is a clear proposal what should the behaviour be I am marking this
as LATER. Add comments, proposals etc. and eventually reopen.
Comment 7 David Strupl 2002-02-15 10:39:07 UTC
x
Comment 8 David Strupl 2002-07-23 15:07:17 UTC
Target milestone should be determined. If there are any plans for
completely new wizard framework this issue should be part of it.
Comment 9 David Strupl 2002-08-06 09:58:43 UTC
Oops -- I said wizards in my previous comment. I am not yet sure
whether it is DataSystem, Nodes, Looks or ...? Anyway we need a
specification of the expected behaviour (both UI and API) to be able
to resolve this one. If there is none - I am leaving the target
milestone set to future.
Comment 10 Jaroslav Tulach 2004-01-28 11:04:44 UTC
The ExplorerActions are now replaced by ExplorerUtils and they allow
to associate own delete action with explorer panel. This is used by
form editor module.