org.eclipse.mylar.internal.tasks.ui.editors
Class RepositoryAttachmentEditorInput

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.mylar.internal.tasks.ui.editors.RepositoryAttachmentEditorInput
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IStorageEditorInput

public class RepositoryAttachmentEditorInput
extends org.eclipse.core.runtime.PlatformObject
implements org.eclipse.ui.IStorageEditorInput

Author:
Jeff Pound

Nested Class Summary
(package private)  class RepositoryAttachmentEditorInput.RepositoryAttachmentStorage
           
 
Field Summary
private  RepositoryAttachment attachment
           
private  TaskRepository repository
           
private  RepositoryAttachmentEditorInput.RepositoryAttachmentStorage storage
           
 
Constructor Summary
RepositoryAttachmentEditorInput(TaskRepository repository, RepositoryAttachment att)
           
 
Method Summary
 boolean exists()
           
 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 org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

attachment

private RepositoryAttachment attachment

storage

private RepositoryAttachmentEditorInput.RepositoryAttachmentStorage storage

repository

private TaskRepository repository
Constructor Detail

RepositoryAttachmentEditorInput

public RepositoryAttachmentEditorInput(TaskRepository repository,
                                       RepositoryAttachment att)
Method Detail

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

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