public interface CDOAdapterPolicy
CDOView.Options.addChangeSubscriptionPolicy(CDOAdapterPolicy)
,
CDOView.Options.setStrongReferencePolicy(CDOAdapterPolicy)
Modifier and Type | Field and Description |
---|---|
static CDOAdapterPolicy |
ALL
A default adapter policy that always triggers special behavior.
|
static CDOAdapterPolicy |
CDO
A default adapter policy that only triggers special behavior if the adapter under test implements
CDOAdapter . |
static CDOAdapterPolicy |
NONE
A default adapter policy that never triggers any special behavior.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(EObject eObject,
Adapter adapter)
Returns
true if the given adapter on the given object should trigger a certain operation or behavior,
false otherwise. |
static final CDOAdapterPolicy NONE
static final CDOAdapterPolicy CDO
CDOAdapter
.static final CDOAdapterPolicy ALL
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html