net.sf.zekr.engine.bookmark.ui
Class BookmarkSetForm

java.lang.Object
  extended by net.sf.zekr.engine.bookmark.ui.BookmarkSetForm

public class BookmarkSetForm
extends java.lang.Object

Bookmarks form GUI.

Author:
Mohsen Saboorian

Field Summary
static java.lang.String FORM_ID
           
 
Constructor Summary
BookmarkSetForm(BookmarkSet bookmarkSet, org.eclipse.swt.widgets.Shell parent)
           
BookmarkSetForm(org.eclipse.swt.widgets.Shell parent)
           
 
Method Summary
static void addNew(org.eclipse.swt.widgets.Shell shell, IQuranLocation quranLocation, java.lang.String bookmarkTitle)
          Stand-alone add bookmark.
 org.eclipse.swt.widgets.Shell getShell()
           
protected  boolean hasDescendant(org.eclipse.swt.widgets.TreeItem parent, org.eclipse.swt.widgets.TreeItem child)
           
 void open()
           
 void open(org.eclipse.swt.events.DisposeListener disposeListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORM_ID

public static final java.lang.String FORM_ID
See Also:
Constant Field Values
Constructor Detail

BookmarkSetForm

public BookmarkSetForm(org.eclipse.swt.widgets.Shell parent)

BookmarkSetForm

public BookmarkSetForm(BookmarkSet bookmarkSet,
                       org.eclipse.swt.widgets.Shell parent)
Method Detail

hasDescendant

protected boolean hasDescendant(org.eclipse.swt.widgets.TreeItem parent,
                                org.eclipse.swt.widgets.TreeItem child)

addNew

public static void addNew(org.eclipse.swt.widgets.Shell shell,
                          IQuranLocation quranLocation,
                          java.lang.String bookmarkTitle)
Stand-alone add bookmark.

Parameters:
shell - parent shell
quranLocation - current Quran location to be bookmarked
bookmarkTitle - default bookmark title

open

public void open()

open

public void open(org.eclipse.swt.events.DisposeListener disposeListener)

getShell

public org.eclipse.swt.widgets.Shell getShell()