Modifier and Type | Interface and Description |
---|---|
static interface |
AttachmentStrategy.Provider
Specific Bazaar vendor interface for attachment strategies.
|
static interface |
CreateNewModelElementStrategy.Provider
Specific Bazaar vendor interface for add new model elements strategies.
|
static interface |
EClassSelectionStrategy.Provider
Specific Bazaar vendor interface for
EClass selection strategies. |
static interface |
EObjectSelectionStrategy.Provider
Specific Bazaar vendor interface for
EObject selection strategies. |
static interface |
OpenInNewContextStrategy.Provider
Specific Bazaar vendor interface for open strategies.
|
static interface |
ReferenceStrategy.Provider
Specific Bazaar vendor interface for reference strategies.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultCreateNewModelElementStrategyProvider
Default strategy that allows creating a new model element based on the sub classes of the reference type.
|
class |
ReferenceServiceCustomizationVendor<T>
A partial implementation of vendor services for
DefaultReferenceService
customization strategies in the bazaar. |
Modifier and Type | Method and Description |
---|---|
Bazaar.Builder<T> |
Bazaar.Builder.add(Vendor<? extends T> vendor)
Adds a vendor.
|
Bazaar.Builder<T> |
Bazaar.Builder.add(Vendor<? extends T> vendor1,
Vendor<? extends T> vendor2,
Vendor<? extends T>... more)
Adds vendors.
|
Bazaar.Builder<T> |
Bazaar.Builder.add(Vendor<? extends T> vendor1,
Vendor<? extends T> vendor2,
Vendor<? extends T>... more)
Adds vendors.
|
Bazaar.Builder<T> |
Bazaar.Builder.add(Vendor<? extends T> vendor1,
Vendor<? extends T> vendor2,
Vendor<? extends T>... more)
Adds vendors.
|
void |
Bazaar.addVendor(Vendor<? extends T> vendor)
Adds a
Vendor to the bazaar. |
void |
Bazaar.PriorityOverlapCallBack.priorityOverlap(Vendor<? extends T> winner,
Vendor<? extends T> overlapping)
Will be called if two
Vendor s do the same bid. |
void |
Bazaar.PriorityOverlapCallBack.priorityOverlap(Vendor<? extends T> winner,
Vendor<? extends T> overlapping)
Will be called if two
Vendor s do the same bid. |
void |
Bazaar.removeVendor(Vendor<? extends T> vendor)
Removes a
Vendor from the bazaar. |
Modifier and Type | Method and Description |
---|---|
Bazaar.Builder<T> |
Bazaar.Builder.addAll(Collection<? extends Vendor<? extends T>> vendors)
Adds vendors.
|
static <T> Bazaar.Builder<T> |
Bazaar.Builder.with(Collection<? extends Vendor<? extends T>> vendors)
Creates a new bazaar builder with the given initial
vendors . |
Modifier and Type | Class and Description |
---|---|
class |
FullVendorParameter2 |
class |
VendorCreatingProductParameter0 |
class |
VendorCreatingProductParameter1 |
class |
VendorPriority01Parameter1 |
class |
VendorPriority1Parameter0 |
class |
VendorPriority1Parameter1 |
class |
VendorPriority2Parameter0 |
class |
VendorPriority2Parameter1 |
class |
VendorWithNoValuePrecondition |
class |
VendorWithoutPrecondition |
class |
VendorWithPrecondition |
class |
VendorWithStaticBid0 |
class |
VendorWithStaticBid2 |
class |
VendorWithTwoPreconditions |
class |
VendorWrongBidParameter0 |
Modifier and Type | Method and Description |
---|---|
Vendor<? extends T> |
BazaarImpl.getBestVendor(org.eclipse.e4.core.contexts.IEclipseContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ThreadSafeBazaar.addVendor(Vendor<? extends T> vendor) |
void |
BazaarImpl.addVendor(Vendor<? extends T> vendor) |
boolean |
BazaarImpl.checkPreConditions(Vendor<? extends T> vendor,
org.eclipse.e4.core.contexts.IEclipseContext context)
Checks the
Precondition s for a given vendor. |
T |
BazaarImpl.createProduct(Vendor<? extends T> vendor,
org.eclipse.e4.core.contexts.IEclipseContext context)
Returns the product which is provided with the highest priority by any
Vendor . |
void |
ThreadSafeBazaar.removeVendor(Vendor<? extends T> vendor) |
void |
BazaarImpl.removeVendor(Vendor<? extends T> vendor) |
Modifier and Type | Method and Description |
---|---|
<T> Bazaar.Builder<T> |
BazaarVariant.builder(Collection<? extends Vendor<? extends T>> vendors)
Create a bazaar builder to test, with initial vendors.
|
Constructor and Description |
---|
ThreadSafeBazaar(Collection<? extends Vendor<? extends T>> vendors,
Map<String,? extends BazaarContextFunction> contextFunctions,
Bazaar.PriorityOverlapCallBack<? super T> priorityOverlapCallBack)
Initializes me with an initial configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
TemplateCreateNewModelElementStrategyProvider
Provides a strategy to the
DefaultReferenceService
that allows creating new model elements based on a template with pre-defined values. |
Modifier and Type | Class and Description |
---|---|
class |
DataTemplateEClassSelectionStrategyProvider
An
EClassSelectionStrategy.Provider for
DataTemplate EClass Selection. |
Modifier and Type | Class and Description |
---|---|
class |
EcoreAttachmentStrategyProvider
Provider of object attachment strategy for specific use cases in Ecore models, such as
creation of opposite references in the context of a reference.
|
class |
EcoreEObjectSelectionStrategyProvider
Provider of existing object selection strategy for specific use cases in Ecore models,
such as selection of eligible references to be opposites of a reference.
|
class |
EcoreOpenInNewContextStrategyProvider
Provider of strategy for opening of new objects in Ecore models.
|
class |
EcoreReferenceStrategyProvider
Provider of reference editing strategy for specific use cases in Ecore models.
|
Copyright © 2018. All rights reserved.