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

  




 

 

Runtime

org.eclipse.gmf.runtime.common.core.util
Class ObjectAdapter

java.lang.Object
  extended by 
org.eclipse.gmf.runtime.common.core.util.ObjectAdapter
All Implemented Interfaces:
IAdaptable

public class ObjectAdapter
extends java.lang.Object
implements IAdaptable

An adapter that allows for the setting of the object later.


Constructor Summary
ObjectAdapter ()
          Constructor for an ObjectAdapter.
ObjectAdapter (java.util.List list)
          Constructor for an ObjectAdapter.
ObjectAdapter (java.lang.Object object)
          Constructor for an ObjectAdapter.
 
Method Summary
 java.lang.Object getAdapter (java.lang.Class adapter)
           
 void setObject (java.lang.Object theObject)
          Sets the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectAdapter

public ObjectAdapter()
Constructor for an ObjectAdapter.


ObjectAdapter

public ObjectAdapter(java.lang.Object object)
Constructor for an ObjectAdapter.

Parameters:
object - The object that can adapt.

ObjectAdapter

public ObjectAdapter(java.util.List list)
Constructor for an ObjectAdapter.

Parameters:
list - The list to adapt.
Method Detail

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Specified by:
getAdapter in interface IAdaptable

setObject

public void setObject(java.lang.Object theObject)
Sets the object.

Parameters:
theObject - The object to set.

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


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