Interface SelectionCompositeStrategy
-
public interface SelectionCompositeStrategy
Strategy for provision of the selection composite to show in the object selection dialog.- Since:
- 1.22
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SelectionCompositeStrategy.Provider
Specific Bazaar vendor interface for reference selection composite strategies.
-
Field Summary
Fields Modifier and Type Field Description static SelectionCompositeStrategy
DEFAULT
The default strategy.static java.lang.String
EXTENT
The name of a bazaar context variable providing the extent of objects from which to select, as aCollection
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SelectionComposite<? extends org.eclipse.jface.viewers.StructuredViewer>
getSelectionViewer(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, java.util.Collection<? extends org.eclipse.emf.ecore.EObject> extent)
Query the viewer to present from which the user will select object(s) to reference.
-
-
-
Field Detail
-
EXTENT
static final java.lang.String EXTENT
The name of a bazaar context variable providing the extent of objects from which to select, as aCollection
.- See Also:
- Constant Field Values
-
DEFAULT
static final SelectionCompositeStrategy DEFAULT
The default strategy. Provides a selection table with just the label column.
-
-
Method Detail
-
getSelectionViewer
SelectionComposite<? extends org.eclipse.jface.viewers.StructuredViewer> getSelectionViewer(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, java.util.Collection<? extends org.eclipse.emf.ecore.EObject> extent)
Query the viewer to present from which the user will select object(s) to reference.- Parameters:
owner
- an existing object in which a reference feature is to have references addedreference
- the reference of theowner
to which objects are to be addedextent
- the collection of objects from which the user may make a selection- Returns:
- the selection viewer composite
-
-