Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


org.eclipse.emf.transaction.util
Interface Adaptable

All Known Implementing Classes:
TransactionalEditingDomainImpl

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.

Since:
1.2

Method Summary
<T> T
getAdapter ( Class<? extends T> adapterType)
          Obtains an instance of the specified adapter type.
 

Method Detail

getAdapter

<T> T getAdapter(
Class<? extends T> adapterType)
Obtains an instance of the specified adapter type.

Type Parameters:
T - the interface for which to get an adapter
Parameters:
adapterType - the required interface
Returns:
an instance of the required interface that adapts me, or null if I do not supply this interface

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire