Classes | Public Member Functions | Static Public Attributes

alma.acs.eventbrowser.views.ChannelTreeView Class Reference

Inherits org::eclipse::ui::part::ViewPart.

List of all members.

Classes

class  NameSorter

Public Member Functions

 ChannelTreeView ()
void createPartControl (Composite parent)
TreeViewer getViewer ()
void setFocus ()
void startMonitoring ()
void dispose ()

Static Public Attributes

static final String ID = "alma.acs.eventbrowser.views.channeltree"

Detailed Description

This sample class demonstrates how to plug-in a new workbench view. The view shows data obtained from the model. The sample creates a dummy model on the fly, but a real implementation would connect to the model available either in this or another plug-in (e.g. the workspace). The view is connected to the model using a content provider.

The view uses a label provider to define how model objects should be presented in the view. Each view can present the same model objects using different labels and icons, if needed. Alternatively, a single label provider can be shared between views in order to ensure that objects of the same type are presented in the same way everywhere.


Constructor & Destructor Documentation

alma.acs.eventbrowser.views.ChannelTreeView.ChannelTreeView (  ) 

The constructor.


Member Function Documentation

void alma.acs.eventbrowser.views.ChannelTreeView.createPartControl ( Composite  parent  ) 

This is a callback that will allow us to create the viewer and initialize it.

References alma.acs.eventbrowser.model.EventModel.getInstance(), and alma.acs.eventbrowser.views.ChannelTreeView.startMonitoring().

void alma.acs.eventbrowser.views.ChannelTreeView.dispose (  ) 
TreeViewer alma.acs.eventbrowser.views.ChannelTreeView.getViewer (  ) 
void alma.acs.eventbrowser.views.ChannelTreeView.setFocus (  ) 

Passing the focus request to the viewer's control.

void alma.acs.eventbrowser.views.ChannelTreeView.startMonitoring (  ) 

Member Data Documentation

final String alma.acs.eventbrowser.views.ChannelTreeView.ID = "alma.acs.eventbrowser.views.channeltree" [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties