Class GroupsInteractiveContent
java.lang.Object
org.eclipse.emf.compare.rcp.ui.internal.preferences.impl.GroupsInteractiveContent
Interactive content used for
IDifferenceGroupProvider preferences.-
Constructor Summary
ConstructorsConstructorDescriptionGroupsInteractiveContent(org.eclipse.swt.widgets.Composite parent) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGetsIItemDescriptorof {IDifferenceGroupProvider.org.eclipse.swt.widgets.CompositeThe composite holding the viewer.voidselect(IItemDescriptor<IDifferenceGroupProvider.Descriptor> descriptor) Handles a selection in the viewer.voidsetViewer(org.eclipse.jface.viewers.ListViewer inputViewer) Set the viewer.voidSets the input for interactive content.
-
Constructor Details
-
GroupsInteractiveContent
public GroupsInteractiveContent(org.eclipse.swt.widgets.Composite parent) Constructor.- Parameters:
parent- Main composite holding this group interactive content.
-
-
Method Details
-
getOrderedItems
GetsIItemDescriptorof {IDifferenceGroupProvider.@link Descriptor} ordered by user.- Returns:
- The ordered list of
IItemDescriptor.
-
getViewerComposite
public org.eclipse.swt.widgets.Composite getViewerComposite()The composite holding the viewer.- Returns:
- Compsite
-
select
Handles a selection in the viewer. Updates related components.- Parameters:
descriptor- The descriptor to select.
-
setViewerInput
Sets the input for interactive content.- Parameters:
input- Input of the viewsr.
-
setViewer
public void setViewer(org.eclipse.jface.viewers.ListViewer inputViewer) Set the viewer.- Parameters:
inputViewer- AListViewerofIItemDescriptor
-