IAdaptable adaptable= (IAdaptable) element;
IFile file= null;
ITextFileBufferManager manager= FileBuffers.getTextFileBufferManager();
ITextFileBuffer fileBuffer= null;
LocationKind locationKind= null;
file= (IFile)adaptable.getAdapter(IFile.class);
if (file != null) {
IPath location= file.getFullPath();
locationKind= LocationKind.IFILE;