metricsOverlay.views
Class ActiveMappingView

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 metricsOverlay.views.ActiveMappingView
All Implemented Interfaces:
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 ActiveMappingView
extends org.eclipse.ui.part.ViewPart

This is the main class for providing the overlay view.

Version:
23/8/2009
Author:
Matthew Harward

Field Summary
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
ActiveMappingView()
          Default constructor
 
Method Summary
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
          Default initialisation
 void dispose()
           
 java.util.List<java.lang.String> getColumnNames()
          Return the column names in a collection
 org.eclipse.swt.widgets.Control getControl()
          Return the parent composite
 org.eclipse.jface.viewers.ISelection getSelection()
           
 ActiveMappingList getTaskList()
          Return the ExampleTaskList
 void setFocus()
           
 void updateModel()
           
 
Methods inherited from class org.eclipse.ui.part.ViewPart
getViewSite, init, init, saveState, setInitializationData
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

ActiveMappingView

public ActiveMappingView()
Default constructor

Method Detail

createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite parent)
Default initialisation

Specified by:
createPartControl in interface org.eclipse.ui.IWorkbenchPart
Specified by:
createPartControl in class org.eclipse.ui.part.WorkbenchPart

getTaskList

public ActiveMappingList getTaskList()
Return the ExampleTaskList


getSelection

public org.eclipse.jface.viewers.ISelection getSelection()
Returns:
currently selected item

getColumnNames

public java.util.List<java.lang.String> getColumnNames()
Return the column names in a collection

Returns:
List containing column names

getControl

public org.eclipse.swt.widgets.Control getControl()
Return the parent composite


setFocus

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

dispose

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

updateModel

public void updateModel()