|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A policy that allows to specify valid Adapter
/ EObject
combinations.
CDOView.Options.addChangeSubscriptionPolicy(CDOAdapterPolicy)
,
CDOView.Options.setStrongReferencePolicy(CDOAdapterPolicy)
Field Summary | |
---|---|
static CDOAdapterPolicy |
ALL
A default adapter policy that always triggers special behaviour. |
static CDOAdapterPolicy |
CDO
A default adapter policy that only triggers special behaviour if the adapter under test implements CDOAdapter . |
static CDOAdapterPolicy |
NONE
A default adapter policy that never triggers any special behaviour. |
Method Summary | |
---|---|
boolean |
isValid(EObject eObject,
Adapter adapter)
Returns true if the given adapter on the given object should trigger a certain operation or behaviour,
false otherwise. |
Field Detail |
---|
static final CDOAdapterPolicy NONE
static final CDOAdapterPolicy CDO
CDOAdapter
.
static final CDOAdapterPolicy ALL
Method Detail |
---|
boolean isValid(EObject eObject, Adapter adapter)
true
if the given adapter on the given object should trigger a certain operation or behaviour,
false
otherwise.
CDOView.Options.addChangeSubscriptionPolicy(CDOAdapterPolicy)
,
CDOView.Options.setStrongReferencePolicy(CDOAdapterPolicy)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |