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

java.lang.Object
  extended by org.eclipse.mylar.internal.tasks.ui.editors.ContentOutlineTools

public class ContentOutlineTools
extends java.lang.Object

Author:
Rob Elves, Mik Kersten

Field Summary
static java.lang.String OFFLINE_SERVER_DEFAULT
          The default string used for locally created bugs.
 
Constructor Summary
ContentOutlineTools()
           
 
Method Summary
static java.lang.String getHandle(IRepositoryTaskSelection taskSelection)
          Returns a unique handle for the bugzilla selection.
static java.lang.String getName(IRepositoryTaskSelection taskSelection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OFFLINE_SERVER_DEFAULT

public static final java.lang.String OFFLINE_SERVER_DEFAULT
The default string used for locally created bugs.

See Also:
Constant Field Values
Constructor Detail

ContentOutlineTools

public ContentOutlineTools()
Method Detail

getHandle

public static java.lang.String getHandle(IRepositoryTaskSelection taskSelection)
Returns a unique handle for the bugzilla selection. Contains the bug id, the bug server, and (if applicable) the comment number.

Parameters:
taskSelection - The bugzilla selection.
Returns:
The handle for the bugzilla selection.

getName

public static java.lang.String getName(IRepositoryTaskSelection taskSelection)