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 195883

Summary: Notification about change of filter in Outline
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: Outline&TreeTableAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: AngeloD, apireviews, jtulach, mentlicher
Priority: P1 Keywords: API_REVIEW_FAST
Version: 7.0   
Hardware: Other   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: firePropertyChange("quickFilter")

Description Jaroslav Tulach 2011-02-23 17:45:10 UTC
Imagine I want to write an external action "Reset Filter" and show it in a toolbar. This actions should be disabled, when the Outline has no filter, and enabled, as soon as setQuickFilter method is called. Again, when unsetQuickFilter is called, the action should be disabled.

Looking at current implementation, there does not seem to be a straightforward way to it.
Comment 1 Jaroslav Tulach 2011-02-23 17:46:28 UTC
Created attachment 106353 [details]
firePropertyChange("quickFilter")
Comment 2 Jaroslav Tulach 2011-02-23 17:47:52 UTC
Please review.
Comment 3 Martin Entlicher 2011-02-28 15:35:29 UTC
It's fine for me.
Only the issue number in apichanges.xml should be this (195883).
Comment 4 Jaroslav Tulach 2011-03-01 20:41:56 UTC
OK, I'll apply the change tomorrow.
Comment 5 Jaroslav Tulach 2011-03-02 05:24:04 UTC
ergonomics#77344a153d1a
Comment 6 Quality Engineering 2011-03-04 05:43:17 UTC
Integrated into 'main-golden', will be available in build *201103040000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/77344a153d1a
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #195883 - Notification about change of filter in Outline