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 55828 - Allow adding components in the Status Line
Summary: Allow adding components in the Status Line
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2005-03-03 09:47 UTC by Jiri Rechtacek
Modified: 2008-12-22 15:51 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
proposed change (51.97 KB, patch)
2005-03-03 09:48 UTC, Jiri Rechtacek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2005-03-03 09:47:14 UTC
Autoupdate module wants to indicate that some new
updates are available via a flashing icon in the
status line.

How to get it?

New interface in core module, the interface
implementators registers itself in own module's
META-INF/services. The core/windows/MainWindow
listens on default lookup and adds/removes this
components in east side of the status line.

New interface in
org.netbeans.core.StatusLineElementProvider,
implementators are core module
(ExceptionNotification) and autoupdate (new
updates notification).

More info in attached patch.
Comment 1 Jiri Rechtacek 2005-03-03 09:48:07 UTC
Created attachment 20645 [details]
proposed change
Comment 2 David Simonek 2005-03-03 10:35:12 UTC
A couple of questions and notes:

1) Progress API will need to use this API as well, so ccing Milos
2) Does the solution support ordering of components in status line?
How?  (diff is huge...)
Comment 3 Jiri Rechtacek 2005-03-03 10:48:28 UTC
Ordering? Yes, it's possible via the existing support in metaservices.
Just a number for position in the registration file.
Comment 4 David Simonek 2005-03-03 10:59:23 UTC
OK, no further complaints from me.
Comment 5 Jiri Rechtacek 2005-03-10 11:02:15 UTC
Thanks for review, will integrated ASAP.
Comment 6 Jiri Rechtacek 2005-03-10 11:02:48 UTC
Checking in core/arch/arch-core.xml;
/cvs/core/arch/arch-core.xml,v  <--  arch-core.xml
new revision: 1.3; previous revision: 1.2
done
Checking in core/src/META-INF/services/org.netbeans.core.StatusLineElementProvider;
/cvs/core/src/META-INF/services/org.netbeans.core.StatusLineElementProvider,v 
<--  org.netbeans.core.StatusLineElementProvider
new revision: 1.2; previous revision: 1.1
done
Checking in core/src/org/netbeans/core/ExceptionVisualizerProvider.java;
/cvs/core/src/org/netbeans/core/ExceptionVisualizerProvider.java,v  <-- 
ExceptionVisualizerProvider.java
new revision: 1.2; previous revision: 1.1
done
Checking in core/src/org/netbeans/core/StatusLineElementProvider.java;
/cvs/core/src/org/netbeans/core/StatusLineElementProvider.java,v  <-- 
StatusLineElementProvider.java
new revision: 1.2; previous revision: 1.1
done
Checking in core/windows/src/org/netbeans/core/windows/view/ui/MainWindow.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/MainWindow.java,v  <-- 
MainWindow.java
new revision: 1.46; previous revision: 1.45
done
Checking in autoupdate/arch/arch-autoupdate.xml;
/cvs/autoupdate/arch/arch-autoupdate.xml,v  <--  arch-autoupdate.xml
new revision: 1.26; previous revision: 1.25
done
Checking in
autoupdate/src/META-INF/services/org.netbeans.core.StatusLineElementProvider;
/cvs/autoupdate/src/META-INF/services/org.netbeans.core.StatusLineElementProvider,v
 <--  org.netbeans.core.StatusLineElementProvider
new revision: 1.2; previous revision: 1.1
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/AutoChecker.java;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/AutoChecker.java,v  <-- 
AutoChecker.java
new revision: 1.43; previous revision: 1.42
done
Checking in
autoupdate/src/org/netbeans/modules/autoupdate/AvailableUpdateVisualizerProvider.java;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/AvailableUpdateVisualizerProvider.java,v
 <--  AvailableUpdateVisualizerProvider.java
new revision: 1.2; previous revision: 1.1
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/Bundle.properties;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.147; previous revision: 1.146
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/Downloader.java;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/Downloader.java,v  <-- 
Downloader.java
new revision: 1.39; previous revision: 1.38
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/FlashingIcon.java;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/FlashingIcon.java,v  <-- 
FlashingIcon.java
new revision: 1.2; previous revision: 1.1
done
Checking in
autoupdate/src/org/netbeans/modules/autoupdate/ProblemsVisualizerProvider.java;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/ProblemsVisualizerProvider.java,v
 <--  ProblemsVisualizerProvider.java
new revision: 1.2; previous revision: 1.1
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/SignVerifier.java;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/SignVerifier.java,v  <-- 
SignVerifier.java
new revision: 1.28; previous revision: 1.27
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/Updates.java;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/Updates.java,v  <-- 
Updates.java
new revision: 1.34; previous revision: 1.33
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/Wizard.java;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/Wizard.java,v  <--  Wizard.java
new revision: 1.72; previous revision: 1.71
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/XMLUpdates.java;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/XMLUpdates.java,v  <-- 
XMLUpdates.java
new revision: 1.28; previous revision: 1.27
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/resources/newUpdates.gif;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/resources/newUpdates.gif,v 
<--  newUpdates.gif
new revision: 1.2; previous revision: 1.1
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/resources/problems.gif;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/resources/problems.gif,v 
<--  problems.gif
new revision: 1.2; previous revision: 1.1
done