public class PanelSupplier extends Object implements ComboListParameterDataSupplier
Constructor and Description |
---|
PanelSupplier(Class panelProvider) |
Modifier and Type | Method and Description |
---|---|
List |
getKeys()
Returns the keys for displayed values
|
static Panel |
getPanelForKey(WorkspaceImpl workspace,
String key)
Given a key like panelId@sectionId@workspaceId, return the panel if any, that
matches this pattern
|
List |
getValues()
Returns the values to display for a given selection control
|
void |
init(PanelInstance instance)
Called to initialize status
|
public PanelSupplier(Class panelProvider)
public void init(PanelInstance instance)
init
in interface ComboListParameterDataSupplier
instance
- instance to initialize status for.public List getValues()
getValues
in interface ComboListParameterDataSupplier
public List getKeys()
getKeys
in interface ComboListParameterDataSupplier
public static Panel getPanelForKey(WorkspaceImpl workspace, String key)
key
- Encoded form of panel id.workspace
- The workspace where the panel is expected to be.Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.