com.aptana.ide.debug.internal.ui
Class LocalFileStorageEditorInput

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by com.aptana.ide.debug.internal.ui.StorageEditorInput
          extended by com.aptana.ide.debug.internal.ui.LocalFileStorageEditorInput
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.editors.text.ILocationProvider, org.eclipse.ui.IEditorInput, org.eclipse.ui.IPathEditorInput, org.eclipse.ui.IStorageEditorInput

public class LocalFileStorageEditorInput
extends StorageEditorInput
implements org.eclipse.ui.IPathEditorInput, org.eclipse.ui.editors.text.ILocationProvider

Author:
Max Stepanov

Constructor Summary
LocalFileStorageEditorInput(org.eclipse.core.resources.IStorage storage)
          Constructs an editor input for the given storage
 
Method Summary
 boolean exists()
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 org.eclipse.core.runtime.IPath getPath()
           
 org.eclipse.core.runtime.IPath getPath(java.lang.Object element)
           
 
Methods inherited from class com.aptana.ide.debug.internal.ui.StorageEditorInput
equals, getImageDescriptor, getName, getPersistable, getStorage, getToolTipText, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IEditorInput
getImageDescriptor, getName, getPersistable, getToolTipText
 

Constructor Detail

LocalFileStorageEditorInput

public LocalFileStorageEditorInput(org.eclipse.core.resources.IStorage storage)
Constructs an editor input for the given storage

Parameters:
storage -
Method Detail

exists

public boolean exists()
Specified by:
exists in interface org.eclipse.ui.IEditorInput
See Also:
IEditorInput.exists()

getPath

public org.eclipse.core.runtime.IPath getPath()
Specified by:
getPath in interface org.eclipse.ui.IPathEditorInput
See Also:
IPathEditorInput.getPath()

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable
Overrides:
getAdapter in class StorageEditorInput
See Also:
IAdaptable.getAdapter(java.lang.Class)

getPath

public org.eclipse.core.runtime.IPath getPath(java.lang.Object element)
Specified by:
getPath in interface org.eclipse.ui.editors.text.ILocationProvider
See Also:
ILocationProvider.getPath(java.lang.Object)