org.eclipse.mylar.internal.tasks.ui.editors
Interface IRepositoryTaskSelection

All Superinterfaces:
org.eclipse.jface.viewers.ISelection
All Known Implementing Classes:
RepositoryTaskOutlineNode, RepositoryTaskSelection

public interface IRepositoryTaskSelection
extends org.eclipse.jface.viewers.ISelection


Method Summary
 java.lang.String getBugSummary()
           
 TaskComment getComment()
           
 java.lang.String getContents()
           
 java.lang.String getId()
           
 java.lang.String getServer()
           
 boolean hasComment()
           
 boolean isCommentHeader()
           
 boolean isDescription()
           
 void setComment(TaskComment taskComment)
          Sets the Comment object for this selection.
 void setContents(java.lang.String contents)
          Sets the contents of the selection.
 void setId(java.lang.String id)
          Sets the id of the Bugzilla object that the selection was on.
 void setServer(java.lang.String server)
          Sets the server of the Bugzilla object that the selection was on.
 
Methods inherited from interface org.eclipse.jface.viewers.ISelection
isEmpty
 

Method Detail

hasComment

boolean hasComment()
Returns:
true if a comment was selected.

getComment

TaskComment getComment()
Returns:
the Comment object for this selection, or null if a comment was not selected.

setComment

void setComment(TaskComment taskComment)
Sets the Comment object for this selection. If a comment was not selected, then this should be null.

Parameters:
taskComment - The selection's comment, or null if not applicable.

getContents

java.lang.String getContents()
Returns:
The contents of the selection. This can be null.

setContents

void setContents(java.lang.String contents)
Sets the contents of the selection.

Parameters:
contents - The selection.

getId

java.lang.String getId()
Returns:
The id of the Bugzilla object that the selection was on.

setId

void setId(java.lang.String id)
Sets the id of the Bugzilla object that the selection was on.

Parameters:
id - The id of the bug.

getServer

java.lang.String getServer()
Returns:
The server of the Bugzilla object that the selection was on, or null if no server is supplied.

setServer

void setServer(java.lang.String server)
Sets the server of the Bugzilla object that the selection was on.

Parameters:
server - The server of the bug.

isCommentHeader

boolean isCommentHeader()

isDescription

boolean isDescription()

getBugSummary

java.lang.String getBugSummary()