IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.rcp.navigator.ui.view
Class NavigatorView

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.ViewPart
              extended by com.ibm.btt.rcp.navigator.ui.view.NavigatorView
All Implemented Interfaces:
INavigatorView, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public class NavigatorView
extends org.eclipse.ui.part.ViewPart
implements INavigatorView

Navigator view class


Field Summary
static java.lang.String VIEW_ID
          Navigator View ID
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
NavigatorView()
          Navigator constructor
 
Method Summary
 void addNavigationItem(java.lang.String id)
          Add navigation item to this viewer
 void collapseItems()
          Collapse all navigation items
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
           
 void expandItems()
          Expand all navigation items
 java.util.Map<java.lang.String,INavigatable> getInput()
          Get viewer input to display
 org.eclipse.swt.widgets.Text getLaunchField()
          Get launch field
 org.eclipse.jface.viewers.TreeViewer getTreeViewer()
          Get navigation tree viewer
protected  void initInput()
          Init the navigator view contents model.
 void refreshAndExpandAll()
          Refresh the tree viewer and expand all tree nodes
 void removeNavigationItem(java.lang.String id)
          Remove navigation item from this viewer
 void resetNavigateItems(java.lang.String[] ids)
          Reset navigation items which to display
 void setFocus()
           
 void setInput(java.util.Map<java.lang.String,INavigatable> input)
          Set viewer input to display
 
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

VIEW_ID

public static final java.lang.String VIEW_ID
Navigator View ID

See Also:
Constant Field Values
Constructor Detail

NavigatorView

public NavigatorView()
Navigator constructor

Method Detail

initInput

protected void initInput()
Init the navigator view contents model.


createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createPartControl in interface org.eclipse.ui.IWorkbenchPart
Specified by:
createPartControl in class org.eclipse.ui.part.WorkbenchPart

resetNavigateItems

public void resetNavigateItems(java.lang.String[] ids)
Reset navigation items which to display

Specified by:
resetNavigateItems in interface INavigatorView
Parameters:
ids -

setInput

public void setInput(java.util.Map<java.lang.String,INavigatable> input)
Set viewer input to display

Parameters:
input -

getInput

public java.util.Map<java.lang.String,INavigatable> getInput()
Get viewer input to display

Parameters:
input -

refreshAndExpandAll

public void refreshAndExpandAll()
Refresh the tree viewer and expand all tree nodes


setFocus

public void setFocus()
Specified by:
setFocus in interface org.eclipse.ui.IWorkbenchPart
Specified by:
setFocus in class org.eclipse.ui.part.WorkbenchPart

addNavigationItem

public void addNavigationItem(java.lang.String id)
Description copied from interface: INavigatorView
Add navigation item to this viewer

Specified by:
addNavigationItem in interface INavigatorView

collapseItems

public void collapseItems()
Description copied from interface: INavigatorView
Collapse all navigation items

Specified by:
collapseItems in interface INavigatorView

expandItems

public void expandItems()
Description copied from interface: INavigatorView
Expand all navigation items

Specified by:
expandItems in interface INavigatorView

removeNavigationItem

public void removeNavigationItem(java.lang.String id)
Description copied from interface: INavigatorView
Remove navigation item from this viewer

Specified by:
removeNavigationItem in interface INavigatorView

getTreeViewer

public org.eclipse.jface.viewers.TreeViewer getTreeViewer()
Get navigation tree viewer

Returns:

getLaunchField

public org.eclipse.swt.widgets.Text getLaunchField()
Get launch field

Returns:

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009