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.
Difference between revisions of "Nebula HeapManager"
(Created page with "==Introduction== File: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...") |
|||
Line 4: | Line 4: | ||
A widget that displays the available heap size, the current heap size and a button to perform a Garbage Collecting. | A widget that displays the available heap size, the current heap size and a button to perform a Garbage Collecting. | ||
− | Usage | + | |
+ | __TOC__ | ||
+ | |||
+ | ==Usage== | ||
In order to add this widget in your GUI, you just have to instantiate the widget with the appropriate parent | In order to add this widget in your GUI, you just have to instantiate the widget with the appropriate parent |
Revision as of 09:17, 18 February 2018
Introduction
A widget that displays the available heap size, the current heap size and a button to perform a Garbage Collecting.
Contents
Usage
In order to add this widget in your GUI, you just have to instantiate the widget with the appropriate parent
If you want to change the look of the widget, you can play with the following properties :
- 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 : https://git.eclipse.org/c/nebula/org.eclipse.nebula.git/tree/widgets/opal/heapmanager/org.eclipse.nebula.widgets.opal.heapmanager.snippets/src/org/eclipse/nebula/widgets/opal/heapmanager/snippets/HeapManagerSnippet.java