org.eclipse.mylar.internal.resources
Class ResourceStructureBridge
java.lang.Object
org.eclipse.mylar.context.core.AbstractContextStructureBridge
org.eclipse.mylar.internal.resources.ResourceStructureBridge
public class ResourceStructureBridge
- extends org.eclipse.mylar.context.core.AbstractContextStructureBridge
- Author:
- Mik Kersten
Fields inherited from class org.eclipse.mylar.context.core.AbstractContextStructureBridge |
DOS_0_LABEL, DOS_1_LABEL, DOS_2_LABEL, DOS_3_LABEL, DOS_4_LABEL, DOS_5_LABEL, parentContentType |
Methods inherited from class org.eclipse.mylar.context.core.AbstractContextStructureBridge |
getAdaptedParent, getParentContentType, setParentContentType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTENT_TYPE
public static final java.lang.String CONTENT_TYPE
- See Also:
- Constant Field Values
ResourceStructureBridge
public ResourceStructureBridge()
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
getParentHandle
public java.lang.String getParentHandle(java.lang.String handle)
- Specified by:
getParentHandle
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
getChildHandles
public java.util.List<java.lang.String> getChildHandles(java.lang.String handle)
- Specified by:
getChildHandles
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
getHandleIdentifier
public java.lang.String getHandleIdentifier(java.lang.Object object)
- Uses java-style path for projects.
- Specified by:
getHandleIdentifier
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
getObjectForHandle
public java.lang.Object getObjectForHandle(java.lang.String handle)
- Specified by:
getObjectForHandle
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
getName
public java.lang.String getName(java.lang.Object object)
- Specified by:
getName
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
canBeLandmark
public boolean canBeLandmark(java.lang.String handle)
- Specified by:
canBeLandmark
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
acceptsObject
public boolean acceptsObject(java.lang.Object object)
- Specified by:
acceptsObject
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
canFilter
public boolean canFilter(java.lang.Object element)
- Specified by:
canFilter
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
isDocument
public boolean isDocument(java.lang.String handle)
- Specified by:
isDocument
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
getHandleForOffsetInObject
public java.lang.String getHandleForOffsetInObject(java.lang.Object resource,
int offset)
- Specified by:
getHandleForOffsetInObject
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
getContentType
public java.lang.String getContentType(java.lang.String elementHandle)
- Specified by:
getContentType
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
getRelationshipProviders
public java.util.List<org.eclipse.mylar.context.core.AbstractRelationProvider> getRelationshipProviders()
- These methods aren't needed since there is no generic active search
- Specified by:
getRelationshipProviders
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge
getDegreesOfSeparation
public java.util.List<org.eclipse.mylar.context.core.IDegreeOfSeparation> getDegreesOfSeparation()
- Specified by:
getDegreesOfSeparation
in class org.eclipse.mylar.context.core.AbstractContextStructureBridge