net.sf.zekr.engine.search.ui
Class ManageScopesForm
java.lang.Object
net.sf.zekr.ui.BaseForm
net.sf.zekr.engine.search.ui.ManageScopesForm
- All Implemented Interfaces:
- EventProtocol
public class ManageScopesForm
- extends BaseForm
Constructor Summary |
ManageScopesForm(org.eclipse.swt.widgets.Shell parent,
java.util.List searchScopes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
selectedIndex
protected int selectedIndex
ManageScopesForm
public ManageScopesForm(org.eclipse.swt.widgets.Shell parent,
java.util.List searchScopes)
getSearchScopeList
public java.util.List getSearchScopeList()
getSelectedIndex
public int getSelectedIndex()
- This method should be called after OK button pressed.
- Returns:
- selected item index, or -1 if no item selected.
open
public boolean open()
- Returns:
true
if ok pressed, false
otherwise.
getShell
protected org.eclipse.swt.widgets.Shell getShell()
getDisplay
protected org.eclipse.swt.widgets.Display getDisplay()