Eclipse Platform
Release 3.3

org.eclipse.core.filebuffers
Class LocationKind

java.lang.Object
  extended byorg.eclipse.core.filebuffers.LocationKind

public final class LocationKind
extends Object

Type-safe enum of the available location kinds.

Since:
3.3

Field Summary
static LocationKind IFILE
          The corresponding argument is the full path of an IFile.
static LocationKind LOCATION
          The corresponding argument is a location in a file system.
static LocationKind NORMALIZE
          Tells to normalize the corresponding argument according to FileBuffers.normalizeLocation(IPath).
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOCATION

public static final LocationKind LOCATION
The corresponding argument is a location in a file system.

Note: File buffers that are connected using a file store will not be found.

See Also:
IFileBufferManager.connectFileStore(org.eclipse.core.filesystem.IFileStore, org.eclipse.core.runtime.IProgressMonitor)

IFILE

public static final LocationKind IFILE
The corresponding argument is the full path of an IFile.

See Also:
IFile.getFullPath()

NORMALIZE

public static final LocationKind NORMALIZE
Tells to normalize the corresponding argument according to FileBuffers.normalizeLocation(IPath).

Note:: If the normalized path is not in the workspace then a file buffer that might be connected using a file store will not be found.

See Also:
IFileBufferManager.connectFileStore(org.eclipse.core.filesystem.IFileStore, org.eclipse.core.runtime.IProgressMonitor)
Method Detail

toString

public String toString()

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.