| net.refractions.udig.catalog.ui.CatalogTreeViewer
CatalogTreeViewer | public class CatalogTreeViewer extends TreeViewer implements ISelectionChangedListener(Code) | | Provides Tree view of the Registry.
Supports the following:
- List
- IService
- IGeoReference
- ICatalog
- String
To display a message or status please use a Collections.singletonList( "hello world" ).
author: jeichar since: 0.3 |
Constructor Summary | |
public | CatalogTreeViewer(Composite parent, boolean titles) Construct CatalogTreeViewer . | public | CatalogTreeViewer(Composite parent) Construct CatalogTreeViewer . | public | CatalogTreeViewer(Composite parent, int style, boolean titles) Construct CatalogTreeViewer . |
CatalogTreeViewer | public CatalogTreeViewer(Composite parent, boolean titles)(Code) | | Construct CatalogTreeViewer .
Parameters: parent - |
CatalogTreeViewer | public CatalogTreeViewer(Composite parent)(Code) | | Construct CatalogTreeViewer .
Parameters: parent - |
CatalogTreeViewer | public CatalogTreeViewer(Composite parent, int style, boolean titles)(Code) | | Construct CatalogTreeViewer .
You will need to set your input:
CatalogTreeViewer viewer = new CatalogTreeViewer(parent, SWT.DEFAULT);
viewer.setInput(CatalogPlugin.getDefault().getLocalCatalog());
Parameters: parent - Parent component Parameters: style - The other constructor uses SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER |
selectionChanged | public void selectionChanged(SelectionChangedEvent event)(Code) | | |
|
|