org.eclipse.mylar.internal.tasks.ui.editors
Class RepositoryTaskEditorInput
java.lang.Object
org.eclipse.mylar.internal.tasks.ui.editors.AbstractTaskEditorInput
org.eclipse.mylar.internal.tasks.ui.editors.RepositoryTaskEditorInput
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput
public class RepositoryTaskEditorInput
- extends AbstractTaskEditorInput
- Author:
- Mik Kersten, Rob Elves
Methods inherited from class org.eclipse.mylar.internal.tasks.ui.editors.AbstractTaskEditorInput |
exists, getAdapter, getImageDescriptor, getOldTaskData, getPersistable, getRepository, getTaskData, getToolTipText, setNewTaskData, setOldTaskData, setToolTipText |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
id
protected java.lang.String id
url
protected java.lang.String url
repositoryTask
protected AbstractRepositoryTask repositoryTask
RepositoryTaskEditorInput
public RepositoryTaskEditorInput(TaskRepository repository,
java.lang.String handle,
java.lang.String taskUrl)
getRepositoryTask
public AbstractRepositoryTask getRepositoryTask()
getName
public java.lang.String getName()
getId
public java.lang.String getId()
- Returns:
- The id of the bug for this editor input.
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in class AbstractTaskEditorInput
- Returns:
true
if the argument is an editor input on the
same bug.
getUrl
public java.lang.String getUrl()
- Returns:
- url for the repositoryTask/hit. Used by MylarTaskEditor when
opening browser