|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Adaptable
Interface implemented by transactional editing domains that support dynamic adaptation to optional interfaces.
As the Adaptable interface is, itself, optional, the
TransactionUtil
class provides a convenient
TransactionUtil.getAdapter(org.eclipse.emf.transaction.TransactionalEditingDomain, Class)
method to attempt to obtain an adapter for any editing domain.
Method Summary | ||
---|---|---|
|
getAdapter(Class<? extends T> adapterType)
Obtains an instance of the specified adapter type. |
Method Detail |
---|
<T> T getAdapter(Class<? extends T> adapterType)
T
- the interface for which to get an adapteradapterType
- the required interface
null
if I do not supply this interface
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |