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
Interface IStorageEditorInput

All Superinterfaces:
IAdaptable, IEditorInput
All Known Subinterfaces:
IFileEditorInput
All Known Implementing Classes:
FileEditorInput, FileInPlaceEditorInput

public interface IStorageEditorInput
extends IEditorInput

Interface for a IStorage input to an editor.

Clients implementing this editor input interface should override Object.equals(Object) to answer true for two inputs that are the same. The IWorbenchPage.openEditor APIs are dependent on this to find an editor with the same input.

Clients should implement this interface to declare new types of IStorage editor inputs.

File-oriented editors should support this as a valid input type, and display its content for viewing (but not allow modification). Within the editor, the "save" and "save as" operations should create a new file resource within the workspace.

All editor inputs must implement the IAdaptable interface; extensions are managed by the platform's adapter manager.


Method Summary
  IStorage getStorage ()
          Returns the underlying IStorage object.
 
Methods inherited from interface org.eclipse.ui. IEditorInput
exists, getImageDescriptor, getName, getPersistable, getToolTipText
 
Methods inherited from interface org.eclipse.core.runtime. IAdaptable
getAdapter
 

Method Detail

getStorage

IStorage getStorage()
                    throws 
CoreException
Returns the underlying IStorage object.

Returns:
an IStorage object.
Throws:
CoreException - if this method fails

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