edu.cmu.sei.aadl.model.provider
Class AObjectWIPAdapterFactory

java.lang.Object
  extended by edu.cmu.sei.aadl.model.provider.AObjectWIPAdapterFactory
All Implemented Interfaces:
org.eclipse.core.runtime.IAdapterFactory

public class AObjectWIPAdapterFactory
extends java.lang.Object
implements org.eclipse.core.runtime.IAdapterFactory

AdapterFactory that knows how to adapt AObjectWrapperItemProvider objects to a IActionFilter and AObject.

When adapting to an action filter, the AObjectWIPActionFilter.prototype is returned.

When adapting to an AObject, the item provider is unwrapped to retreive the AObject.

Author:
aarong

Constructor Summary
AObjectWIPAdapterFactory()
           
 
Method Summary
 java.lang.Object getAdapter(java.lang.Object adaptableObject, java.lang.Class adapterType)
           
 java.lang.Class[] getAdapterList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AObjectWIPAdapterFactory

public AObjectWIPAdapterFactory()
Method Detail

getAdapter

public java.lang.Object getAdapter(java.lang.Object adaptableObject,
                                   java.lang.Class adapterType)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdapterFactory

getAdapterList

public java.lang.Class[] getAdapterList()
Specified by:
getAdapterList in interface org.eclipse.core.runtime.IAdapterFactory