Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.part
Class FileInPlaceEditorInput

java.lang.Object
  extended by 

org.eclipse.core.runtime.PlatformObject
      extended by 

org.eclipse.ui.part.FileEditorInput
          extended by 
org.eclipse.ui.part.FileInPlaceEditorInput
All Implemented Interfaces:
IAdaptable, IEditorInput, IFileEditorInput, IInPlaceEditorInput, IPathEditorInput, IPersistable, IPersistableElement, IStorageEditorInput, IURIEditorInput

public class FileInPlaceEditorInput
extends FileEditorInput
implements 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
Restriction:
This class is not intended to be subclassed by clients.

Constructor Summary
FileInPlaceEditorInput ( IFile file)
          Creates an in-place editor input based on a file resource.
 
Method Summary
 void setInPlaceEditor ( 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, getURI, hashCode, isLocalFile, saveState, toString
 
Methods inherited from class java.lang. Object
clone, finalize, getClass, notify, notifyAll, 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
 

Constructor Detail

FileInPlaceEditorInput

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

Parameters:
file - the file resource
Method Detail

setInPlaceEditor

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

Specified by:
setInPlaceEditor in interface IInPlaceEditorInput
Parameters:
editor - the in-place editor associated with this input or null to disassociate.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire