Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Nebula HeapManager

Revision as of 06:28, 19 March 2020 by Laurent.caron.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Back to Nebula Main Page

Introduction

HeapManager.png

A widget that displays the available heap size, the current heap size and a button to perform a Garbage Collecting.

Usage

In order to add this widget in your GUI, you just have to instantiate the widget with the relevant parent

If you want to change the look of the widget, you can play with the following properties (by calling the associated setter) :

  • barBorderColor
  • barInnerColor
  • barTextColor
  • barGradientColorTopStart
  • barGradientColorTopEnd
  • barGradientColorMiddleStart

Example

An example called HeapManagerSnippet.java is available in the plug-in org.eclipse.nebula.widgets.opal.heapmanager.snippets.

This example is also available here : HeapManagerSnippet.java

Back to the top