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 2422 - Open File's -wait option should be more robust
Summary: Open File's -wait option should be more robust
Status: STARTED
Alias: None
Product: utilities
Classification: Unclassified
Component: Open File (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks: 2424
  Show dependency tree
 
Reported: 1999-07-10 19:04 UTC by Jesse Glick
Modified: 2011-09-01 15:55 UTC (History)
0 users

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 Jesse Glick 1999-07-10 19:04:04 UTC
- ought to use EditorCookie.getOpenedPanes to check where the file is open, if an EditorCookie is available and not just OpenCookie. That way, closing the window would suffice to notify the waiter,
not just editing & saving. But is any event fired when the pane set changes?? [no--#3618] Also, should notify when IDE exits if any panes are still opened.

- should return immed. with error if file could not be loaded (e.g. null returned from find()).

- host rejections should also return immed. with error.

[later] generally, a more generic TCP-based system (see Wishlist, Tell IDE To...) would be useful for many such features.
Comment 1 Jan Chalupa 2001-03-12 12:20:27 UTC
Version: 'Dev' -> 3.2
Comment 2 Peter Zavadsky 2001-03-21 16:11:06 UTC
Fixed in [release32] and [main-trunk] the monitoring on opened TopComponent of
data object having editor cookie. When closing calls back with 0 flag.
Works not 100% due to bug [#10545].

Due to teh rest left new and reassigned to utilities.

[Jesse]Please could you send me the WishList, I couldn't find it.
Comment 3 Jesse Glick 2001-04-03 11:42:14 UTC
Re. wishlist--out of date and not maintained. The item in question has anyway
been basically implemented by scripting's telnet server.
Comment 4 Peter Zavadsky 2001-04-23 15:47:57 UTC
Changed to enahcement. It should be implemented for next realease.
Comment 5 Jan Chalupa 2001-05-06 15:21:30 UTC
Target milestone -> 3.3
Comment 6 Jan Chalupa 2001-11-27 17:26:34 UTC
Target milestone -> 3.3.1.
Comment 7 Marek Grummich 2002-07-22 11:55:20 UTC
Set target milestone to TBD
Comment 8 Marek Grummich 2002-07-22 11:57:18 UTC
Set target milestone to TBD
Comment 9 Jesse Glick 2003-09-11 19:07:57 UTC
-wait removed for now (as part of issue #31396) since it needs to wait
for editor pane closure, which is not yet implemented. CLI-side code
is ready, but not the part dealing with EditorCookie etc.
Comment 10 Marian Petras 2005-05-03 14:43:03 UTC
The -wait option is not currently supported, so this enhancement is not
currently applicable. If the -wait option returns, please re-evaluate this
enhancement again.