Can this (GC icon) be moved to the status bar?
Brought to you by:
trajano
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?
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.
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);
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.