public final class InteractiveUIContent extends Object
This viewer can have a satellite configuration composite reacting on selection. It displays a configuration UI for the current selection. It's requires a configuration UI registry.
This viewer can have a satellite text field holding the description of the current selection. This field display the description for the current element.
This class allows a user to select and check elements.
It can also synchronize the state of checked element into a DataHolder
Modifier and Type | Class and Description |
---|---|
static class |
InteractiveUIContent.InteractiveUIBuilder<T>
Builder for an Interactive UI.
|
Modifier and Type | Method and Description |
---|---|
void |
addConfigurator(String id,
IConfigurationUIFactory configuratorfactory,
org.osgi.service.prefs.Preferences pref)
Adds a configuration to this Interactive content.
|
void |
checkElement(IItemDescriptor<?> descriptor)
Checks one element in the viewer.
|
void |
checkElements(IItemDescriptor<?>[] descriptors)
Checks multiple element in the viewer.
|
Map<String,AbstractConfigurationUI> |
getConfigurators() |
void |
select(IItemDescriptor<?> descriptor)
Handles a selection in the viewer.
|
void |
setViewer(CheckboxTableViewer inputViewer)
Sets the viewer in the interactive content.
|
public void addConfigurator(String id, IConfigurationUIFactory configuratorfactory, org.osgi.service.prefs.Preferences pref)
id
- Id of the item to configureconfiguratorfactory
- Factory for the configurationpref
- Preference store that will hold this IConfigurationUIFactory
value.public void checkElement(IItemDescriptor<?> descriptor)
descriptor
- element to check.public void checkElements(IItemDescriptor<?>[] descriptors)
descriptors
- elements to check.public Map<String,AbstractConfigurationUI> getConfigurators()
public void select(IItemDescriptor<?> descriptor)
descriptor
- Item to select.public void setViewer(CheckboxTableViewer inputViewer)
inputViewer
- A StructuredViewer
of IItemDescriptor
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.