pl.edu.agh.cast.resources
Class FileEditorInput
java.lang.Object
pl.edu.agh.cast.resources.FileEditorInput
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IPathEditorInput
- Direct Known Subclasses:
- DiagramEditorInput, ModelEditorInput
public class FileEditorInput
- extends java.lang.Object
- implements org.eclipse.ui.IEditorInput, org.eclipse.ui.IPathEditorInput
- Author:
- fox
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FileEditorInput
public FileEditorInput(org.eclipse.core.resources.IFile file)
getPath
public org.eclipse.core.runtime.IPath getPath()
- Specified by:
getPath
in interface org.eclipse.ui.IPathEditorInput
getFile
public org.eclipse.core.resources.IFile getFile()
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.