de.matthias_burbach.mosaique4eclipse.views
Class MosaiqueTreeViewer

java.lang.Object
  extended byorg.eclipse.jface.viewers.Viewer
      extended byorg.eclipse.jface.viewers.ContentViewer
          extended byorg.eclipse.jface.viewers.StructuredViewer
              extended byorg.eclipse.jface.viewers.AbstractTreeViewer
                  extended byorg.eclipse.jface.viewers.TreeViewer
                      extended byde.matthias_burbach.mosaique4eclipse.views.MosaiqueTreeViewer
All Implemented Interfaces:
org.eclipse.jface.viewers.IInputProvider, org.eclipse.jface.viewers.IInputSelectionProvider, org.eclipse.jface.viewers.IPostSelectionProvider, org.eclipse.jface.viewers.ISelectionProvider

public class MosaiqueTreeViewer
extends org.eclipse.jface.viewers.TreeViewer

Displays the tree of Struts configs, logical pages, Tiles definitions, JSPs etc. within the Mosaique Eclipse view.

Author:
Matthias Burbach

Nested Class Summary
 
Nested classes inherited from class org.eclipse.jface.viewers.StructuredViewer
org.eclipse.jface.viewers.StructuredViewer.ColorAndFontCollectorWithProviders
 
Field Summary
 
Fields inherited from class org.eclipse.jface.viewers.AbstractTreeViewer
ALL_LEVELS
 
Fields inherited from class org.eclipse.jface.viewers.Viewer
WIDGET_DATA_KEY
 
Constructor Summary
MosaiqueTreeViewer(org.eclipse.swt.widgets.Composite parent)
          Intercepts construction to set up the tool tip handler.
 
Method Summary
 java.util.List getExpandedElementPaths()
           
 void setExpandedElementPaths(java.util.List expandedElementPaths)
           
 
Methods inherited from class org.eclipse.jface.viewers.TreeViewer
addTreeListener, cancelEditing, doUpdateItem, editElement, getCellEditors, getCellModifier, getChild, getChildren, getColumnProperties, getControl, getExpanded, getItem, getItemCount, getItemCount, getItems, getLabelProvider, getParentItem, getSelection, getTree, hookControl, isCellEditorActive, isSameSelection, newItem, removeAll, setCellEditors, setCellModifier, setColumnProperties, setExpanded, setLabelProvider, setSelection, showItem
 
Methods inherited from class org.eclipse.jface.viewers.AbstractTreeViewer
add, add, addSelectionListener, addTreeListener, associate, collapseAll, collapseToLevel, createChildren, createTreeItem, disassociate, doFindInputItem, doFindItem, doUpdateItem, expandAll, expandToLevel, expandToLevel, fireTreeCollapsed, fireTreeExpanded, getAutoExpandLevel, getExpandedElements, getExpandedState, getNextItem, getPreviousItem, getRawChildren, getSelectionFromWidget, getVisibleExpandedElements, handleTreeCollapse, handleTreeExpand, indexForElement, inputChanged, internalAdd, internalCollapseToLevel, internalExpand, internalExpandToLevel, internalGetWidgetToSelect, internalRefresh, internalRefresh, internalRefresh, internalRemove, isExpandable, labelProviderChanged, remove, remove, removeTreeListener, reveal, scrollDown, scrollUp, setAutoExpandLevel, setContentProvider, setExpandedElements, setExpandedState, setSelectionToWidget, updateChildren, updatePlus
 
Methods inherited from class org.eclipse.jface.viewers.StructuredViewer
addDoubleClickListener, addDragSupport, addDropSupport, addFilter, addOpenListener, addPostSelectionChangedListener, assertContentProviderType, assertElementsNotNull, buildLabel, equals, filter, findItem, fireDoubleClick, fireOpen, firePostSelectionChanged, getColorAndFontCollector, getComparer, getFilteredChildren, getFilters, getRoot, getSelection, getSortedChildren, getSorter, handleDoubleSelect, handleInvalidSelection, handleLabelProviderChanged, handleOpen, handlePostSelect, handleSelect, hasFilters, internalUpdate, mapElement, needsRefilter, preservingSelection, refresh, refresh, refresh, refresh, refreshItem, removeDoubleClickListener, removeFilter, removeOpenListener, removePostSelectionChangedListener, resetFilters, setComparer, setInput, setSelection, setSelectionToWidget, setSorter, setUseHashlookup, testFindItem, unmapAllElements, unmapElement, unmapElement, update, update, updateItem, updateSelection, usingElementMap
 
Methods inherited from class org.eclipse.jface.viewers.ContentViewer
getContentProvider, getInput, handleDispose
 
Methods inherited from class org.eclipse.jface.viewers.Viewer
addHelpListener, addSelectionChangedListener, fireHelpRequested, fireSelectionChanged, getData, handleHelpRequest, removeHelpListener, removeSelectionChangedListener, setData, setSelection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.viewers.ISelectionProvider
addSelectionChangedListener, removeSelectionChangedListener, setSelection
 

Constructor Detail

MosaiqueTreeViewer

public MosaiqueTreeViewer(org.eclipse.swt.widgets.Composite parent)
Intercepts construction to set up the tool tip handler.

Parameters:
parent - The parent composite.
Method Detail

getExpandedElementPaths

public java.util.List getExpandedElementPaths()
Returns:
The list of paths of all elements being currently expanded in the tree. The paths are of type String.

setExpandedElementPaths

public void setExpandedElementPaths(java.util.List expandedElementPaths)
Parameters:
expandedElementPaths - The list of paths of all elements to be expanded in the tree. The paths must be of type List of elements of type String. The strings are the segments of the path.


Copyright © 2005-2006 . All Rights Reserved.