com.pvx.ooadide.editors
Class HandledInput

java.lang.Object
  extended by com.pvx.ooadide.editors.HandledInput
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IFileEditorInput, org.eclipse.ui.IStorageEditorInput

public class HandledInput
extends java.lang.Object
implements org.eclipse.ui.IFileEditorInput


Constructor Summary
HandledInput(org.eclipse.ui.IFileEditorInput editorInput)
           
 
Method Summary
 boolean exists()
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 org.eclipse.core.resources.IFile getFile()
           
 org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
           
 java.lang.String getName()
           
 org.eclipse.ui.IPersistableElement getPersistable()
           
 org.eclipse.core.resources.IStorage getStorage()
           
 java.lang.String getToolTipText()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandledInput

public HandledInput(org.eclipse.ui.IFileEditorInput editorInput)
Method Detail

exists

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

getImageDescriptor

public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
Specified by:
getImageDescriptor in interface org.eclipse.ui.IEditorInput

getName

public java.lang.String getName()
Specified by:
getName in interface org.eclipse.ui.IEditorInput

getPersistable

public org.eclipse.ui.IPersistableElement getPersistable()
Specified by:
getPersistable in interface org.eclipse.ui.IEditorInput

getToolTipText

public java.lang.String getToolTipText()
Specified by:
getToolTipText in interface org.eclipse.ui.IEditorInput

getAdapter

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

getFile

public org.eclipse.core.resources.IFile getFile()
Specified by:
getFile in interface org.eclipse.ui.IFileEditorInput

getStorage

public org.eclipse.core.resources.IStorage getStorage()
                                               throws org.eclipse.core.runtime.CoreException
Specified by:
getStorage in interface org.eclipse.ui.IStorageEditorInput
Throws:
org.eclipse.core.runtime.CoreException