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.IStreamContentAccessor
org.eclipse.core.runtime.CoreException
IStreamContentAccessor.getContents()
public String getName()
getName
in interface org.eclipse.compare.ITypedElement
ITypedElement.getName()
public org.eclipse.swt.graphics.Image getImage()
getImage
in interface org.eclipse.compare.ITypedElement
ITypedElement.getImage()
public String getType()
getType
in interface org.eclipse.compare.ITypedElement
ITypedElement.getType()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.