com.ibm.di.admin.ui.hooks
Class HooksTreeModel

java.lang.Object
  extended by com.ibm.di.admin.ui.hooks.HooksTreeModel
All Implemented Interfaces:
TreeModel

public class HooksTreeModel
extends Object
implements TreeModel


Field Summary
static Object[] addonlyLoop
           
static String[] addonlyLoop1
           
static Object[] addonlyMode
           
static Object[] branchComponentMode
           
static Object[] callreplyLoop
           
static String[] callreplyLoop1
           
static Object[] callreplyMode
           
static Object[] closeHooks
           
static String[] computeChanges
           
static Object[] defaultHooks
           
static Object[] deleteLoop
           
static String[] deleteLoop1
           
static Object[] deleteMode
           
static String[] deltaDelete
           
static Object[] deltaLoop
           
static Object[] deltaLoop1
           
static Object[] deltaMode
           
static Object[] deltaModify
           
static Object[] functionComponentMode
           
static Object[] functionLoop
           
static String[] functionLoop1
           
 Object[] hooks
           
static Object[] initializeHooks
           
static Object[] initializeHooksIterator
           
static Object[] iteratorLoop
           
static Object[] iteratorLoop1
           
static Object[] iteratorMode
           
static Object[] lookupLoop
           
static String[] lookupLoop1
           
static Object[] lookupMode
           
static Object[] overrideHooks
           
static Object[] replyLoop
           
static String[] replyLoop1
           
static Object[] scriptMode
           
static Object[] serverLoop
           
static Object[] serverMode
           
static String[] updateAdd
           
static Object[] updateLoop
           
static Object[] updateLoop1
           
static Object[] updateMode
           
static Object[] updateModify
           
 
Constructor Summary
HooksTreeModel(String mode)
           
 
Method Summary
 void addTreeModelListener(TreeModelListener l)
           
 void fireTreeDataChanged()
           
 Object getChild(Object parent, int index)
           
 int getChildCount(Object parent)
           
static Object[] getHookTree(int mode)
           
 int getIndexOfChild(Object parent, Object child)
           
static String getInternalName(Object obj)
           
 TreePath getMainPath()
           
static String getName(Object obj)
           
static String getNameHelp(Object obj)
           
static String getOverridingHook(String type, String name, HooksConfig config)
           
 Object getRoot()
           
static boolean hookContained(Object hook, Object obj, boolean traverse)
           
 boolean isLeaf(Object node)
           
 void removeTreeModelListener(TreeModelListener l)
           
 void valueForPathChanged(TreePath path, Object newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hooks

public Object[] hooks

defaultHooks

public static final Object[] defaultHooks

initializeHooks

public static final Object[] initializeHooks

closeHooks

public static final Object[] closeHooks

iteratorLoop1

public static final Object[] iteratorLoop1

iteratorLoop

public static final Object[] iteratorLoop

initializeHooksIterator

public static final Object[] initializeHooksIterator

iteratorMode

public static final Object[] iteratorMode

lookupLoop1

public static final String[] lookupLoop1

lookupLoop

public static final Object[] lookupLoop

lookupMode

public static final Object[] lookupMode

addonlyLoop1

public static final String[] addonlyLoop1

addonlyLoop

public static final Object[] addonlyLoop

addonlyMode

public static final Object[] addonlyMode

deleteLoop1

public static final String[] deleteLoop1

deleteLoop

public static final Object[] deleteLoop

deleteMode

public static final Object[] deleteMode

computeChanges

public static final String[] computeChanges

updateModify

public static final Object[] updateModify

updateAdd

public static final String[] updateAdd

updateLoop1

public static final Object[] updateLoop1

updateLoop

public static final Object[] updateLoop

updateMode

public static final Object[] updateMode

deltaDelete

public static final String[] deltaDelete

deltaModify

public static final Object[] deltaModify

deltaLoop1

public static final Object[] deltaLoop1

deltaLoop

public static final Object[] deltaLoop

deltaMode

public static final Object[] deltaMode

functionLoop1

public static final String[] functionLoop1

functionLoop

public static final Object[] functionLoop

functionComponentMode

public static final Object[] functionComponentMode

branchComponentMode

public static final Object[] branchComponentMode

callreplyLoop1

public static final String[] callreplyLoop1

callreplyLoop

public static final Object[] callreplyLoop

callreplyMode

public static final Object[] callreplyMode

overrideHooks

public static final Object[] overrideHooks

scriptMode

public static final Object[] scriptMode

replyLoop1

public static final String[] replyLoop1

replyLoop

public static final Object[] replyLoop

serverLoop

public static final Object[] serverLoop

serverMode

public static final Object[] serverMode
Constructor Detail

HooksTreeModel

public HooksTreeModel(String mode)
Method Detail

getHookTree

public static Object[] getHookTree(int mode)

getMainPath

public TreePath getMainPath()

getName

public static String getName(Object obj)

getInternalName

public static String getInternalName(Object obj)

getNameHelp

public static String getNameHelp(Object obj)

hookContained

public static boolean hookContained(Object hook,
                                    Object obj,
                                    boolean traverse)

getOverridingHook

public static String getOverridingHook(String type,
                                       String name,
                                       HooksConfig config)

getChild

public Object getChild(Object parent,
                       int index)
Specified by:
getChild in interface TreeModel

getChildCount

public int getChildCount(Object parent)
Specified by:
getChildCount in interface TreeModel

getIndexOfChild

public int getIndexOfChild(Object parent,
                           Object child)
Specified by:
getIndexOfChild in interface TreeModel

getRoot

public Object getRoot()
Specified by:
getRoot in interface TreeModel

isLeaf

public boolean isLeaf(Object node)
Specified by:
isLeaf in interface TreeModel

fireTreeDataChanged

public void fireTreeDataChanged()

removeTreeModelListener

public void removeTreeModelListener(TreeModelListener l)
Specified by:
removeTreeModelListener in interface TreeModel

addTreeModelListener

public void addTreeModelListener(TreeModelListener l)
Specified by:
addTreeModelListener in interface TreeModel

valueForPathChanged

public void valueForPathChanged(TreePath path,
                                Object newValue)
Specified by:
valueForPathChanged in interface TreeModel