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 Object
implements UISWTViewEventListener


Field Summary
static String sSectionPrefix
           
static String VIEW_ID
           
 
Constructor Summary
ConfigView()
           
 
Method Summary
 org.eclipse.swt.widgets.Composite createConfigSection(org.eclipse.swt.widgets.TreeItem treeItemParent, String sNameID, int position, boolean bPrefix)
           
 boolean eventOccurred(UISWTViewEvent event)
          Triggers when an even listed in UISWTViewEvent occurs
protected  void filterTree(String text)
           
protected  void filterTree(org.eclipse.swt.widgets.TreeItem[] items, String text, ArrayList<org.eclipse.swt.widgets.TreeItem> foundItems)
           
 org.eclipse.swt.widgets.TreeItem findTreeItem(String ID)
           
 void save()
           
 boolean selectSection(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 String VIEW_ID
See Also:
Constant Field Values

sSectionPrefix

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

ConfigView

public ConfigView()
Method Detail

filterTree

protected void filterTree(String text)
Parameters:
text -

filterTree

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

createConfigSection

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

findTreeItem

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

selectSection

public boolean selectSection(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