Menu

#2 Can this (GC icon) be moved to the status bar?

open
None
5
2005-06-25
2004-02-19
Anonymous
No

I like the way this appears in IntelliJ:
1) Appears on the right tip of the status bar.
2) Has a progress monitor which basically reflects the
amount of memory used, and the total (max) heap memory
for this process as text.
3) Automatically runs the GC (simulates the action from
this plugin) when the percentage of memory used crosses
a threshold value.
4) The coolbar icon to kick off a GC run is also part
of the status bar (right next to the progress monitor),
and this kicks off a manual GC run (when the user
clicks on the icon).
Can this plugin be modified to accomplish the above?

Discussion

  • Archimedes Trajano

    Logged In: YES
    user_id=55322

    I don't know how to do that at the moment, do you have any
    ideas? I haven't seen extension points for the statusbar in
    the Eclipse SDK.

     
  • Vijay Aravamudhan

    Logged In: YES
    user_id=327012

    You need to create an instance of IContribtionItem and then
    add it to the StatusLineManager returned by
    ApplicationWindow.getStatusLineManager();

    ie:

    IContributionItem item = new MyItem();
    window.getStatusLineManager().add(item);

     
  • Archimedes Trajano

    • assigned_to: nobody --> trajano
     
  • Archimedes Trajano

    Logged In: YES
    user_id=55322

    I guess its too late now, because I do not see that method
    ApplicationWindow.getStatusLineManager() in
    ApplicationWindow for the 3.1RC3 release.

     
  • Archimedes Trajano

    • summary: Can this (GC icon) be moved to the statuc bar? --> Can this (GC icon) be moved to the status bar?
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.