org.gudy.azureus2.ui.swt.views
Class ConfigView

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.views.ConfigView
All Implemented Interfaces:
UISWTViewEventListener

public class ConfigView
extends java.lang.Object
implements UISWTViewEventListener


Field Summary
static java.lang.String sSectionPrefix
           
static java.lang.String VIEW_ID
           
 
Constructor Summary
ConfigView()
           
 
Method Summary
 org.eclipse.swt.widgets.Composite createConfigSection(org.eclipse.swt.widgets.TreeItem treeItemParent, java.lang.String sNameID, int position, boolean bPrefix)
           
 boolean eventOccurred(UISWTViewEvent event)
          Triggers when an even listed in UISWTViewEvent occurs
protected  void filterTree(java.lang.String text)
           
protected  void filterTree(org.eclipse.swt.widgets.TreeItem[] items, java.lang.String text, java.util.ArrayList<org.eclipse.swt.widgets.TreeItem> foundItems)
           
 org.eclipse.swt.widgets.TreeItem findTreeItem(java.lang.String ID)
           
 void save()
           
 boolean selectSection(java.lang.String id, boolean focus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_ID

public static final java.lang.String VIEW_ID
See Also:
Constant Field Values

sSectionPrefix

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

ConfigView

public ConfigView()
Method Detail

filterTree

protected void filterTree(java.lang.String text)
Parameters:
text -

filterTree

protected void filterTree(org.eclipse.swt.widgets.TreeItem[] items,
                          java.lang.String text,
                          java.util.ArrayList<org.eclipse.swt.widgets.TreeItem> foundItems)

createConfigSection

public org.eclipse.swt.widgets.Composite createConfigSection(org.eclipse.swt.widgets.TreeItem treeItemParent,
                                                             java.lang.String sNameID,
                                                             int position,
                                                             boolean bPrefix)

findTreeItem

public org.eclipse.swt.widgets.TreeItem findTreeItem(java.lang.String ID)

selectSection

public boolean selectSection(java.lang.String id,
                             boolean focus)

save

public void save()

eventOccurred

public boolean eventOccurred(UISWTViewEvent event)
Description copied from interface: UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs

Specified by:
eventOccurred in interface UISWTViewEventListener
Parameters:
event - event that occurred
Returns:
meaning dependent upon event type