public final class AccessorAdapter extends Object implements org.eclipse.compare.ITypedElement, org.eclipse.compare.IStreamContentAccessor
| Modifier and Type | Method and Description |
|---|---|
static AccessorAdapter |
adapt(Object target) |
InputStream |
getContents() |
org.eclipse.swt.graphics.Image |
getImage() |
String |
getName() |
Object |
getTarget() |
String |
getType() |
public Object getTarget()
public static AccessorAdapter adapt(Object target)
public InputStream getContents() throws org.eclipse.core.runtime.CoreException
getContents in interface org.eclipse.compare.IStreamContentAccessororg.eclipse.core.runtime.CoreExceptionIStreamContentAccessor.getContents()public String getName()
getName in interface org.eclipse.compare.ITypedElementITypedElement.getName()public org.eclipse.swt.graphics.Image getImage()
getImage in interface org.eclipse.compare.ITypedElementITypedElement.getImage()public String getType()
getType in interface org.eclipse.compare.ITypedElementITypedElement.getType()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.