de.miethxml.toolkit.setup
Class ApplicationSetup

java.lang.Object
  extended byde.miethxml.toolkit.setup.ApplicationSetup
All Implemented Interfaces:
org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.service.Serviceable, javax.swing.tree.TreeModel

public class ApplicationSetup
extends java.lang.Object
implements javax.swing.tree.TreeModel, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Initializable

All GUIConfiurable componets will automatic registrate here from the ApplicatioContainer.

Author:
Simon Mieth

Field Summary
static java.lang.String ROLE
           
 
Constructor Summary
ApplicationSetup()
           
 
Method Summary
 void addGuiConfigurable(java.lang.String key, GuiConfigurable config)
           
 void addSetupProcessListener(SetupProcessListener l)
           
 void addTreeModelListener(javax.swing.event.TreeModelListener l)
           
 void disposeComponent(org.apache.avalon.framework.service.ServiceManager newParam)
           
 java.lang.Object getChild(java.lang.Object parent, int index)
           
 int getChildCount(java.lang.Object parent)
           
 int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
           
 java.lang.Object getRoot()
           
 void initialize()
           
 boolean isLeaf(java.lang.Object obj)
           
 void removeSetupProcessListener(SetupProcessListener l)
           
 void removeTreeModelListener(javax.swing.event.TreeModelListener l)
           
 void service(org.apache.avalon.framework.service.ServiceManager manager)
           
 void setupNodes()
           
 void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE

public static final java.lang.String ROLE
Constructor Detail

ApplicationSetup

public ApplicationSetup()
Method Detail

getRoot

public java.lang.Object getRoot()
Specified by:
getRoot in interface javax.swing.tree.TreeModel

getChildCount

public int getChildCount(java.lang.Object parent)
Specified by:
getChildCount in interface javax.swing.tree.TreeModel

isLeaf

public boolean isLeaf(java.lang.Object obj)
Specified by:
isLeaf in interface javax.swing.tree.TreeModel

addTreeModelListener

public void addTreeModelListener(javax.swing.event.TreeModelListener l)
Specified by:
addTreeModelListener in interface javax.swing.tree.TreeModel

removeTreeModelListener

public void removeTreeModelListener(javax.swing.event.TreeModelListener l)
Specified by:
removeTreeModelListener in interface javax.swing.tree.TreeModel

getChild

public java.lang.Object getChild(java.lang.Object parent,
                                 int index)
Specified by:
getChild in interface javax.swing.tree.TreeModel

getIndexOfChild

public int getIndexOfChild(java.lang.Object parent,
                           java.lang.Object child)
Specified by:
getIndexOfChild in interface javax.swing.tree.TreeModel

valueForPathChanged

public void valueForPathChanged(javax.swing.tree.TreePath path,
                                java.lang.Object newValue)
Specified by:
valueForPathChanged in interface javax.swing.tree.TreeModel

initialize

public void initialize()
Specified by:
initialize in interface org.apache.avalon.framework.activity.Initializable

disposeComponent

public void disposeComponent(org.apache.avalon.framework.service.ServiceManager newParam)

service

public void service(org.apache.avalon.framework.service.ServiceManager manager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException

addGuiConfigurable

public void addGuiConfigurable(java.lang.String key,
                               GuiConfigurable config)

setupNodes

public void setupNodes()

addSetupProcessListener

public void addSetupProcessListener(SetupProcessListener l)

removeSetupProcessListener

public void removeSetupProcessListener(SetupProcessListener l)