Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.ui.part
Class FileInPlaceEditorInput  view FileInPlaceEditorInput download FileInPlaceEditorInput.java

java.lang.Object
  extended byorg.eclipse.ui.part.FileEditorInput
      extended byorg.eclipse.ui.part.FileInPlaceEditorInput
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IFileEditorInput, org.eclipse.ui.IInPlaceEditorInput, org.eclipse.ui.IPathEditorInput, org.eclipse.ui.IPersistableElement, org.eclipse.ui.IStorageEditorInput

public class FileInPlaceEditorInput
extends FileEditorInput
implements org.eclipse.ui.IInPlaceEditorInput

Adapter for making a file resource a suitable input for an in-place editor.

This class may be instantiated; it is not intended to be subclassed.

Since:
3.0

Field Summary
(package private)  org.eclipse.ui.IInPlaceEditor embeddedEditor
           
private  org.eclipse.core.resources.IResourceChangeListener resourceListener
          A resource listener to update the input and in-place editor if the input's file resource changes.
 
Fields inherited from class org.eclipse.ui.part.FileEditorInput
 
Constructor Summary
FileInPlaceEditorInput(org.eclipse.core.resources.IFile file)
          Creates an in-place editor input based on a file resource.
 
Method Summary
 void setInPlaceEditor(org.eclipse.ui.IInPlaceEditor editor)
          Sets the in-place editor this input is associated with.
 
Methods inherited from class org.eclipse.ui.part.FileEditorInput
equals, exists, getAdapter, getFactoryId, getFile, getImageDescriptor, getName, getPath, getPersistable, getStorage, getToolTipText, hashCode, saveState
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IPathEditorInput
getPath
 
Methods inherited from interface org.eclipse.ui.IEditorInput
exists, getImageDescriptor, getName, getPersistable, getToolTipText
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

embeddedEditor

org.eclipse.ui.IInPlaceEditor embeddedEditor

resourceListener

private org.eclipse.core.resources.IResourceChangeListener resourceListener
A resource listener to update the input and in-place editor if the input's file resource changes.

Constructor Detail

FileInPlaceEditorInput

public FileInPlaceEditorInput(org.eclipse.core.resources.IFile file)
Creates an in-place editor input based on a file resource.

Method Detail

setInPlaceEditor

public void setInPlaceEditor(org.eclipse.ui.IInPlaceEditor editor)
Description copied from interface: org.eclipse.ui.IInPlaceEditorInput
Sets the in-place editor this input is associated with.

Specified by:
setInPlaceEditor in interface org.eclipse.ui.IInPlaceEditorInput