Package org.eclipse.emf.cdo.view
Interface CDOAdapterPolicy
- 
- All Known Implementing Classes:
- AbstractObjectConflictResolver.MergeLocalChangesPerFeature,- AbstractObjectConflictResolver.ThreeWayMerge
 
 public interface CDOAdapterPolicyA policy that allows to specify validAdapter/EObjectcombinations.- Since:
- 2.0
- Author:
- Simon McDuff
- See Also:
- CDOView.Options.addChangeSubscriptionPolicy(CDOAdapterPolicy),- CDOView.Options.setStrongReferencePolicy(CDOAdapterPolicy)
 
- 
- 
Field SummaryFields Modifier and Type Field Description static CDOAdapterPolicyALLA default adapter policy that always triggers special behavior.static CDOAdapterPolicyCDOA default adapter policy that only triggers special behavior if the adapter under test implementsCDOAdapter.static CDOAdapterPolicyNONEA default adapter policy that never triggers any special behavior.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisValid(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.notify.Adapter adapter)Returnstrueif the given adapter on the given object should trigger a certain operation or behavior,falseotherwise.
 
- 
- 
- 
Field Detail- 
NONEstatic final CDOAdapterPolicy NONE A default adapter policy that never triggers any special behavior.
 - 
CDOstatic final CDOAdapterPolicy CDO A default adapter policy that only triggers special behavior if the adapter under test implementsCDOAdapter.
 - 
ALLstatic final CDOAdapterPolicy ALL A default adapter policy that always triggers special behavior.
 
- 
 
-