|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTreeViewer
net.refractions.udig.catalog.ui.CatalogTreeViewer
public class CatalogTreeViewer
Provides Tree view of the Registry.
Supports the following:
To display a message or status please use a Collections.singletonList( "hello world" ).
Constructor Summary | |
---|---|
CatalogTreeViewer(Composite parent)
Construct CatalogTreeViewer . |
|
CatalogTreeViewer(Composite parent,
boolean titles)
Construct CatalogTreeViewer . |
|
CatalogTreeViewer(Composite parent,
int style,
boolean titles)
Construct CatalogTreeViewer . |
Method Summary | |
---|---|
void |
selectionChanged(SelectionChangedEvent event)
|
void |
setMessageBoard(IMessageBoard messageBoard)
Sets the message board that this viewer will display status messages on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CatalogTreeViewer(Composite parent, boolean titles)
CatalogTreeViewer
.
parent
- public CatalogTreeViewer(Composite parent)
CatalogTreeViewer
.
parent
- public CatalogTreeViewer(Composite parent, int style, boolean titles)
CatalogTreeViewer
.
You will need to set your input:
CatalogTreeViewer viewer = new CatalogTreeViewer(parent, SWT.DEFAULT);
viewer.setInput(CatalogPlugin.getDefault().getLocalCatalog());
parent
- Parent componentstyle
- The other constructor uses SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDERMethod Detail |
---|
public void selectionChanged(SelectionChangedEvent event)
public void setMessageBoard(IMessageBoard messageBoard)
messageBoard
- StatusLineMessageBoardAdapter
,
IResolve#getStatus()
,
IResolve#getMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |