IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.rcp.navigator.core.impl
Class NavigateFolder

java.lang.Object
  extended by com.ibm.btt.rcp.navigator.core.impl.Navigatable
      extended by com.ibm.btt.rcp.navigator.core.impl.NavigateFolder
All Implemented Interfaces:
INavigatable, INavigateFolder

public class NavigateFolder
extends Navigatable
implements INavigateFolder

NavigateFolder default implementation class


Field Summary
protected  java.util.Map<java.lang.String,INavigatable> navigatables
           
protected  java.util.Map<java.lang.String,INavigatable> registry
           
 
Fields inherited from class com.ibm.btt.rcp.navigator.core.impl.Navigatable
icon, id, index, name, parent
 
Constructor Summary
NavigateFolder()
          NavigateFolder constructor
NavigateFolder(java.util.Map<java.lang.String,INavigatable> registry)
          NavigateFolder constructor
 
Method Summary
 void addNavigatable(INavigatable navigatable)
          NavigateFolder constructor
 boolean equals(java.lang.Object o)
           
 INavigatable getChild(java.lang.String id)
          NavigateFolder constructor
 java.util.Collection<INavigatable> getChildren()
          NavigateFolder constructor
 void initializeFrom(org.eclipse.core.runtime.IConfigurationElement elem)
          Initialize navigation item from extension points
 boolean isAvailable()
          Get if this navigate folder is available in navigator tree.
 boolean isInitial()
          Get if this navigation item/folder is shown at startup
 void removeNavigatable(INavigatable navigatable)
          Remove child for this folder
 void updateConfiguration(org.eclipse.core.runtime.IConfigurationElement element)
          If multiple set for this navigation folder from different plug-ins, update the folder's icon and index, if they have not been set before.
 
Methods inherited from class com.ibm.btt.rcp.navigator.core.impl.Navigatable
getIcon, getId, getIndex, getName, getParent, setIcon, setId, setIndex, setName, setParent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.btt.rcp.navigator.core.INavigatable
getIcon, getId, getIndex, getName, getParent, setIcon, setId, setIndex, setName, setParent
 

Field Detail

navigatables

protected java.util.Map<java.lang.String,INavigatable> navigatables

registry

protected java.util.Map<java.lang.String,INavigatable> registry
Constructor Detail

NavigateFolder

public NavigateFolder()
NavigateFolder constructor


NavigateFolder

public NavigateFolder(java.util.Map<java.lang.String,INavigatable> registry)
NavigateFolder constructor

Parameters:
registry -
Method Detail

addNavigatable

public void addNavigatable(INavigatable navigatable)
NavigateFolder constructor

Specified by:
addNavigatable in interface INavigateFolder

getChildren

public java.util.Collection<INavigatable> getChildren()
NavigateFolder constructor

Specified by:
getChildren in interface INavigateFolder
Returns:

getChild

public INavigatable getChild(java.lang.String id)
NavigateFolder constructor

Specified by:
getChild in interface INavigateFolder
Returns:

isAvailable

public boolean isAvailable()
Get if this navigate folder is available in navigator tree. If all item and folders are not visible under this folder, then the folder is not visible.

Specified by:
isAvailable in interface INavigatable
Returns:

removeNavigatable

public void removeNavigatable(INavigatable navigatable)
Description copied from interface: INavigateFolder
Remove child for this folder

Specified by:
removeNavigatable in interface INavigateFolder

updateConfiguration

public void updateConfiguration(org.eclipse.core.runtime.IConfigurationElement element)
Description copied from interface: INavigateFolder
If multiple set for this navigation folder from different plug-ins, update the folder's icon and index, if they have not been set before.

Specified by:
updateConfiguration in interface INavigateFolder

initializeFrom

public void initializeFrom(org.eclipse.core.runtime.IConfigurationElement elem)
Description copied from interface: INavigatable
Initialize navigation item from extension points

Specified by:
initializeFrom in interface INavigatable
Overrides:
initializeFrom in class Navigatable
Parameters:
elem - extension point definition IConfigurationElement

isInitial

public boolean isInitial()
Description copied from interface: INavigatable
Get if this navigation item/folder is shown at startup

Specified by:
isInitial in interface INavigatable
Returns:
if this navigation item/folder is shown at startup

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009