public final class Palette
extends java.lang.Object
This class is a singleton and is final with oracle.ide.palette2. Clients may get a reference to the instance of this class by calling API PaletteManager.getPalette().
This class provides APIs to add, remove, and update Palette Pages.
Constructor and Description |
---|
Palette()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addPalettePageProvider(PalettePageProvider pageProvider)
Add Palette Pages
|
static Palette |
getInstance()
Returns the singleton instance of
Palette . |
java.util.List<PalettePageProvider> |
getPalettePageProviders()
Get PalettePages.
|
public static Palette getInstance()
Palette
.public void addPalettePageProvider(PalettePageProvider pageProvider)
pageProvider
-PalettePageProvider
public java.util.List<PalettePageProvider> getPalettePageProviders()
PalettePageProvider