public class CDOElement extends AdapterImpl implements IAdaptable
| Modifier and Type | Class and Description |
|---|---|
static interface |
CDOElement.StateProvider |
Adapter.Internaltarget| Constructor and Description |
|---|
CDOElement(EObject delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Object child) |
Object |
getAdapter(Class adapter) |
Object[] |
getChildren() |
Object |
getDelegate() |
static CDOElement |
getFor(Object object) |
Object |
getParent() |
static EObject |
getParentOf(EObject eObject) |
boolean |
hasChildren() |
boolean |
isAdapterForType(Object type) |
static EList<Adapter> |
removeFrom(Object object) |
void |
reset() |
String |
toString() |
String |
toString(Object child) |
getTarget, notifyChanged, setTarget, unsetTargetpublic CDOElement(EObject delegate)
public Object getDelegate()
public Object getParent()
public Object[] getChildren()
public boolean hasChildren()
public void addChild(Object child)
public void reset()
public boolean isAdapterForType(Object type)
isAdapterForType in interface AdapterisAdapterForType in class AdapterImplpublic Object getAdapter(Class adapter)
getAdapter in interface IAdaptablepublic static CDOElement getFor(Object object)
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