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

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

public class CategoryEditorInput
extends java.lang.Object
implements org.eclipse.ui.IEditorInput

Author:
Ken Sueda

Field Summary
private  AbstractTaskContainer category
           
 
Constructor Summary
CategoryEditorInput(AbstractTaskContainer cat)
           
 
Method Summary
 boolean exists()
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 java.lang.String getCategoryName()
           
 org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
           
 java.lang.String getName()
           
 org.eclipse.ui.IPersistableElement getPersistable()
           
 java.lang.String getToolTipText()
           
 java.lang.String getUrl()
           
 void setCategoryName(java.lang.String description)
           
 void setUrl(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

category

private AbstractTaskContainer category
Constructor Detail

CategoryEditorInput

public CategoryEditorInput(AbstractTaskContainer cat)
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

getCategoryName

public java.lang.String getCategoryName()

getUrl

public java.lang.String getUrl()

setCategoryName

public void setCategoryName(java.lang.String description)

setUrl

public void setUrl(java.lang.String url)