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.eclipse.jface.preference.IPreferenceStore store)Adds a configuration to this Interactive content. | 
| void | checkElement(IItemDescriptor<?> descriptor)Checks one element in the viewer. | 
| <T> void | checkElements(Collection<IItemDescriptor<T>> descriptors)Checks multiple element in the viewer. | 
| <T> void | checkElements(IItemDescriptor<T>[] descriptors)Checks multiple element in the viewer. | 
| Map<String,AbstractConfigurationUI> | getConfigurators() | 
| org.eclipse.jface.viewers.CheckboxTableViewer | getViewer()Gets the viewer. | 
| <T> void | select(IItemDescriptor<T> descriptor)Handles a selection in the viewer. | 
| <T> void | selectAll(Collection<IItemDescriptor<T>> descriptors)Handles a selection in the viewer. | 
| void | setViewer(org.eclipse.jface.viewers.CheckboxTableViewer inputViewer)Sets the viewer in the interactive content. | 
public void addConfigurator(String id, IConfigurationUIFactory configuratorfactory, org.eclipse.jface.preference.IPreferenceStore store)
id - Id of the item to configureconfiguratorfactory - Factory for the configurationstore - Preference store that will hold this IConfigurationUIFactory value.public void checkElement(IItemDescriptor<?> descriptor)
descriptor - element to check.public <T> void checkElements(Collection<IItemDescriptor<T>> descriptors)
descriptors - elements to check.public <T> void checkElements(IItemDescriptor<T>[] descriptors)
descriptors - elements to check.public Map<String,AbstractConfigurationUI> getConfigurators()
public org.eclipse.jface.viewers.CheckboxTableViewer getViewer()
public <T> void select(IItemDescriptor<T> descriptor)
descriptor - Item to select.public <T> void selectAll(Collection<IItemDescriptor<T>> descriptors)
descriptor - Item to select.public void setViewer(org.eclipse.jface.viewers.CheckboxTableViewer inputViewer)
inputViewer - A StructuredViewer of IItemDescriptor
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.